.bestell-page{--bestell-petrol:#075366;--bestell-border:#ead2ae;--bestell-soft:#fff3df;padding-block:24px 80px}.bestell-page h1,.bestell-page h2,.bestell-page h3{color:var(--bestell-petrol)}.bestell-page h2{font-size:clamp(25px,2.7vw,34px)}.bestell-page p{line-height:1.6}.bestell-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:24px;color:#5c6f72;font-size:13px}.bestell-breadcrumb a{text-decoration:none;color:var(--bestell-petrol)}.bestell-breadcrumb a:hover{text-decoration:underline}.bestell-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center;gap:22px;min-height:470px;padding:48px clamp(30px,5vw,66px);border:1px solid #eac58e;border-radius:22px;background:linear-gradient(110deg,#ffe5be,#fff1da);overflow:hidden}.bestell-badge{display:inline-block;margin-bottom:15px;padding:7px 14px;border-radius:99px;background:white;color:var(--bestell-petrol);font-size:12px;font-weight:800}.bestell-hero h1{max-width:650px;font-size:clamp(36px,4vw,53px);line-height:1.08}.bestell-hero__copy>p{max-width:590px;margin-top:16px;font-size:18px}.bestell-hero__benefits{display:grid;gap:8px;margin:24px 0;padding:0;list-style:none}.bestell-hero__benefits li{display:flex;align-items:center;gap:11px;font-size:14px}.bestell-hero__benefits li:before{content:'✓';display:grid;place-items:center;flex:0 0 22px;height:22px;border-radius:50%;background:var(--bestell-petrol);color:white;font-weight:800}.bestell-hero .button,.bestell-actions .button,.bestell-success .button{background:var(--bestell-petrol);color:white;min-height:50px;padding:13px 25px;text-decoration:none;border:0;cursor:pointer}.bestell-hero .button{gap:22px}.bestell-hero__image picture{display:block;width:100%}.bestell-hero__image img{width:100%;height:auto;max-height:410px;object-fit:contain;filter:drop-shadow(0 15px 17px #63431d25)}.bestell-steps{margin-top:70px}.bestell-steps h2,.bestell-knowledge h2{margin-bottom:20px}.bestell-steps__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.bestell-steps article{display:flex;align-items:flex-start;gap:13px;min-width:0;padding:21px 17px;border:1px solid var(--bestell-border);border-radius:15px;background:#fff;box-shadow:0 8px 22px #ad865711}.bestell-steps article>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:50%;background:#ffe8c7;color:var(--bestell-petrol);font-size:18px;font-weight:800}.bestell-steps h3{font-size:16px;letter-spacing:-.02em}.bestell-steps p{margin-top:5px;font-size:12px}.bestell-form{margin-top:72px;scroll-margin-top:22px}.bestell-form__main{display:grid;grid-template-columns:minmax(0,1fr);gap:17px;align-items:start}.bestell-panel{min-width:0;padding:clamp(22px,3vw,38px);border:1px solid var(--bestell-border);border-radius:19px;background:#fff;box-shadow:0 12px 28px #b78b4d10}.bestell-panel__heading{margin-bottom:32px}.bestell-panel__heading p{margin-top:8px;font-size:14px}.bestell-kicker{display:block;margin-bottom:6px;color:var(--teal-dark);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.bestell-grid{display:grid;gap:20px;margin-bottom:26px}.bestell-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.bestell-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.bestell-field{min-width:0}.bestell-field label,.bestell-color-field legend,.bestell-side-field legend{display:block;margin-bottom:7px;color:var(--bestell-petrol);font-size:13px;font-weight:750}.bestell-field input:not([type=file]),.bestell-field select,.bestell-field textarea{display:block;width:100%;min-height:47px;padding:10px 12px;border:1px solid #bacbd0;border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:14px}.bestell-field textarea{min-height:125px;resize:vertical}.bestell-field input:focus-visible,.bestell-field select:focus-visible,.bestell-field textarea:focus-visible,.bestell-upload:focus-within{outline:3px solid #7bcbd2;outline-offset:2px}.bestell-field input[aria-invalid=true],.bestell-field select[aria-invalid=true]{border-color:#b25142}.bestell-field small{display:block;margin-top:5px;color:#60777b;font-size:11px}.bestell-required,.bestell-error{color:#ab372e}.bestell-error{display:block;margin-top:5px;font-size:12px;font-weight:650}.bestell-alert{margin-bottom:18px;padding:14px 17px;border:1px solid #c97565;border-radius:10px;background:#fff1ec;color:#8e2e25}.bestell-color-field,.bestell-side-field{min-width:0;margin:0 0 28px;padding:0;border:0}.bestell-swatches{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.bestell-swatch{position:relative;display:grid;justify-items:center;gap:7px;padding:10px 4px;border:1px solid var(--bestell-border);border-radius:11px;background:#fff9ef;cursor:pointer;text-align:center;font-size:11px;line-height:1.2}.bestell-swatch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.bestell-swatch:has(input:checked){outline:2px solid var(--bestell-petrol);background:#e9f6f5}.bestell-swatch:has(input:focus-visible){outline:3px solid var(--orange);outline-offset:2px}.bestell-swatch__dot{width:34px;height:34px;border:1px solid #758388;border-radius:50%;background:var(--swatch)}.bestell-side-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bestell-side-options label{position:relative;cursor:pointer}.bestell-side-options input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.bestell-side-options span{display:flex;flex-direction:column;gap:2px;padding:15px;border:1px solid #c9c9bc;border-radius:11px;background:#fff9ef}.bestell-side-options small{color:#60777b}.bestell-side-options label:has(input:checked) span{outline:2px solid var(--bestell-petrol);background:#e8f4f2}.bestell-side-options label:has(input:focus-visible) span{outline:3px solid var(--orange);outline-offset:3px}.bestell-upload{position:relative;display:grid;justify-items:center;align-content:center;gap:4px;min-height:148px;padding:18px;border:2px dashed #a8c8cf;border-radius:12px;background:#f9fcfc;text-align:center}.bestell-upload>span{font-size:29px;color:var(--bestell-petrol);line-height:1}.bestell-upload strong{font-size:13px;color:var(--bestell-petrol)}.bestell-upload small{font-size:11px}.bestell-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.bestell-upload.is-dragging{background:#e9f6f5;border-color:var(--bestell-petrol)}.bestell-file-name{display:block;min-height:18px;margin-top:4px;color:var(--bestell-petrol);font-size:12px;overflow-wrap:anywhere}.bestell-soft-note{margin:0 0 26px;padding:16px 18px;border-radius:12px;background:#e9f5f4;color:var(--bestell-petrol);font-size:13px}.bestell-soft-note p{margin-top:5px;font-size:12px}.bestell-fields>.bestell-field{margin-bottom:26px}.bestell-fields>.bestell-field:last-child{margin-bottom:0}.bestell-check{display:flex;align-items:flex-start;gap:10px;padding:18px 0;border-top:1px solid var(--bestell-border);font-size:13px;line-height:1.45}.bestell-check input{width:19px;height:19px;flex:none;accent-color:var(--bestell-petrol)}.bestell-contact{margin-top:18px}.bestell-contact .bestell-grid{margin-bottom:24px}.bestell-privacy{margin-top:28px;font-size:13px}.bestell-privacy a{color:var(--bestell-petrol);font-weight:700}.bestell-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:22px}.bestell-back{padding:12px 16px;border:1px solid var(--bestell-petrol);border-radius:10px;color:var(--bestell-petrol);font-size:13px;font-weight:700;text-decoration:none}.bestell-actions .button{font-weight:750}.bestell-knowledge{margin-top:72px}.bestell-knowledge>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.bestell-knowledge article{padding:23px;border:1px solid var(--bestell-border);border-radius:14px;background:#fff}.bestell-knowledge h3{font-size:17px}.bestell-knowledge p{margin-top:9px;font-size:13px}.bestell-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.bestell-success{max-width:750px;margin:60px auto 100px;padding:clamp(28px,5vw,55px);border:1px solid var(--bestell-border);border-radius:20px;background:#fff4df}.bestell-success h1{font-size:clamp(34px,4vw,47px)}.bestell-success>p{margin-top:16px}.bestell-success__details{display:grid;gap:5px;margin:27px 0;padding:18px;border-radius:12px;background:white;font-size:14px}.bestell-page input:focus-visible,.bestell-page select:focus-visible,.bestell-page textarea:focus-visible,.bestell-page button:focus-visible,.bestell-page a:focus-visible{outline:3px solid var(--orange);outline-offset:3px}@media(max-width:1020px){.bestell-steps__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bestell-swatches{grid-template-columns:repeat(7,minmax(0,1fr))}}@media(max-width:740px){.bestell-page{padding-block:16px 55px}.bestell-hero{grid-template-columns:1fr;gap:7px;padding:31px 24px;min-height:0}.bestell-hero__image{max-width:460px;margin:auto}.bestell-hero__copy>p{font-size:16px}.bestell-steps,.bestell-knowledge{margin-top:48px}.bestell-form{margin-top:50px}.bestell-grid--three{grid-template-columns:repeat(2,minmax(0,1fr))}.bestell-panel__heading{margin-bottom:24px}.bestell-swatches{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:520px){.bestell-breadcrumb{gap:6px;font-size:11px}.bestell-hero h1{font-size:34px}.bestell-steps__grid{grid-template-columns:1fr}.bestell-steps article{padding:15px}.bestell-panel{padding:21px 17px}.bestell-grid--three,.bestell-grid--two{grid-template-columns:1fr;gap:18px}.bestell-swatches{grid-template-columns:repeat(3,minmax(0,1fr))}.bestell-side-options{gap:8px}.bestell-actions{flex-direction:column-reverse;align-items:stretch}.bestell-actions .button,.bestell-back{justify-content:center;text-align:center}}
@media(max-width:520px){.bestell-knowledge>div{grid-template-columns:1fr}}
.bestell-breadcrumb .bestell-home-shortcut{display:flex;align-items:center;justify-content:center;flex:0 0 31px;width:31px;height:31px;border-radius:7px;background:#005660;color:#fff;box-shadow:0 3px 0 #003e46;text-decoration:none}
.bestell-home-shortcut svg{width:18px;height:18px}
.bestell-breadcrumb .bestell-home-shortcut:hover{background:#00717c;transform:translateY(-1px);box-shadow:0 4px 0 #003e46}
.bestell-breadcrumb .bestell-home-shortcut:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.bestell-breadcrumb-arrow::before{content:"\25B6";color:#087281;font-size:9px;line-height:1}
.bestell-side-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:28px}
.bestell-side-card{min-width:0;padding:18px;border:1px solid var(--bestell-border);border-radius:14px;background:#fff9ef}
.bestell-side-card[hidden]{display:none}
.bestell-side-card h3{margin-bottom:18px;font-size:19px}
.bestell-side-card .bestell-field+.bestell-field{margin-top:18px}
.bestell-text-fields{display:grid;gap:14px;margin-top:18px;padding:15px;border:1px solid #ead2ae;border-radius:11px;background:#fffdf8}.bestell-text-fields .bestell-field,.bestell-text-fields .bestell-field+.bestell-field{margin:0}.bestell-text-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px}.bestell-text-control>input,.bestell-text-control>textarea{min-width:0}.bestell-text-fields textarea.bestell-textarea--compact{min-height:74px;resize:vertical}.bestell-text-format{display:flex;gap:4px}.bestell-text-format button{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #9db9bf;border-radius:8px;background:#fff;color:var(--bestell-petrol);font:700 15px Arial,sans-serif;cursor:pointer}.bestell-text-format button[data-text-format=italic]{font-style:italic}.bestell-text-format button[data-text-format=underline]{text-decoration:underline;text-underline-offset:2px}.bestell-text-format button[data-letter-spacing]{font-size:12px;letter-spacing:-2px}.bestell-text-format button:is(:hover,:focus-visible):not(:disabled){border-color:var(--bestell-petrol);background:#dff2f1}.bestell-text-format button:disabled{cursor:not-allowed;opacity:.42}.bestell-text-format button[aria-pressed=true]{border-color:var(--bestell-petrol);background:#dff2f1;box-shadow:inset 0 0 0 1px var(--bestell-petrol)}.bestell-text-fields__note{margin:0;color:#60777b;font-size:12px;line-height:1.45}
.bestell-stamp-note{margin-top:17px;padding:10px 12px;border-radius:9px;background:#e9f5f4;color:var(--bestell-petrol);font-size:12px;font-weight:700}
.bestell-stamp-note.is-error{background:#fff1ec;color:#8e2e25}
@media(max-width:740px){.bestell-side-content{grid-template-columns:1fr}.bestell-side-card{padding:20px}}
.bestell-side-options span{min-height:72px;justify-content:center}
.bestell-side-options small{white-space:nowrap}

.bestell-fixed-label{display:block;margin-bottom:7px;color:var(--bestell-petrol);font-size:13px;font-weight:750}.bestell-fixed-value{display:flex;align-items:center;min-height:47px;padding:10px 12px;border:1px solid #bacbd0;border-radius:9px;background:#f5f8f7;color:var(--ink);font-size:14px}

@media(max-width:740px){.bestell-hero .button{display:none}}

.bestell-basket-positions{display:grid;gap:22px;margin-top:30px}.bestell-position-card{padding:26px;border:1px solid var(--bestell-border);border-radius:16px;background:#fff8ed}.bestell-position-card .bestell-panel__heading{position:relative;padding-right:125px}.bestell-remove-position{position:absolute;top:0;right:0;padding:8px 10px;border:1px solid #a45b45;border-radius:8px;background:#fff;color:#8c3b2b;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.bestell-add-position{display:block;width:100%;min-height:52px;margin-top:25px;padding:12px;border:2px dashed var(--bestell-petrol);border-radius:10px;background:#eaf7f5;color:var(--bestell-petrol);font:inherit;font-weight:800;cursor:pointer}.bestell-basket-help{margin-top:8px;color:#60777b;font-size:12px}.bestell-basket-item{display:grid;gap:5px;margin-bottom:12px;padding:12px;border:1px solid var(--bestell-border);border-radius:10px;background:#fff8ed;font-size:12px}.bestell-basket-item strong{color:var(--bestell-petrol);font-size:14px}.bestell-basket-item b{color:var(--bestell-petrol)}[data-basket-total]{margin:16px 0;padding:14px;border-radius:10px;background:#e9f5f4;color:var(--bestell-petrol);font-size:13px}[data-basket-total] strong{display:block;margin-top:4px;font-size:18px}@media(max-width:520px){.bestell-position-card{padding:17px}.bestell-position-card .bestell-panel__heading{padding-right:0}.bestell-remove-position{position:static;margin-top:10px}}
.bestell-alert[hidden]{display:none}
.bestell-to-basket{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin-top:24px;padding:12px 18px;border:0;border-radius:10px;background:var(--bestell-petrol);color:#fff;font:inherit;font-size:15px;font-weight:800;cursor:pointer}.bestell-to-basket:hover{background:#086a7f}.is-in-basket>.bestell-to-basket{background:#147652}.bestell-position-card .bestell-to-basket{margin-top:22px}
.bestell-quick-basket{display:flex;align-items:center;min-height:52px;margin:2px 0 25px}.bestell-quick-basket .bestell-to-basket--upper{width:auto;min-width:220px;margin:0}.bestell-to-basket:disabled{cursor:wait;opacity:.68}
.bestell-add-color{border-style:solid;background:#fff;color:var(--bestell-petrol)}.bestell-add-motif{margin-top:30px;background:#eaf7f5}.bestell-position-card--shared{border-left:5px solid #75bcc4;background:#fffdf8}.bestell-shared-motif-note{margin-top:10px;padding:10px 12px;border-radius:9px;background:#e9f5f4;color:var(--bestell-petrol);font-size:12px;font-weight:700}.bestell-basket-group-title{margin:18px 0 8px;padding-bottom:7px;border-bottom:2px solid #e8cfaa;color:var(--bestell-petrol);font-size:14px}.bestell-basket-group-title:first-child{margin-top:0}
@media(max-width:520px){.bestell-position-card--shared{border-left-width:4px}.bestell-shared-motif-note{font-size:11px}.bestell-add-position{min-height:48px}}
.bestell-cart-panel{margin-top:18px;padding-inline:clamp(18px,2.5vw,32px)}.bestell-cart-panel .bestell-panel__heading{margin-bottom:20px}.bestell-cart-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:12px;scrollbar-color:#087281 #f4dfb8;scrollbar-width:auto;overscroll-behavior-inline:contain}.bestell-cart-scroll::-webkit-scrollbar{height:14px}.bestell-cart-scroll::-webkit-scrollbar-track{border-radius:99px;background:#f4dfb8}.bestell-cart-scroll::-webkit-scrollbar-thumb{border:3px solid #f4dfb8;border-radius:99px;background:#087281}.bestell-cart-table{width:100%;min-width:1100px;border-collapse:separate;border-spacing:0;color:#173f48;font-size:11px}.bestell-cart-table th,.bestell-cart-table td{padding:10px 11px;border-right:1px solid #f2dfc2;border-bottom:1px solid #efd7b3;text-align:left;vertical-align:top;white-space:nowrap}.bestell-cart-table th{background:#f5e58a;color:#183d43;font-weight:800}.bestell-cart-table td{background:#fff5e5}.bestell-cart-table th:first-child,.bestell-cart-table td:first-child{position:sticky;left:0;z-index:1;min-width:145px}.bestell-cart-table th:first-child{z-index:2}.bestell-cart-table td:first-child{background:#ffedcf;font-weight:750}.bestell-cart-table td small{color:#60777b;font-weight:650}.bestell-cart-table [data-cart-empty] td{padding:18px;color:#60777b;text-align:center}.bestell-cart-price{font-weight:800;color:var(--bestell-petrol)}.bestell-cart-remove{display:grid;place-items:center;width:30px;height:30px;border:1px solid #ad5b47;border-radius:7px;background:#fff;color:#963e2d;font:inherit;font-size:19px;font-weight:800;cursor:pointer}.bestell-cart-totals{display:flex;align-items:stretch;gap:2px;margin-top:13px;overflow-x:auto}.bestell-cart-totals span{flex:1 0 auto;min-width:125px;padding:9px 10px;border:1px solid #f05b42;background:#fff1d6;color:#173f48;font-size:12px}.bestell-cart-totals strong{font-size:13px}.bestell-cart-panel>.bestell-soft-note{margin:10px 0 0}.bestell-cart-panel .bestell-check{margin-top:12px}
@media(max-width:740px){.bestell-cart-panel{padding-inline:14px}.bestell-cart-scroll{margin-inline:-2px;padding-bottom:16px}.bestell-cart-scroll::-webkit-scrollbar{height:17px}.bestell-cart-table{min-width:1100px}.bestell-cart-table th,.bestell-cart-table td{padding:9px 10px}.bestell-cart-totals{padding-bottom:5px;scrollbar-color:#087281 #f4dfb8;scrollbar-width:auto}.bestell-cart-totals::-webkit-scrollbar{height:12px}.bestell-cart-totals::-webkit-scrollbar-track{background:#f4dfb8}.bestell-cart-totals::-webkit-scrollbar-thumb{border:2px solid #f4dfb8;border-radius:99px;background:#087281}}

/* Bild-Dropdown für die Formate A–P */
.bestell-native-control{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:-1px!important;padding:0!important;border:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.bestell-layout-dropdown{position:relative}.bestell-layout-dropdown:has(.bestell-layout-menu:not([hidden])){z-index:30}.bestell-layout-trigger{display:grid;width:100%;min-height:47px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:6px 11px;border:1px solid #bacbd0;border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:13px;cursor:pointer;text-align:left}.bestell-layout-trigger>span:last-child{color:var(--bestell-petrol);font-size:21px;line-height:1}.bestell-layout-trigger-preview{position:relative;display:block;width:28px;height:36px;overflow:hidden;border-radius:4px;background:#fff}.bestell-layout-trigger-preview[hidden]{display:none}.bestell-layout-trigger-preview picture,.bestell-layout-preview picture{position:absolute;inset:0;display:block;width:100%;height:100%}.bestell-layout-trigger-preview img,.bestell-layout-preview img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}.bestell-layout-menu{position:fixed;top:var(--layout-panel-top,72px);left:var(--layout-panel-left,16px);right:auto;z-index:1000;box-sizing:border-box;width:var(--layout-panel-width,calc(100vw - 32px));max-width:none;max-height:var(--layout-panel-max-height,min(72vh,690px));padding:12px;border:1px solid #b8d4d6;border-radius:14px;background:#fff;box-shadow:0 18px 46px #244a5033;overflow:auto;overscroll-behavior:contain}.bestell-layout-menu[hidden]{display:none}.bestell-layout-options{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px}.bestell-layout-option{display:grid;align-content:start;gap:7px;min-width:0;padding:7px;border:1px solid #d8c6a9;border-radius:12px;background:#fffaf1;color:var(--ink);font:inherit;cursor:pointer;text-align:left;transition:border-color .15s,background .15s,transform .15s}.bestell-layout-option:hover{border-color:#79aeb6;transform:translateY(-1px)}.bestell-layout-option.is-selected{border-color:var(--bestell-petrol);outline:2px solid var(--bestell-petrol);background:#e8f5f4}.bestell-layout-option>span:last-child{display:grid;gap:2px}.bestell-layout-option strong{color:var(--bestell-petrol);font-size:12px}.bestell-layout-option small{color:#60777b;font-size:9px;line-height:1.25}.bestell-layout-preview{position:relative;display:block;width:100%;aspect-ratio:474/733;overflow:hidden;border-radius:7px;background:#fff}.bestell-layout-clear{width:100%;margin:0 0 10px;padding:9px 11px;border:1px solid #afc3c5;border-radius:8px;background:#fff;color:var(--bestell-petrol);font:inherit;font-size:11px;font-weight:700;cursor:pointer}.bestell-layout-clear.is-selected{border-color:var(--bestell-petrol);background:#e8f5f4}

/* Zweistufige Standardmotiv-Auswahl */
.bestell-motif-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bestell-motif-groups button,.bestell-motif-values button{border:1px solid #c9b897;border-radius:9px;background:#fff;color:var(--bestell-petrol);font:inherit;font-weight:750;cursor:pointer}.bestell-motif-groups button{min-height:43px;padding:8px;font-size:11px}.bestell-motif-groups button:hover,.bestell-motif-groups button.is-selected,.bestell-motif-values button:hover,.bestell-motif-values button.is-selected{border-color:var(--bestell-petrol);background:#e8f5f4;box-shadow:inset 0 0 0 1px var(--bestell-petrol)}.bestell-motif-values{margin-top:11px;padding:11px;border:1px solid #cce1e1;border-radius:10px;background:#f5fbfa}.bestell-motif-values[hidden]{display:none}.bestell-motif-values>strong{display:block;margin-bottom:8px;color:var(--bestell-petrol);font-size:12px}.bestell-motif-values>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.bestell-motif-values button{min-height:34px;padding:5px 3px;font-size:10px;overflow-wrap:anywhere}.bestell-motif-values button[hidden]{display:none}
.bestell-submit-notes{margin-top:27px}.bestell-submit-notes .bestell-soft-note{margin:0}.bestell-submit-notes+.bestell-actions{margin-top:22px}

/* Anfragekorb in den aktuellen Shopfarben */
.bestell-cart-scroll{border:1px solid #b9d3d5;border-radius:12px;background:#f7fbfa;scrollbar-color:#0b7785 #dceeee;scrollbar-gutter:stable}.bestell-cart-scroll::-webkit-scrollbar-track{background:#dceeee}.bestell-cart-scroll::-webkit-scrollbar-thumb{border-color:#dceeee;background:#0b7785}.bestell-cart-table th{background:var(--bestell-petrol);color:#fff}.bestell-cart-table td{background:#fff8ec;border-color:#ecd9ba}.bestell-cart-table tbody tr:nth-child(even) td{background:#f2f8f7}.bestell-cart-table td:first-child{background:#e8f5f4;color:var(--bestell-petrol)}.bestell-cart-totals{gap:7px;flex-wrap:wrap;overflow:visible}.bestell-cart-totals span{min-width:145px;border:1px solid #b8d9dc;border-radius:8px;background:#e8f5f4;color:var(--bestell-petrol)}.bestell-cart-totals span:last-child{border-color:#efb76c;background:#fff0d8;color:#8b4c00}.bestell-cart-scroll--mobile{display:none}

@media(max-width:900px){.bestell-layout-options{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:740px){
 .bestell-cart-scroll--desktop{display:none}.bestell-cart-scroll--mobile{display:block;width:100%;max-width:100%;margin-inline:0;padding:0 0 16px;overflow-x:scroll;overflow-y:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-x;overscroll-behavior-inline:contain;scrollbar-width:auto;scrollbar-gutter:stable both-edges}.bestell-cart-scroll--mobile::before{content:'Seitlich schieben, um alle Positionen zu sehen  ↔';position:sticky;left:0;display:block;width:max-content;max-width:calc(100vw - 58px);padding:8px 10px;color:var(--bestell-petrol);font-size:11px;font-weight:750}.bestell-cart-scroll--mobile::-webkit-scrollbar{height:16px}.bestell-cart-scroll--mobile::-webkit-scrollbar-track{border-radius:99px;background:#dceeee}.bestell-cart-scroll--mobile::-webkit-scrollbar-thumb{min-width:54px;border:3px solid #dceeee;border-radius:99px;background:#0b7785}.bestell-cart-table--mobile{width:auto;min-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}.bestell-cart-table--mobile th,.bestell-cart-table--mobile td{height:auto;padding:9px 10px;white-space:normal;overflow-wrap:anywhere}.bestell-cart-table--mobile th{position:sticky;left:0;z-index:2;width:132px;min-width:132px;max-width:132px;border-bottom:1px solid #3b7c87;background:var(--bestell-petrol);color:#fff}.bestell-cart-table--mobile td{width:190px;min-width:190px;max-width:190px;border-bottom:1px solid #ecd9ba;background:#fff8ec}.bestell-cart-table--mobile tr:nth-child(even) td{background:#f2f8f7}.bestell-cart-table--mobile tr:first-child td{font-weight:750;color:var(--bestell-petrol)}.bestell-cart-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.bestell-cart-totals span{min-width:0}.bestell-motif-values>div{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:520px){.bestell-layout-options{grid-template-columns:repeat(2,minmax(0,1fr))}.bestell-layout-option small{font-size:10px}.bestell-motif-values>div{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Live-Vorschau der Vorderseite im freien Platz bei einseitiger Prägung */
.bestell-live-preview{display:flex;flex-direction:column;align-items:stretch;background:linear-gradient(145deg,#fff9ef,#f4fbfa)}.bestell-live-preview[hidden]{display:none}.bestell-live-preview h3{text-align:center}.bestell-live-preview__heading{position:relative;display:flex;align-items:flex-start;justify-content:center;min-height:104px}.bestell-live-preview__heading h3{box-sizing:border-box;width:calc(100% - 104px);margin-left:0;margin-right:104px}.bestell-live-preview__stage{width:100%;max-width:350px;margin:0 auto}.bestell-live-preview__token{position:relative;width:100%;aspect-ratio:1;isolation:isolate}.bestell-live-preview__token::before{content:'';position:absolute;inset:2.5%;z-index:-1;border:1px dashed #a9c1c3;border-radius:50%;background:radial-gradient(circle at 38% 30%,#fff,#dce8e7 72%,#adc0bf);box-shadow:0 14px 27px #173f4820}.bestell-live-preview__base,.bestell-live-preview__base picture,.bestell-live-preview__base img{position:absolute;inset:0;display:block;width:100%;height:100%}.bestell-live-preview__base img{object-fit:contain;filter:drop-shadow(0 10px 10px #173f4820)}.bestell-live-preview__standard{position:absolute;inset:13%;z-index:2;background:var(--preview-standard-paint,var(--preview-foil));opacity:0;transition:opacity .15s;-webkit-mask:var(--preview-mask) center/contain no-repeat;mask:var(--preview-mask) center/contain no-repeat}.bestell-live-preview__standard.is-visible{opacity:1}.bestell-live-preview__standard picture{display:none}.bestell-live-preview__logo{position:absolute;left:calc(50% + var(--preview-logo-auto-x,0px) + var(--preview-logo-offset-x,0px));top:calc(50% + var(--preview-logo-auto-y,0px) + var(--preview-logo-offset-y,0px));z-index:2;width:47%;height:47%;object-fit:contain;transform:translate(-50%,-50%) scale(var(--preview-logo-auto-scale,1)) scale(var(--preview-logo-scale,1)) rotate(var(--preview-logo-rotation,0deg));transform-origin:center;filter:grayscale(1) contrast(1.25) drop-shadow(0 1px 1px #0005);mix-blend-mode:multiply}.bestell-live-preview__arcs{position:absolute;inset:10%;z-index:3;width:80%;height:80%;overflow:visible}.bestell-live-preview__arcs text{fill:var(--preview-arc-paint,var(--preview-foil-solid));font:700 7px Arial,sans-serif;letter-spacing:.2px}.bestell-live-preview__text{position:absolute;left:50%;top:50%;z-index:3;width:66%;transform:translate(-50%,-50%) rotate(var(--preview-text-rotation,0deg));transform-origin:center;background:var(--preview-foil);background-clip:text;-webkit-background-clip:text;color:transparent;font-size:clamp(15px,2vw,24px);font-weight:850;line-height:1.05;text-align:center;white-space:pre-line;overflow-wrap:anywhere;filter:drop-shadow(0 1px 0 #0003)}.bestell-live-preview__text[data-zone=top]{top:29%}.bestell-live-preview__text[data-zone=bottom]{top:71%}.bestell-live-preview__file{position:absolute;left:50%;top:50%;z-index:3;max-width:52%;transform:translate(-50%,-50%);padding:10px;border-radius:9px;background:#ffffffd9;color:var(--bestell-petrol);font-size:11px;font-weight:750;text-align:center;overflow-wrap:anywhere}.bestell-live-preview__empty{position:absolute;left:50%;top:50%;z-index:3;box-sizing:border-box;width:min(72%,250px);transform:translate(-50%,-50%);padding:14px 16px;border:1px solid #9ab7b9;border-radius:12px;background:#fffffff0;color:#315b61;font-size:14px;line-height:1.4;text-align:center;box-shadow:0 3px 12px #173f4824;pointer-events:none}.bestell-live-preview__empty strong{display:block;font-size:15px;font-weight:800}.bestell-live-preview__empty small{display:block;margin-top:7px;color:#60777b;font-size:12px;font-weight:650;line-height:1.35}.bestell-live-preview__format-badge{position:absolute;right:8%;bottom:8%;z-index:4;padding:5px 8px;border:1px solid #fff8;border-radius:99px;background:#074f5ecf;color:#fff;font-size:10px;font-weight:800;box-shadow:0 3px 8px #0002}.bestell-live-preview__caption{margin:12px 0 2px;color:var(--bestell-petrol);font-size:13px;font-weight:800;text-align:center}.bestell-live-preview>small{display:block;color:#60777b;font-size:10px;line-height:1.45;text-align:center}.bestell-live-preview__stage[data-layout=L] .bestell-live-preview__logo,.bestell-live-preview__stage[data-layout=N] .bestell-live-preview__logo{top:calc(55% + var(--preview-logo-auto-y,0px) + var(--preview-logo-offset-y,0px))}.bestell-live-preview__stage[data-layout=M] .bestell-live-preview__logo,.bestell-live-preview__stage[data-layout=O] .bestell-live-preview__logo{top:calc(44% + var(--preview-logo-auto-y,0px) + var(--preview-logo-offset-y,0px))}.bestell-live-preview__stage[data-layout=J] .bestell-live-preview__logo,.bestell-live-preview__stage[data-layout=K] .bestell-live-preview__logo{width:40%;height:40%}.bestell-live-preview__stage[data-layout=A] .bestell-live-preview__logo,.bestell-live-preview__stage[data-layout=B] .bestell-live-preview__logo,.bestell-live-preview__stage[data-layout=C] .bestell-live-preview__logo,.bestell-live-preview__stage[data-layout=D] .bestell-live-preview__logo,.bestell-live-preview__stage[data-layout=E] .bestell-live-preview__logo,.bestell-live-preview__stage[data-layout=F] .bestell-live-preview__logo,.bestell-live-preview__stage[data-layout=G] .bestell-live-preview__logo,.bestell-live-preview__stage[data-layout=H] .bestell-live-preview__logo{width:34%;height:34%;opacity:.48}
@media(max-width:740px){.bestell-live-preview__stage{max-width:310px}.bestell-live-preview__text{font-size:20px}}

/* Maßstäbliche Textvorschau für die 23-mm-Marke */
.bestell-text-fields__note,.bestell-text-fields__sizing{margin:0;color:#60777b;font-size:11px;line-height:1.45}.bestell-text-fields__sizing{padding-top:2px;border-top:1px solid #ead2ae}.bestell-live-preview__arcs{inset:0;width:100%;height:100%}.bestell-live-preview__arcs text{font-family:Arial,sans-serif;font-weight:700;letter-spacing:.1px}.bestell-live-preview__text{width:82.6087%;font-family:Arial,sans-serif;font-weight:700;white-space:pre;overflow:visible;overflow-wrap:normal}.bestell-live-preview__text[data-zone=center]{transform:translate(-50%,-50%) rotate(var(--preview-text-rotation,0deg))}.bestell-preview-format--bold{font-weight:900}.bestell-preview-format--italic{font-style:italic}.bestell-preview-format--underline{text-decoration-line:underline;text-decoration-color:var(--preview-foil-solid);text-decoration-thickness:.08em;text-underline-offset:.12em}.bestell-live-preview__fit-note{margin:5px 0 2px;padding:7px 9px;border-radius:8px;background:#fff0e7;color:#983d2c;font-size:11px;font-weight:700;line-height:1.4;text-align:center}
.bestell-text-fields :is(input,textarea)[data-preview-too-long=true]{border-color:#c72222;color:#b01818;text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:#d22323;text-decoration-thickness:1.5px;text-underline-offset:3px;background:#fff8f8}
.bestell-live-preview__text[data-preview-too-long=true]{background:none;color:#c01818;text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:#d22323;text-decoration-thickness:1.5px;text-underline-offset:4px}.bestell-live-preview__arcs text[data-preview-too-long=true]{fill:#c01818;text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:#d22323;text-decoration-thickness:1.5px;text-underline-offset:2px}

/* Einzelbilder A–P ersetzen die frühere Sammelgrafik. */
.bestell-layout-preview{aspect-ratio:1}
.bestell-layout-trigger-preview picture,.bestell-layout-preview picture{position:static;display:block;width:100%;height:100%}
.bestell-layout-trigger-preview img,.bestell-layout-preview img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}


/* Pixelweise Positionierung gerader Textblöcke */
.bestell-text-position button[hidden]{display:none}
.bestell-text-control:has([data-position-toolbar]){grid-template-columns:minmax(0,1fr) auto auto}.bestell-text-position{display:grid;grid-template:repeat(4,23px)/repeat(3,23px);gap:2px;align-self:start}.bestell-text-position button{display:grid;place-items:center;width:23px;height:23px;padding:0;border:1px solid #9db9bf;border-radius:6px;background:#fff;color:var(--bestell-petrol);font:800 15px/1 Arial,sans-serif;cursor:pointer}.bestell-text-position button:hover,.bestell-text-position button:focus-visible{border-color:var(--bestell-petrol);background:#dff2f1}.bestell-text-position button:disabled{cursor:not-allowed;opacity:.42}.bestell-text-position button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.bestell-text-position button[data-text-scale=decrease]{grid-column:1;grid-row:1}.bestell-text-position button[data-text-move=up]{grid-column:2;grid-row:1}.bestell-text-position button[data-text-scale=increase]{grid-column:3;grid-row:1}.bestell-text-position button[data-text-move=left]{grid-column:1;grid-row:2}.bestell-text-position button[data-text-reset]{grid-column:2;grid-row:2}.bestell-text-position button[data-text-move=right]{grid-column:3;grid-row:2}.bestell-text-position button[data-text-rotate=left]{grid-column:1;grid-row:3}.bestell-text-position button[data-text-move=down]{grid-column:2;grid-row:3}.bestell-text-position button[data-text-rotate=right]{grid-column:3;grid-row:3}.bestell-text-position button[data-line-spacing=decrease]{grid-column:1;grid-row:4}.bestell-text-position button[data-line-spacing=increase]{grid-column:3;grid-row:4}.bestell-live-preview__text{left:calc(50% + var(--preview-text-offset-x,0px) + var(--preview-text-optical-x,0px));top:calc(50% + var(--preview-text-offset-y,0px) + var(--preview-text-optical-y,0px))}.bestell-live-preview__text[data-zone=top]{top:calc(34% + var(--preview-text-offset-y,0px) + var(--preview-text-optical-y,0px))}.bestell-live-preview__text[data-zone=bottom]{top:calc(66% + var(--preview-text-offset-y,0px) + var(--preview-text-optical-y,0px))}
@media(max-width:520px){.bestell-text-control:has([data-position-toolbar]){gap:5px}.bestell-text-format{gap:3px}.bestell-text-format button{width:29px;height:34px}.bestell-text-control:has([data-position-toolbar]) .bestell-text-format{flex-direction:column;gap:1px}.bestell-text-control:has([data-position-toolbar]) .bestell-text-format button{height:21px}.bestell-text-position{grid-template:repeat(4,21px)/repeat(3,21px);gap:1px}.bestell-text-position button{width:21px;height:21px;font-size:13px}}

/* Entfernen, Positionieren und Skalieren hochgeladener Logos */
.bestell-logo-file{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px}.bestell-logo-remove{flex:none;padding:6px 9px;border:1px solid #ad5b47;border-radius:7px;background:#fff;color:#963e2d;font:inherit;font-size:11px;font-weight:750;cursor:pointer}.bestell-logo-remove[hidden],.bestell-logo-controls[hidden]{display:none}.bestell-logo-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px;padding:11px;border:1px solid #c6dcde;border-radius:10px;background:#f3faf9}.bestell-logo-controls>div{display:grid;align-content:start;justify-items:center;gap:7px}.bestell-logo-controls strong{color:var(--bestell-petrol);font-size:11px}.bestell-logo-position{display:grid;grid-template:repeat(3,26px)/repeat(3,26px);gap:3px}.bestell-logo-position button,.bestell-logo-scale button{display:grid;place-items:center;padding:0;border:1px solid #9db9bf;border-radius:6px;background:#fff;color:var(--bestell-petrol);font:800 15px/1 Arial,sans-serif;cursor:pointer}.bestell-logo-position button:hover,.bestell-logo-position button:focus-visible,.bestell-logo-scale button:hover,.bestell-logo-scale button:focus-visible{border-color:var(--bestell-petrol);background:#dff2f1}.bestell-logo-position button[data-logo-move=up]{grid-column:2;grid-row:1}.bestell-logo-position button[data-logo-move=left]{grid-column:1;grid-row:2}.bestell-logo-position button[data-logo-position-reset]{grid-column:2;grid-row:2}.bestell-logo-position button[data-logo-move=right]{grid-column:3;grid-row:2}.bestell-logo-position button[data-logo-move=down]{grid-column:2;grid-row:3}.bestell-logo-position button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.bestell-logo-scale{display:grid;grid-template-columns:30px minmax(52px,auto) 30px;align-items:center;gap:5px}.bestell-logo-scale button{width:30px;height:30px}.bestell-logo-scale span{color:var(--bestell-petrol);font-size:12px;font-weight:800;text-align:center}.bestell-logo-scale [data-logo-scale-reset]{grid-column:1/-1;width:100%;height:26px;font-size:10px}
@media(max-width:520px){.bestell-logo-controls{grid-template-columns:1fr}.bestell-logo-file{align-items:flex-start}.bestell-logo-remove{margin-top:4px}}

/* Kalibrierbare Vorschau der 23-mm-Marke in physischer Originalgröße */
.bestell-actual-size-preview{width:100%;margin-top:22px;padding-top:20px;border-top:1px solid #c9dede;text-align:center}.bestell-actual-size-preview h4{margin:0;color:var(--bestell-petrol);font-size:15px}.bestell-actual-size-preview>p{max-width:440px;margin:7px auto 0;color:#536f74;font-size:11px;line-height:1.5}.bestell-actual-size-preview__canvas{display:grid;place-items:center;min-height:132px;margin:12px 0;padding:10px;border:1px solid #d7e5e5;border-radius:11px;background:#fff}.bestell-actual-size-preview__marker{position:relative;flex:none;max-width:none!important;margin:0!important;overflow:visible}.bestell-actual-size-preview__marker>.bestell-live-preview__token{position:absolute;top:0;left:0;transform-origin:top left}.bestell-actual-size-preview__marker .bestell-live-preview__measure-grid,.bestell-actual-size-preview__marker .bestell-live-preview__format-badge{display:none}.bestell-actual-size-calibration{display:grid;gap:8px;max-width:470px;margin:0 auto;padding:11px;border:1px solid #e1c99f;border-radius:10px;background:#fff9ef;text-align:left}.bestell-actual-size-calibration label{margin:0;color:var(--bestell-petrol);font-size:11px;font-weight:750}.bestell-actual-size-calibration>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.bestell-actual-size-calibration input{min-height:40px!important;padding:8px 10px!important}.bestell-actual-size-calibration button{min-height:40px;padding:8px 11px;border:1px solid var(--bestell-petrol);border-radius:8px;background:var(--bestell-petrol);color:#fff;font:inherit;font-size:11px;font-weight:750;cursor:pointer}.bestell-actual-size-calibration .bestell-actual-size-reset{justify-self:start;min-height:32px;background:#fff;color:var(--bestell-petrol)}.bestell-actual-size-calibration p{margin:0;padding:7px 9px;border-radius:7px;background:#fff0d8;color:#865111;font-size:10px;line-height:1.45}.bestell-actual-size-preview[data-calibrated=true] .bestell-actual-size-calibration p{background:#e5f4eb;color:#17633b}.bestell-actual-size-preview[data-screen-changed=true] .bestell-actual-size-calibration p{background:#fff0e7;color:#983d2c}
@media(max-width:520px){.bestell-actual-size-preview__canvas{min-height:122px}.bestell-actual-size-calibration>div{grid-template-columns:1fr}.bestell-actual-size-calibration button{width:100%}.bestell-actual-size-calibration .bestell-actual-size-reset{justify-self:stretch}}

/* Direkte Objektsteuerung in der großen Markenvorschau */
[data-bestell-form][data-direct-preview=true] [data-text-fields=vorne] [data-position-toolbar],[data-bestell-form][data-direct-preview=true] [data-logo-controls=vorne]{display:none!important}
[data-preview-selectable]{cursor:pointer}.bestell-live-preview__token:has([data-preview-selectable]){cursor:pointer}.bestell-live-preview__base,.bestell-live-preview__standard,.bestell-live-preview__text[data-preview-selectable],.bestell-live-preview__text[data-preview-selectable] *,.bestell-live-preview__arcs,.bestell-live-preview__arcs text[data-preview-selectable]{pointer-events:none}
.bestell-live-preview__logo.is-preview-selected{outline:none;border-radius:0}
.bestell-live-preview__logo[data-prepared-logo=true]{filter:drop-shadow(0 1px 1px #0005);mix-blend-mode:normal}
.bestell-logo-preparation{margin:7px 0 0;padding:8px 10px;border-radius:8px;background:#edf7f5;color:#195f68;font-size:12px;font-weight:700;line-height:1.4}.bestell-logo-preparation[data-state=busy]{background:#fff5dd;color:#7a5508}.bestell-logo-preparation[data-state=error]{background:#fff0ed;color:#9a3027}
.bestell-live-preview__text.is-preview-selected{outline:none;background:conic-gradient(#000 25%,#fff 0 50%,#000 0 75%,#fff 0) 0 0/clamp(3.2px,.16em,8px) clamp(3.2px,.16em,8px);background-clip:text;-webkit-background-clip:text;color:transparent;filter:drop-shadow(0 0 .35px #000)}
.bestell-live-preview__text.is-preview-selected,.bestell-live-preview__text.is-preview-selected:focus-visible{outline:none!important}.bestell-live-preview__text.is-preview-selected *{text-decoration-color:#000}
.bestell-live-preview__arcs text.is-preview-selected,.bestell-live-preview__arcs text.is-preview-selected:focus-visible{outline:none!important;fill:url(#bestell-preview-selection-pattern)!important;filter:none}
.bestell-live-preview__text.is-preview-selected[data-preview-too-long=true]{background:none;color:#c01818;text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:#d22323}.bestell-live-preview__arcs text.is-preview-selected[data-preview-too-long=true]{fill:#c01818!important;text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:#d22323}
[data-preview-selectable]:focus-visible{outline:3px solid #f08c46!important;outline-offset:5px}
.bestell-live-preview__arcs text[data-preview-selectable]:focus-visible{filter:drop-shadow(0 0 .75px #fff) drop-shadow(0 0 1.8px #e46825)}
.bestell-preview-controls{display:grid;grid-template-columns:1fr;justify-items:center;align-items:center;gap:9px;box-sizing:border-box;width:calc(100% - 12px);margin:8px auto 2px;padding:12px;border:1px solid #9fc6c9;border-radius:12px;background:#f0f9f8;box-shadow:0 4px 13px #173f4814}
.bestell-preview-controls[hidden],.bestell-preview-controls [hidden]{display:none!important}
.bestell-preview-controls__position{display:grid;grid-template:repeat(3,38px)/repeat(3,38px);gap:5px;justify-self:center}
.bestell-preview-controls button{display:grid;place-items:center;min-width:38px;height:38px;padding:0;border:1px solid #8fb5ba;border-radius:8px;background:#fff;color:var(--bestell-petrol);font:800 21px/1 Arial,sans-serif;cursor:pointer}
.bestell-preview-controls button:hover,.bestell-preview-controls button:focus-visible{border-color:var(--bestell-petrol);background:#dff2f1}.bestell-preview-controls button:disabled{cursor:not-allowed;opacity:.38}
.bestell-preview-controls button.is-pressing,.bestell-text-format button.is-pressing,[data-position-toolbar] button.is-pressing,[data-logo-controls] button.is-pressing{border-color:var(--bestell-petrol);background:#cbeae8;box-shadow:inset 0 1px 3px #00566035;transform:translateY(1px)}
.bestell-preview-controls button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.bestell-preview-controls [data-preview-scale=decrease]{grid-column:1;grid-row:1}.bestell-preview-controls [data-preview-move=up]{grid-column:2;grid-row:1}.bestell-preview-controls [data-preview-scale=increase]{grid-column:3;grid-row:1}.bestell-preview-controls [data-preview-move=left]{grid-column:1;grid-row:2}.bestell-preview-controls [data-preview-reset]{grid-column:2;grid-row:2}.bestell-preview-controls [data-preview-move=right]{grid-column:3;grid-row:2}.bestell-preview-controls [data-preview-rotate=left]{grid-column:1;grid-row:3}.bestell-preview-controls [data-preview-move=down]{grid-column:2;grid-row:3}.bestell-preview-controls [data-preview-rotate=right]{grid-column:3;grid-row:3}
.bestell-preview-controls__line{display:flex;justify-content:center;gap:7px}.bestell-preview-controls__line button{width:42px}.bestell-preview-controls__letter{display:flex;justify-content:center;gap:7px}.bestell-preview-controls__letter button{display:flex;width:auto;min-width:92px;padding:0 10px;font-size:14px;gap:5px}.bestell-preview-controls__letter span{font-size:10px;font-weight:700}
.bestell-preview-controls__edit{width:min(190px,100%)!important;min-width:0!important;height:34px!important;padding:0 9px!important;font-family:inherit!important;font-size:11px!important;font-weight:750!important;line-height:1.15!important;text-align:center}
.bestell-preview-controls__refresh{width:100%!important;height:33px!important;padding:0 10px!important;border-color:#d2a25f!important;background:#fff8ec!important;color:#754100!important;font-family:inherit!important;font-size:10px!important;letter-spacing:.01em}.bestell-preview-controls__refresh:hover,.bestell-preview-controls__refresh:focus-visible{border-color:#a76816!important;background:#ffedcf!important}
@media(max-width:520px){.bestell-preview-controls{gap:8px;padding:10px}.bestell-preview-controls__position{grid-template:repeat(3,36px)/repeat(3,36px);gap:4px}.bestell-preview-controls button{min-width:36px;height:36px;font-size:20px}.bestell-preview-controls__edit{height:32px!important}.bestell-preview-controls__letter button{min-width:86px}.bestell-live-preview__logo.is-preview-selected{outline-offset:3px}}

/* Eingabefelder vollbreit; nur B und I bleiben als sichtbare Formatierung darunter. */
.bestell-text-control,.bestell-text-control:has([data-position-toolbar]){grid-template-columns:minmax(0,1fr);gap:7px}.bestell-text-control>input,.bestell-text-control>textarea{grid-column:1;width:100%}.bestell-text-format{grid-column:1;grid-row:2;justify-content:flex-start}.bestell-text-format [data-letter-spacing],[data-position-toolbar]{display:none!important}
.bestell-text-control textarea[data-format-text]{scrollbar-width:none;-ms-overflow-style:none}.bestell-text-control textarea[data-format-text]::-webkit-scrollbar{display:none;width:0;height:0}

/* Mobile Formatwahl, Rundtextdrehung und kompakte Vorschauaktionen. */
.bestell-layout-dropdown{scroll-margin-top:8px}.bestell-preview-controls__round{display:flex;justify-content:center;gap:7px}.bestell-preview-controls__layout{width:100%!important;height:34px!important;padding:0 10px!important;font-family:inherit!important;font-size:11px!important;font-weight:750!important;line-height:1.15!important;text-align:center}.bestell-preview-controls:not([data-preview-kind=logo]) .bestell-preview-controls__edit{display:none!important}.bestell-preview-controls .bestell-layout-menu--preview{position:fixed;inset:16px;z-index:1000;box-sizing:border-box;width:auto;max-height:none;margin:0}.bestell-preview-controls .bestell-layout-menu--preview .bestell-layout-options{grid-template-columns:repeat(8,minmax(0,1fr))}.bestell-actual-size-calibration [data-actual-size-calibrate]:disabled{border-color:#26724a;background:#26724a;color:#fff;cursor:default;opacity:1}
.bestell-preview-controls .bestell-layout-menu--preview .bestell-layout-option{display:grid;place-items:stretch;align-content:start;width:auto;min-width:0;height:auto;padding:7px;border-color:#c9dadd;border-radius:8px;background:#fff;color:var(--bestell-petrol);font:inherit;text-align:center}.bestell-preview-controls .bestell-layout-menu--preview .bestell-layout-option:hover,.bestell-preview-controls .bestell-layout-menu--preview .bestell-layout-option:focus-visible{border-color:var(--bestell-petrol);background:#f3fbfa}.bestell-preview-controls .bestell-layout-menu--preview .bestell-layout-clear{display:block;width:100%;min-width:0;height:auto;padding:9px 11px;font:inherit}.bestell-preview-controls .bestell-layout-menu--preview .bestell-layout-preview img{pointer-events:none}
.bestell-layout-close{display:block;width:100%;margin:0 0 10px;padding:10px 12px;border:1px solid #7da8ae;border-radius:8px;background:#e8f5f4;color:var(--bestell-petrol);font:inherit;font-weight:800;cursor:pointer}.bestell-layout-close:hover,.bestell-layout-close:focus-visible{border-color:var(--bestell-petrol);background:#d8eeec}
@media(max-width:740px){.bestell-preview-controls:not([data-preview-kind=logo]) .bestell-preview-controls__edit:not([hidden]),.bestell-preview-controls[data-preview-kind=logo] .bestell-preview-controls__edit:not([hidden]){display:grid!important}}
@media(max-width:520px){.bestell-text-control:has([data-position-toolbar]) .bestell-text-format{flex-direction:row;align-items:center;gap:5px}.bestell-text-control:has([data-position-toolbar]) .bestell-text-format button{height:34px}.bestell-preview-controls__round button{width:42px}.bestell-preview-controls .bestell-layout-menu--preview .bestell-layout-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Paket 1: feldnahe Generierung und ruhige Kundenansicht */
.bestell-text-format .bestell-text-generate{width:auto;min-width:128px;padding:0 12px;font-family:inherit;font-size:12px;font-style:normal}
.bestell-common-generate{width:100%;min-height:40px;margin-top:7px;padding:8px 12px;border:1px solid var(--bestell-petrol);border-radius:8px;background:var(--bestell-petrol);color:#fff;font:800 12px/1.2 Arial,sans-serif;cursor:pointer}
.bestell-common-generate:disabled{cursor:not-allowed;opacity:.42}
.bestell-preview-controls__generation-status{box-sizing:border-box;width:calc(100% - 12px);max-width:350px;margin:7px auto 2px}
@media(max-width:520px){.bestell-text-format .bestell-text-generate{min-width:122px;width:auto;height:34px}}

/* Mobile Formatwahl und Rücksprung zur Vorschau */
.bestell-live-preview{scroll-margin-top:8px}
@media(max-width:740px){.bestell-layout-options,.bestell-preview-controls .bestell-layout-menu--preview .bestell-layout-options{grid-template-columns:1fr}.bestell-preview-controls .bestell-layout-menu--preview{inset:0;width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:10px}}

/* Bildschirmhilfen für Sicherheitsrand und die tatsächlich geprüften Textkonturen. */
.bestell-live-preview__safety-circle{position:absolute;inset:6.521739%;z-index:3;box-sizing:border-box;border:1px dashed #2b9db4;border-radius:50%;pointer-events:none}
.bestell-live-preview__collision-guides{position:absolute;inset:0;z-index:4;width:100%;height:100%;pointer-events:none}
.bestell-preview-controls__collision{width:100%!important;height:34px!important;padding:0 10px!important;font-family:inherit!important;font-size:11px!important;font-weight:750!important;line-height:1.15!important;text-align:center}
.bestell-preview-collision-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:5px 12px;max-width:350px;margin:7px auto 0;color:#536f74;font-size:10px;line-height:1.4;text-align:center}.bestell-preview-collision-legend[hidden]{display:none}.bestell-preview-collision-legend span::before{content:'';display:inline-block;width:9px;height:9px;margin-right:4px;vertical-align:-1px}.bestell-preview-collision-legend__straight::before{border:2px solid #c51f36}.bestell-preview-collision-legend__arc::before{border:2px solid #167ea5}

/* Ein noch nicht abschließend neu berechneter Textstand wird sichtbar gekennzeichnet. */
.bestell-live-preview__stage{position:relative}.bestell-live-preview[data-layout-pending=true] .bestell-live-preview__stage::after{content:'Vorschau wird aktualisiert …';position:absolute;right:8px;top:8px;z-index:8;padding:4px 7px;border:1px solid #8aaeb3;border-radius:99px;background:#fffffff2;color:var(--bestell-petrol);font-size:9px;font-weight:800;pointer-events:none}.bestell-live-preview[data-layout-pending=true] .bestell-live-preview__token{filter:saturate(.82)}

/* Version 4: explizite Generierung und klarer Entwurfsstatus. */
.bestell-preview-controls__generation{display:grid;width:100%;gap:6px}.bestell-preview-controls__generate{width:100%!important;min-height:42px!important;padding:7px 14px!important;border-color:#056875!important;background:#056875!important;color:#fff!important;font:800 14px/1.2 Arial,sans-serif!important}.bestell-preview-controls__generate:hover,.bestell-preview-controls__generate:focus-visible{background:#034f59!important}.bestell-preview-controls__generate:disabled{border-color:#9eb5b8!important;background:#c7d5d6!important;color:#526a6d!important}.bestell-preview-controls__generation-status{display:block;min-height:31px;padding:7px 9px;border-radius:7px;background:#edf5f4;color:#315c62;font-size:10px;line-height:1.35;text-align:center}.bestell-preview-controls__generation-status[data-state=dirty]{background:#fff0d8;color:#7d4c08}.bestell-preview-controls__generation-status[data-state=busy]{background:#e2f0f7;color:#155878}.bestell-preview-controls__generation-status[data-state=warning],.bestell-preview-controls__generation-status[data-state=error]{background:#fff0e7;color:#983d2c}
.bestell-live-preview[data-layout-pending=true] .bestell-live-preview__stage::after{content:'Texte geändert – Vorschau noch nicht aktualisiert.';max-width:70%;white-space:normal;text-align:right}.bestell-live-preview[data-layout-pending=true] .bestell-live-preview__token{filter:none;opacity:.76}.bestell-live-preview [data-preview-arc-conflict],.bestell-live-preview [data-preview-arc-conflict=true]{filter:drop-shadow(0 0 2px #c01818)}
[data-bestell-form][data-designer-busy=true] .bestell-preview-controls__generation-status::before{content:'⏳ ';}
.bestell-preview-controls button,[data-position-toolbar] button,[data-logo-controls] button,[data-format-toolbar] button{touch-action:manipulation}
@media(max-width:520px){.bestell-preview-controls__generate{min-height:46px!important;font-size:15px!important}.bestell-preview-controls__generation-status{font-size:11px}}

.bestell-live-preview[data-preview-error=true] .bestell-live-preview__stage::after{content:'Vorschau nicht aktuell – Datei konnte nicht geladen werden.';max-width:76%;border-color:#c96a57;background:#fff4eff5;color:#8d2e20;white-space:normal;text-align:right}.bestell-live-preview[data-preview-error=true] .bestell-live-preview__token{opacity:.5}
.bestell-motif-mode{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px}.bestell-motif-mode strong{color:#26724a;font-size:12px}.bestell-free-design{padding:8px 12px;border:1px solid var(--bestell-petrol);border-radius:8px;background:#fff;color:var(--bestell-petrol);font:inherit;font-size:12px;font-weight:800;cursor:pointer}.bestell-free-design:hover,.bestell-free-design:focus-visible{background:#e8f5f4}.bestell-free-design[hidden]{display:none}.bestell-text-fields[hidden],[data-logo-field][hidden],[data-layout-dropdown][hidden]{display:none!important}
.bestell-motif-values[data-group=terms]>div{grid-template-columns:repeat(4,minmax(0,1fr))}.bestell-motif-values[data-group=terms] button{display:grid;place-items:center;gap:4px;min-height:88px;padding:6px}.bestell-motif-art{position:relative;display:block;width:64px;height:64px;background:var(--motif-foil,linear-gradient(#000,#000));-webkit-mask:var(--motif-mask) center/contain no-repeat;mask:var(--motif-mask) center/contain no-repeat}.bestell-motif-art picture{display:none}.bestell-motif-values[data-group=terms] button>span:last-child{font-size:10px;line-height:1.15}
@media(max-width:520px){.bestell-motif-values[data-group=terms]>div{grid-template-columns:repeat(2,minmax(0,1fr))}.bestell-motif-art{width:78px;height:78px}.bestell-motif-values[data-group=terms] button{min-height:108px}}
.bestell-quick-basket .bestell-to-basket--upper{width:100%;min-width:0}

.bestell-live-preview__empty[hidden]{display:none}

.bestell-live-preview[data-design-mode=standard] .bestell-live-preview__empty{display:none!important}
.bestell-side-content[data-dual-mode=editing_front] [data-design-side=vorne]{order:1}.bestell-side-content[data-dual-mode=editing_front] [data-front-preview]{order:2}.bestell-side-content[data-dual-mode=editing_back] [data-front-preview]{order:1}.bestell-side-content[data-dual-mode=editing_back] [data-design-side=hinten]{order:2}.bestell-side-content[data-dual-mode=dual_complete] [data-dual-preview=vorne]{order:1}.bestell-side-content[data-dual-mode=dual_complete] [data-dual-preview=hinten]{order:2}.bestell-dual-side-actions{margin-top:22px;padding-top:18px;border-top:1px solid var(--bestell-border)}.bestell-dual-finish,.bestell-dual-edit{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:11px 16px;border:1px solid var(--bestell-petrol);border-radius:10px;font:inherit;font-size:14px;font-weight:800;cursor:pointer}.bestell-dual-finish{background:var(--bestell-petrol);color:#fff;box-shadow:0 5px 12px #07536625}.bestell-dual-finish:hover{background:#086a7f}.bestell-dual-edit{margin-top:18px;background:#fff;color:var(--bestell-petrol)}.bestell-dual-edit:hover{background:#e9f5f4}.bestell-dual-preview{display:flex;flex-direction:column;background:linear-gradient(145deg,#fff9ef,#f4fbfa)}.bestell-dual-preview[hidden],.bestell-dual-side-actions[hidden]{display:none}.bestell-dual-preview h3{text-align:center}.bestell-dual-preview__stage{width:100%;max-width:350px;margin:0 auto}.bestell-dual-preview__stage>.bestell-live-preview__stage{width:100%}.bestell-dual-preview>p{min-height:20px;margin:12px 0 0;color:var(--bestell-petrol);font-size:13px;font-weight:800;text-align:center}.bestell-to-basket[hidden]{display:none!important}
@media(max-width:740px){.bestell-side-content[data-dual-mode=editing_front] [data-design-side=vorne],.bestell-side-content[data-dual-mode=editing_back] [data-front-preview],.bestell-side-content[data-dual-mode=dual_complete] [data-dual-preview=vorne]{order:1}.bestell-side-content[data-dual-mode=editing_front] [data-front-preview],.bestell-side-content[data-dual-mode=editing_back] [data-design-side=hinten],.bestell-side-content[data-dual-mode=dual_complete] [data-dual-preview=hinten]{order:2}.bestell-dual-preview__stage{max-width:310px}}

/* G5.1: kompakter Vorschau- und Kalibrierbereich der freien Gestaltung. */
.bestell-live-preview__heading{min-height:0;margin-bottom:8px}.bestell-live-preview__heading h3{width:100%;margin:0;text-align:center}
.bestell-live-preview__caption{margin-top:8px}.bestell-live-preview>small{margin-top:4px}
.bestell-preview-controls__generation-status[data-state=ready]{display:none}
.bestell-preview-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;margin-top:10px}
.bestell-preview-actions button{min-height:44px;padding:8px 11px;border:1px solid #8fb5ba;border-radius:8px;background:#fff;color:var(--bestell-petrol);font:750 13px/1.25 Arial,sans-serif;cursor:pointer;touch-action:manipulation}
.bestell-preview-actions button:hover,.bestell-preview-actions button:focus-visible{border-color:var(--bestell-petrol);background:#dff2f1}.bestell-preview-actions [data-preview-refresh]{border-color:#d2a25f;background:#fff8ec;color:#754100}.bestell-preview-actions [data-preview-refresh]:hover,.bestell-preview-actions [data-preview-refresh]:focus-visible{border-color:#a76816;background:#ffedcf}.bestell-preview-actions button:disabled{cursor:wait;opacity:.55}
.bestell-actual-size-preview{margin-top:12px;padding-top:12px;text-align:left}.bestell-actual-size-preview__layout{display:grid;grid-template-columns:minmax(210px,.95fr) minmax(240px,1.05fr);align-items:stretch;gap:10px}.bestell-actual-size-calibration{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:10px}.bestell-actual-size-preview__display{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:10px;border:1px solid #d7e5e5;border-radius:10px;background:#fff}.bestell-actual-size-preview__copy{min-width:0}.bestell-actual-size-preview__copy h4{margin:0;font-size:13px}.bestell-actual-size-preview__copy p{margin:5px 0 0;color:#536f74;font-size:10px;line-height:1.4}.bestell-actual-size-preview__canvas{flex:none;min-width:112px;min-height:112px;margin:0;padding:5px;border:0;border-radius:8px}.bestell-actual-size-preview__marker{flex:none;max-width:none!important}
@media(max-width:1200px){.bestell-actual-size-preview__layout{grid-template-columns:1fr}.bestell-actual-size-preview__display{grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:740px){.bestell-preview-actions{grid-template-columns:1fr}.bestell-preview-actions button{min-height:44px;font-size:13px}.bestell-actual-size-preview__layout{grid-template-columns:1fr}.bestell-actual-size-preview__display{grid-template-columns:1fr;justify-items:center;text-align:center}.bestell-actual-size-preview__copy p{max-width:310px}.bestell-actual-size-preview__canvas{width:100%;min-height:118px;padding:4px}.bestell-actual-size-calibration>div{grid-template-columns:1fr}.bestell-actual-size-calibration button{width:100%}.bestell-actual-size-calibration .bestell-actual-size-reset{justify-self:stretch}}


/* Selection follows the visible prepared shape, including its holes. */
.bestell-live-preview__logo.is-preview-selected,.bestell-live-preview__logo[data-preview-selectable]:focus-visible{outline:none!important;filter:drop-shadow(0 0 1px var(--bestell-petrol)) drop-shadow(0 0 1px var(--bestell-petrol))}

/* Selection paint is clipped to the prepared logo alpha, not its rectangle. */
.bestell-live-preview__logo-selection{position:absolute;z-index:4;pointer-events:none;background:conic-gradient(#000 25%,#fff 0 50%,#000 0 75%,#fff 0) 0 0/6px 6px;mask-mode:alpha;mask-position:center;mask-repeat:no-repeat;mask-size:100% 100%;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:100% 100%}

.bestell-live-preview__logo-selection{transform-origin:center}

/* Kleine Originalgroesse in der Vorschau-Kopfzeile; Kalibrierung nur auf Wunsch. */
.bestell-live-preview__heading{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:12px;margin-bottom:12px}
.bestell-live-preview__heading h3{width:auto;margin:0;padding-top:4px;text-align:center}
.bestell-live-preview__heading[data-actual-size-wide=true]{grid-template-columns:minmax(0,1fr)}
.bestell-live-preview__heading[data-actual-size-wide=true] .bestell-actual-size-summary{justify-self:end}
.bestell-actual-size-summary{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;max-width:100%;font-size:11px;line-height:1.35;text-align:center}
.bestell-actual-size-summary [data-actual-size-marker]{flex:none;margin:0;max-width:none!important;pointer-events:none;cursor:default}
.bestell-actual-size-summary [data-actual-size-marker] *{pointer-events:none!important;cursor:default!important}
.bestell-actual-size-summary>span{display:block;max-width:150px;color:#536f74}
.bestell-actual-size-toggle,.bestell-actual-size-close{padding:4px 2px;border:0;border-radius:0;background:transparent;color:var(--bestell-petrol);font:inherit;font-weight:650;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bestell-actual-size-toggle{max-width:150px;font-size:11px;line-height:1.4}
.bestell-actual-size-preview{margin:0;padding:0;border:0;text-align:left}
.bestell-actual-size-panel{margin:0 0 16px;padding:14px;border:1px solid #d7e5e5;border-radius:10px;background:#fff}
.bestell-actual-size-panel[hidden],.bestell-actual-size-panel [hidden]{display:none!important}
.bestell-actual-size-panel__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.bestell-actual-size-panel h4{margin:0;font-size:14px}.bestell-actual-size-panel p{font-size:12px;line-height:1.5;color:#536f74}
.bestell-actual-size-panel label{display:block;margin:12px 0 6px;font-size:12px;font-weight:700;color:var(--bestell-petrol)}
.bestell-actual-size-panel select,.bestell-actual-size-panel input[type=number]{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid #9ab7b9;border-radius:7px;background:#fff;color:var(--bestell-petrol);font:inherit}
.bestell-actual-size-panel button:not(.bestell-actual-size-close){min-height:40px;padding:8px 12px;border:1px solid var(--bestell-petrol);border-radius:7px;background:var(--bestell-petrol);color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.bestell-actual-size-ruler__input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.bestell-actual-size-card__comparison{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;height:78px;margin:20px 0;padding:4px}
.bestell-actual-size-card__comparison span{font-size:12px;color:#536f74;line-height:1.5;text-align:center}
.bestell-actual-size-card__line{position:relative;box-sizing:border-box;flex:none;height:22px;border-left:2px solid var(--bestell-petrol);border-right:2px solid var(--bestell-petrol)}
.bestell-actual-size-card__line:before{content:'';position:absolute;left:0;right:0;top:10px;height:2px;background:var(--bestell-petrol)}
.bestell-actual-size-panel input[type=range]{display:block;width:100%;margin:12px 0 18px;accent-color:var(--bestell-petrol)}
.bestell-actual-size-panel .bestell-actual-size-reset{background:#fff!important;color:var(--bestell-petrol)!important}
@media(max-width:520px){.bestell-live-preview__heading{gap:8px}.bestell-live-preview__heading h3{font-size:16px;overflow-wrap:anywhere}.bestell-actual-size-summary>span,.bestell-actual-size-toggle{max-width:125px}.bestell-actual-size-ruler__input{grid-template-columns:1fr}.bestell-actual-size-panel select,.bestell-actual-size-panel input[type=number]{font-size:16px}}

@media(max-width:520px){.bestell-actual-size-card__comparison{position:relative;left:50%;width:calc(100vw - 32px);max-width:none;transform:translateX(-50%)}}

/* Kalibrierung: zwei Methodenbuttons, nur die Groesseneinstellung sichtbar. */
.bestell-actual-size-methods{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 12px}
.bestell-actual-size-methods button[aria-pressed=false]{background:#fff!important;color:var(--bestell-petrol)!important}
.bestell-actual-size-methods button[aria-pressed=true]{outline:2px solid var(--bestell-petrol);outline-offset:2px}
[data-front-preview][data-actual-size-editing=true]>[data-preview-stage]{position:absolute!important;left:-10000px!important;top:0!important;width:var(--calibration-source-width)!important;visibility:hidden!important;pointer-events:none!important}
[data-front-preview][data-actual-size-editing=true]>[data-preview-caption],
[data-front-preview][data-actual-size-editing=true]>[data-preview-fit-note],
[data-front-preview][data-actual-size-editing=true]>[data-preview-generation-status],
[data-front-preview][data-actual-size-editing=true]>[data-preview-actions],
[data-front-preview][data-actual-size-editing=true]>small,
[data-front-preview][data-actual-size-editing=true] .bestell-live-preview__heading h3,
[data-front-preview][data-actual-size-editing=true] [data-actual-size-toggle]{display:none!important}
[data-front-preview][data-actual-size-editing=true] .bestell-live-preview__heading{display:flex;justify-content:flex-end}
[data-front-preview][data-actual-size-editing=true][data-calibration-method=card] .bestell-live-preview__heading{display:none!important}
[data-front-preview][data-actual-size-editing=true] .bestell-actual-size-panel{margin-bottom:0}

/* Die grosse Marke nutzt den Platz links neben der kleinen Originalgroesse. */
.bestell-actual-size-summary>span,.bestell-actual-size-toggle{max-width:125px}
.bestell-live-preview__empty[data-preview-notice-actions=true]{pointer-events:auto;cursor:pointer}
.bestell-live-preview__empty [data-preview-start]{display:block;width:100%;margin:0;padding:3px 0;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:center;cursor:pointer}
.bestell-live-preview__empty [data-preview-start]:hover strong{text-decoration:underline;text-underline-offset:3px}
.bestell-live-preview__empty [data-preview-start]:focus-visible{outline:2px solid var(--bestell-petrol);outline-offset:3px}

/* Freigegebene Anordnung: grosse Marke mittig, D=23mm ueber der kleinen Marke. */
[data-front-preview]:not([data-actual-size-editing=true]) .bestell-live-preview__heading{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:10px;margin-bottom:12px}
[data-front-preview]:not([data-actual-size-editing=true]) .bestell-live-preview__heading h3{width:auto;max-width:none;margin:0;padding:0;color:#222;font-size:clamp(18px,2vw,28px);font-weight:400;text-align:center;line-height:1.2}
.bestell-actual-size-summary{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;width:var(--design-summary-width,90px);max-width:none}
.bestell-actual-size-summary>[data-actual-size-label]{max-width:none;font-size:14px;color:#222;white-space:nowrap;line-height:1.2}
.bestell-actual-size-toggle{max-width:none;white-space:pre-line;line-height:1.2;font-size:12px;font-weight:400;color:#222;text-decoration:none;padding:0}
.bestell-actual-size-toggle:hover{text-decoration:none}
.bestell-actual-size-toggle__action{color:#005bbb;text-decoration:underline;text-underline-offset:2px}
[data-front-preview][data-approved-layout=sketch]:not([data-actual-size-editing=true]) .bestell-live-preview__heading{display:block;margin-bottom:var(--design-stage-gap,35px)}
[data-front-preview][data-approved-layout=sketch]:not([data-actual-size-editing=true]) .bestell-live-preview__heading h3{width:100%}
[data-front-preview][data-approved-layout=sketch]:not([data-actual-size-editing=true]) .bestell-actual-size-summary{position:absolute;right:0;top:0}
[data-front-preview][data-approved-layout=sketch]:not([data-actual-size-editing=true])>[data-preview-stage]{width:77%;max-width:none;margin:0 auto}
[data-front-preview][data-approved-layout=stacked]:not([data-actual-size-editing=true])>[data-preview-stage]{margin:0 auto}
.bestell-preview-controls__generation-status[hidden],.bestell-preview-controls__generation-status:empty{display:none!important}

/* Logo-Detailoption und dauerhaften Aufbereitungshinweis aus der Kundenansicht entfernen. */
.bestell-logo-detail-option,.bestell-logo-preparation[data-state=ready]{display:none!important}

.bestell-actual-size-toggle[data-calibrated=false]{color:#b42318;font-weight:700}

.bestell-steps__grid{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:1050px){.bestell-steps__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.bestell-steps__grid{grid-template-columns:1fr 1fr}}@media(max-width:430px){.bestell-steps__grid{grid-template-columns:1fr}}

/* Feste Grundfarbe neben der Feldbeschriftung; Auswahlfelder bleiben bündig. */
.bestell-field label.bestell-field-label{display:flex;align-items:baseline;gap:10px;white-space:nowrap}.bestell-field-label .bestell-fixed-base-note{display:inline;margin:0;font-weight:400}
@media(min-width:741px) and (max-width:820px){.bestell-field label.bestell-field-label{gap:3px}.bestell-field-label .bestell-fixed-base-note{font-size:10px}}

/* Textfarbe auch außerhalb enger Zeilenboxen bis in die Unterlängen malen. */
.bestell-live-preview__text{padding-block:.25em}

/* Kleine Prägemarke als Warteanzeige beim Übernehmen in den Anfragekorb. */
.bestell-to-basket.is-loading:disabled{opacity:1}
.bestell-basket-token{flex:none;width:26px;height:26px;animation:bestell-basket-token-turn 1.4s ease-in-out infinite;will-change:transform}
.bestell-basket-loading-label{min-width:0;line-height:1.3}
.bestell-basket-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@keyframes bestell-basket-token-turn{0%,100%{transform:rotateY(0deg) rotate(-7deg)}50%{transform:rotateY(180deg) rotate(7deg)}}
@media(prefers-reduced-motion:reduce){.bestell-basket-token{animation:none;will-change:auto}}

.bestell-quick-basket[hidden]{display:none!important}

.bestell-text-color-palette{margin:14px 0;padding:12px;border:1px solid #c8d8d8;border-radius:10px;background:#fffaf1}.bestell-text-color-palette[hidden]{display:none!important}.bestell-text-color-palette strong{display:block;margin-bottom:10px;font-size:15px}.bestell-text-color-palette>div{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}.bestell-text-color-palette button{min-width:0;width:100%;height:24px;padding:0;border:2px solid #fff;border-radius:4px;box-shadow:0 0 0 1px #586768;cursor:pointer}.bestell-text-color-palette button[aria-pressed=true]{outline:3px solid #007d89;outline-offset:2px}.bestell-text-color-palette button:focus-visible{outline:3px solid #007d89;outline-offset:2px}.bestell-text-color-palette button:disabled{cursor:wait}


[data-bestell-form] #folie[hidden]{display:none!important}.bestell-global-text-colors{margin:0;padding:10px}.bestell-live-preview__stage>.bestell-text-color-palette{box-sizing:border-box;width:100%;margin:12px 0}

.bestell-text-format{flex-wrap:wrap}.bestell-text-format .bestell-format-hint{font-size:12px;font-weight:400;line-height:1.4;color:#526b70;margin-left:5px;align-self:center}

.bestell-position-price output{display:flex;align-items:center;min-height:47px;box-sizing:border-box;padding:10px 12px;border:1px solid #bacbd0;border-radius:9px;background:#eef7f6;color:var(--bestell-petrol);font-size:20px;font-weight:650;line-height:1.3}.bestell-position-price output[data-state="pending"],.bestell-position-price output[data-state="empty"],.bestell-position-price output[data-state="error"]{font-size:14px;font-weight:400}.bestell-accessories>[data-holder-fields]{grid-column:span 2;margin-bottom:0}@media(max-width:760px){.bestell-accessories{grid-template-columns:minmax(0,1fr)}.bestell-accessories>[data-holder-fields]{grid-column:auto}}

@media(max-width:740px){.bestell-quantity-price-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bestell-quantity-price-row>.bestell-field:nth-child(-n+2)>label{min-height:32px;margin-bottom:6px;font-size:12px;line-height:1.3}.bestell-quantity-price-row .bestell-position-price output{font-size:clamp(15px,4.3vw,19px);padding-inline:10px;overflow-wrap:anywhere}.bestell-quantity-price-row .bestell-position-price output:not([data-state="ready"]){font-size:12px}.bestell-mobile-date{margin-bottom:26px}}

/* WebKit: keine maskierte Hintergrundflaeche hinter dem Mitteltext.
   Hintergrund-Textmasken mit Filter koennen in iOS den unteren SVG-Bogen verdecken. */
@supports (-webkit-touch-callout:none) or (background:-webkit-named-image(i)){
 .bestell-live-preview__text,.bestell-live-preview__text.is-preview-selected{background:none;-webkit-background-clip:border-box;background-clip:border-box;color:var(--preview-foil-solid);-webkit-text-fill-color:currentColor;filter:none}
 .bestell-live-preview__text.is-preview-selected{color:#111;-webkit-text-stroke:.5px #fff}
 .bestell-live-preview__text[data-preview-too-long=true],.bestell-live-preview__text.is-preview-selected[data-preview-too-long=true]{color:#c01818;-webkit-text-stroke:0}
}

/* Safari/iOS: Bogenfarbe direkt malen, ohne SVG-Verlauf/Pattern und dessen
   browserabhaengige Text-Begrenzungsflaeche (insbesondere bei textPath + dy).
   Pfade, Buchstabenpositionen und Produktionsgeometrie bleiben unveraendert. */
@supports (-webkit-touch-callout:none) or (background:-webkit-named-image(i)){
 .bestell-live-preview__arcs text{fill:var(--preview-foil-solid);filter:none}
 .bestell-live-preview__arcs text.is-preview-selected{fill:#111!important;stroke:#fff;stroke-width:.15;paint-order:stroke fill}
 .bestell-live-preview__arcs text[data-preview-too-long=true],.bestell-live-preview__arcs text.is-preview-selected[data-preview-too-long=true]{fill:#c01818!important;stroke:none}
}
