[hidden]{display:none !important}
:root{--bg:#0e0e0e;--panel:#171717;--panel2:#1d1d1d;--line:#34302e;--line2:#2b2b2b;--copper:#cc9873;--copper-strong:#dba37c;--copper-dark:#714d35;--ink:#f5f1ec;--muted:#a7a09a;--faint:#74716e;--warning:#edba82;--radius:10px; color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Segoe UI",Arial,system-ui,sans-serif;font-size:14px;line-height:1.5}button,input{font:inherit}button{cursor:pointer}button:disabled,input:disabled{cursor:not-allowed;opacity:.43}button:focus-visible,label:focus-within,input:focus-visible{outline:2px solid var(--copper-strong);outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}.site-shell{max-width:1660px;margin:0 auto;padding:0 clamp(16px,4vw,70px)}.site-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #33302e;min-height:92px;gap:20px}.brand{display:flex;align-items:center;gap:14px}.brand-icon{font-size:34px;font-weight:800;letter-spacing:-4px;line-height:1;color:#f8f6f3}.brand-period{color:var(--copper-strong)}.brand-copy{display:flex;flex-direction:column;line-height:1.7;letter-spacing:1.8px}.brand-copy strong{font-size:11px}.brand-copy small{font-size:8px;color:var(--muted);letter-spacing:2.1px}.header-tag{border:1px solid #40362f;padding:9px 13px;border-radius:30px;color:var(--copper);font-size:10px;font-weight:700;letter-spacing:1.4px;white-space:nowrap}.secure-dot{display:inline-block;width:6px;height:6px;background:#9fba8a;border-radius:50%;margin-right:5px}.hero{padding:clamp(40px,5vw,75px) 0 55px;max-width:960px}.hero-topline,.eyebrow{color:var(--copper);font-size:10px;letter-spacing:2.8px;font-weight:800}.hero-topline{display:flex;align-items:center;gap:12px}.copper-line{height:1px;width:35px;background:var(--copper)}.hero h1{font-weight:600;line-height:1.1;letter-spacing:-2.8px;font-size:clamp(36px,4.5vw,70px);margin:18px 0 19px}.hero h1 em{font-style:normal;color:var(--copper-strong)}.hero p{color:#b5ada7;max-width:650px;font-size:16px;line-height:1.7}.hero-features{display:flex;flex-wrap:wrap;gap:16px 30px;margin-top:28px;color:#aaa09a;font-size:10px;font-weight:700;letter-spacing:1.4px}.hero-features span+span:before{content:"•";color:var(--copper);margin-right:23px}.studio{border:1px solid #39312d;background:#121212;box-shadow:0 24px 80px rgba(0,0,0,.2)}.studio-head{padding:24px 27px;background:linear-gradient(110deg,#1c1917,#141414);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #38312d;gap:15px}.studio-head h2{font-size:25px;letter-spacing:-.6px;margin:2px 0 0}.studio-head h2 span{font-weight:400;color:var(--copper)}.version{font-size:10px;letter-spacing:1.2px;color:#c4b3a6;white-space:nowrap}.version-divider{color:var(--copper);margin:0 6px}.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start}.work-area{min-width:0;border-right:1px solid #39312d}.uploadbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#191919;padding:16px 20px;border-bottom:1px solid var(--line2)}.uploadbar-copy,.section-title{display:flex;align-items:center;gap:12px}.uploadbar-copy strong,.section-title strong{display:block;font-size:13px}.uploadbar-copy small,.section-title small{display:block;color:var(--muted);font-size:11px}.step-nr{display:grid;place-items:center;flex-shrink:0;border:1px solid #6b5042;color:var(--copper);height:31px;width:31px;font-size:12px;font-weight:700}.upload-actions{display:flex;gap:8px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;padding:10px 15px;border-radius:3px;border:1px solid transparent;font-weight:700;font-size:12px;letter-spacing:.2px;white-space:nowrap}.btn-primary{background:var(--copper);border-color:var(--copper);color:#15110f}.btn-primary:hover:not(:disabled){background:#e5b38e}.btn-subtle{background:#272524;border-color:#463a33;color:#ece2da}.btn-subtle:hover{background:#312923}.btn-outline{background:transparent;border-color:#534034;color:#d8bbab}.btn-outline:hover:not(:disabled){background:#27211d}.btn-block{width:100%;margin-top:11px}.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.edit-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:9px 12px;background:#131313;border-bottom:1px solid var(--line2)}.tool{color:#c9c2bc;background:transparent;border:1px solid transparent;border-radius:4px;padding:8px 10px;white-space:nowrap;font-size:11px}.tool:hover:not(:disabled){background:#302923}.tool.active{background:#37271e;border-color:#6f4b34;color:#f4bd95}.tool-finish{background:#4b3528;border:1px solid #806049;color:#ffe6d4}.tool-symbol{font-size:17px;vertical-align:-1px;margin-right:4px}.toolbar-separator{height:19px;border-left:1px solid #51463f;margin:0 3px}.stage-frame{position:relative;background:#0b0b0b;overflow:hidden}.stage-scroll{width:100%;height:auto;min-height:340px;max-height:min(70vh,720px);overflow:auto;scrollbar-color:#71503b #202020}.empty-state{display:flex;min-height:380px;padding:35px 22px;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:radial-gradient(ellipse at 50% 48%,#2a211b 0%,#151515 45%,#101010 82%)}.empty-icon{font-size:58px;line-height:1;color:#af7955;margin-bottom:8px}.empty-state h3{font-size:19px;margin:10px 0}.empty-state p{color:#ada29b;max-width:400px;line-height:1.7;margin-bottom:21px}.stage{width:100%;position:relative;display:block;line-height:0;user-select:none;-webkit-user-select:none;background:#111}.stage[hidden]{display:none}.photo-layer,.interaction-layer{position:absolute;inset:0;width:100%;height:100%;display:block}.photo-layer{pointer-events:none}.before-layer{clip-path:inset(0 50% 0 0)}.interaction-layer{touch-action:none;cursor:crosshair;outline:none}.interaction-layer.mode-select{cursor:pointer;touch-action:auto}.compare-line{z-index:1;position:absolute;top:0;bottom:0;width:2px;background:#f3eadf;left:50%;transform:translateX(-50%);pointer-events:none;box-shadow:0 0 5px #0009}.compare-line span{position:absolute;display:grid;place-items:center;font-size:11px;width:40px;height:40px;top:50%;left:50%;transform:translate(-50%,-50%);color:#1b1715;background:#f1e5d9;border:2px solid #fff;border-radius:100px;box-shadow:0 3px 10px #0005}.zoom-controls{position:absolute;z-index:3;bottom:11px;right:11px;display:flex;align-items:center;gap:3px;padding:4px;background:#141414eb;border:1px solid #443a33;border-radius:5px;box-shadow:0 3px 14px #0008}.zoom-controls[hidden]{display:none}.zoom-controls button{width:29px;height:29px;background:transparent;border:0;color:#e6d4c6;font-size:21px}.zoom-controls button:hover{background:#3a2c24}.zoom-controls output{min-width:52px;text-align:center;color:#d9c7b9;font-size:11px}.drop-indicator{position:absolute;inset:10px;display:grid;place-items:center;border:2px dashed #e4ab81;background:#221911ed;font-size:17px;letter-spacing:2px;color:#ffe2c7;z-index:5;pointer-events:none}.drop-indicator[hidden]{display:none}.stage-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:41px;border-bottom:1px solid var(--line2);padding:10px 16px;background:#191919;color:var(--muted);font-size:11px}.message{max-width:80%}.message.error{color:#f3aa96}.file-info{white-space:nowrap;color:#877e78}.compare-panel{padding:19px 22px 23px}.slider-wrap{display:flex;align-items:center;gap:15px;margin-top:20px}.slider-wrap span{font-size:9px;color:var(--muted);white-space:nowrap;letter-spacing:1px}.slider-wrap input{flex:1;min-width:30px}.controls{background:#191919;min-width:0}.control-section{padding:22px;border-bottom:1px solid var(--line)}.control-section .help{font-size:11px;line-height:1.7;color:#b8aaa0;margin:18px 0}.help strong{color:#ead2be}.region-list{display:flex;flex-direction:column;gap:8px}.no-regions{background:#222;border:1px dashed #48403a;padding:15px;color:#928980;font-size:11px;text-align:center}.region-item{display:flex;align-items:center;gap:9px;border:1px solid #453d35;background:#222;padding:7px 9px}.region-item.selected{border-color:var(--copper);background:#302721}.region-pick{border:0;background:none;color:#ece2db;display:flex;align-items:center;min-width:0;flex:1;gap:8px;text-align:left;font-size:11px}.region-pick small{color:#968e88;display:block}.region-swatch{width:21px;height:21px;border:1px solid #aaa4;flex-shrink:0}.region-delete{border:0;background:#3c2b25;color:#f1c1a2;border-radius:3px;font-size:15px;padding:3px 8px}.region-delete:hover{background:#694131}.title-compact{justify-content:space-between}.side-hint{font-size:9px;color:#9f8270;letter-spacing:1px}.palette{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:17px 0 19px}.swatch{aspect-ratio:1;min-width:0;position:relative;background:var(--swatch);border:2px solid #2b2927;border-radius:3px}.swatch:hover,.swatch.chosen{outline:2px solid var(--copper);outline-offset:1px}.swatch.chosen::after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;color:#fff;text-shadow:0 1px 4px #000;font-size:16px}.color-picker-row{display:flex;align-items:stretch;gap:10px;margin-bottom:16px}.color-native-label{width:54px;min-width:54px;border:1px solid #55483e;background:#282421;padding:5px;display:grid;place-items:center;border-radius:3px;cursor:pointer}.color-native-label input{height:33px;width:100%;padding:0;border:0;background:none;cursor:pointer}.color-native-label input::-webkit-color-swatch-wrapper{padding:0}.color-native-label input::-webkit-color-swatch{border:0}.color-picker-row>label:last-child{font-size:9px;color:#aaa19b;letter-spacing:1px;flex:1}.color-picker-row input[type=text]{margin-top:3px;display:block;width:100%;background:#111;border:1px solid #54433a;border-radius:3px;color:#f2e0d3;padding:9px 10px;font-size:13px;letter-spacing:1px}.range-head{display:flex;justify-content:space-between;gap:10px;margin:12px 0 5px;font-size:11px;color:#cfc4bd}.range-head output{color:var(--copper)}input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:5px;border-radius:5px;background:#5b4a3e;outline:0;cursor:pointer}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--copper-strong);border:2px solid #2d1c13;width:16px;height:16px;border-radius:50%;box-shadow:0 0 0 1px #c0906a}input[type=range]::-moz-range-thumb{background:var(--copper-strong);border:2px solid #2d1c13;width:14px;height:14px;border-radius:50%}#hueSlider{background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.sliders-divider{margin-top:21px;border-top:1px solid #43372f}.fineprint{font-size:10px;color:#96877d;line-height:1.6;margin:21px 0 0}.export-section>strong{font-size:14px}.export-section p{color:#ab9e94;font-size:11px;line-height:1.6;margin:9px 0 17px}.trust-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;padding:35px 8px 40px;border-bottom:1px solid #332f2d}.trust-bar>div{display:flex;flex-direction:column;gap:2px;padding-left:36px;position:relative}.trust-bar>div>span{position:absolute;left:0;font-size:26px;line-height:1;color:var(--copper)}.trust-bar strong{font-size:12px}.trust-bar small{font-size:11px;color:var(--muted)}.footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:29px 0 40px;color:#77706b;font-size:10px;letter-spacing:1px}.footer-split{color:var(--copper);margin:0 5px}
@media(max-width:1100px){.studio-grid{grid-template-columns:minmax(0,1fr) 310px}.control-section{padding:17px}.uploadbar{padding:14px}.edit-toolbar{padding:8px}.tool{padding:7px 8px}.tool-label{display:none}}
@media(max-width:800px){.studio-grid{grid-template-columns:minmax(0,1fr)}.work-area{border-right:0}.controls{border-top:1px solid var(--line)}.controls{display:grid;grid-template-columns:1fr 1fr}.control-section:first-child{grid-column:1/-1}.control-section:nth-child(2){border-right:1px solid var(--line)}.hero{padding:42px 0 35px}.studio-head{padding:18px}.version{font-size:9px}}
@media(max-width:580px){.site-shell{padding:0 12px}.site-header{min-height:75px}.brand-icon{font-size:27px}.brand-copy strong{font-size:9px;letter-spacing:1px}.brand-copy small{font-size:7px;letter-spacing:1px}.header-tag{font-size:8px;padding:8px;letter-spacing:.3px}.hero{padding:34px 4px 32px}.hero h1{font-size:clamp(33px,9vw,47px);letter-spacing:-1px}.hero p{font-size:13px;line-height:1.7}.hero-features{gap:10px;margin-top:21px}.hero-features span{font-size:9px}.hero-features span+span:before{margin-right:9px}.studio-head{align-items:flex-start;flex-direction:column;gap:8px}.studio-head h2{font-size:22px}.upload-actions{width:100%;gap:8px}.upload-actions .btn{flex:1}.uploadbar-copy{width:100%}.edit-toolbar{gap:2px}.tool{padding:7px 6px;font-size:10px}.tool-symbol{font-size:14px;margin-right:1px}.toolbar-separator{display:none}.tool-finish{margin-left:auto}.stage-scroll{min-height:260px;max-height:64vh}.empty-state{min-height:310px;padding:18px}.empty-state h3{font-size:17px}.empty-state p{font-size:12px}.stage-footer{flex-wrap:wrap;gap:3px}.message{max-width:100%}.compare-panel{padding:16px 12px}.slider-wrap{gap:7px}.slider-wrap span{font-size:8px;letter-spacing:0}.controls{display:block}.control-section{padding:18px}.control-section:nth-child(2){border-right:0}.palette{grid-template-columns:repeat(6,minmax(0,1fr))}.trust-bar{grid-template-columns:1fr;gap:18px;padding:29px 8px}.footer{padding:20px 0 28px;font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* V1.2: Caparol-3D-Farbauswahl und Bild-Zoom 10–300 %. */
.stage{margin-left:auto;margin-right:auto;}
.zoom-controls{gap:5px;max-width:calc(100% - 18px);}
.zoom-controls #zoomRange{width:110px;min-width:60px;flex:0 1 110px;}
.zoom-controls .zoom-preset{width:auto;min-width:42px;padding:0 6px;font-size:10px;border-left:1px solid #4b3a30;}
.zoom-controls output{min-width:42px;}
.caparol-heading{display:flex;align-items:center;gap:12px;margin-top:14px;padding:12px 10px;background:#25201c;border:1px solid #6c4933;}
.caparol-emblem{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;font-size:19px;font-weight:900;color:#170e09;background:#c99772;}
.caparol-heading strong{font-size:13px;display:block;}
.caparol-heading small{font-size:10px;color:#c1a58f;display:block;margin-top:2px;}
.caparol-filters{display:flex;gap:9px;flex-direction:column;margin-top:14px;}
.caparol-filters label{font-size:11px;color:#c8b5a6;}
.caparol-filters input,.caparol-filters select{display:block;width:100%;padding:10px 12px;margin-top:4px;background:#131313;border:1px solid #5e4838;border-radius:3px;color:#f5ede6;outline-offset:2px;}
.caparol-filters input:focus,.caparol-filters select:focus{outline:2px solid var(--copper);}
.palette{max-height:220px;overflow-y:auto;grid-template-columns:repeat(7,minmax(0,1fr));padding:6px;align-content:start;border:1px solid #39312d;background:#151515;}
.palette-empty{font-size:11px;color:#cbb6a6;grid-column:1/-1;}
.caparol-selected{margin:15px 0 10px;display:flex;align-items:center;gap:12px;background:#251f1b;border:1px solid #554235;padding:10px;min-height:64px;}
.chosen-sample{width:41px;height:41px;display:block;flex:0 0 41px;border:1px solid #fff5;}
.caparol-selected strong{font-size:12px;display:block;}
.caparol-selected small{font-size:10px;display:block;color:#bfa996;}
.caparol-picker-row{margin-top:12px;align-items:center;}
.caparol-picker-row>div{flex:1;min-width:0;}
.caparol-picker-row strong{display:block;font-size:11px;}
.caparol-picker-row small{display:block;font-size:10px;color:#9d9188;line-height:1.5;}
.palette-import{border-top:1px solid #4e3c32;margin:16px 0 8px;padding-top:12px;font-size:11px;}
.palette-import summary{cursor:pointer;color:#d6a17f;line-height:1.6;}
.palette-import p{margin:11px 0;color:#ac9d92;line-height:1.65;}
.palette-import .btn{white-space:normal;text-align:center;}
@media(max-width:580px){.zoom-controls{right:5px;bottom:7px;gap:2px;padding:3px;}.zoom-controls #zoomRange{width:70px;min-width:50px;}.zoom-controls output{min-width:35px;font-size:10px;}.zoom-controls button{width:25px;height:28px;font-size:16px;}.zoom-controls .zoom-preset{min-width:33px;font-size:9px;padding:0 3px;}.palette{grid-template-columns:repeat(7,minmax(0,1fr));max-height:200px;}}

/* HK Maler Black Edition – originalgetreues Firmenlogo, wie in Hauptwebsite V5.2 */
.site-shell{max-width:1380px;padding-inline:clamp(16px,3.4vw,48px)}
.site-header{min-height:90px;gap:16px;padding-block:8px}
.brand{min-width:0;flex:0 1 325px;display:flex;align-items:center;line-height:0}
.brand-logo{display:block;width:min(100%,325px);height:auto;max-height:74px;object-fit:contain;object-position:left center}
.brand:hover .brand-logo,.brand:focus-visible .brand-logo{filter:brightness(1.13)}
.brand:focus-visible,.footer-brand:focus-visible{outline:2px solid var(--copper-strong);outline-offset:5px}
.hero{padding-block:clamp(34px,4vw,56px) clamp(30px,3.5vw,44px)}
.hero h1{font-size:clamp(36px,4vw,60px);letter-spacing:-1.6px}
.footer{align-items:center}
.footer-brand{display:block;line-height:0;flex:0 1 235px}
.footer-brand img{width:min(100%,235px);height:auto;display:block}
@media(max-width:700px){
  .site-header{min-height:77px;gap:12px}
  .brand{flex:0 1 248px}
  .brand-logo{width:min(100%,248px);max-height:58px}
  .header-tag{font-size:9px;letter-spacing:.5px;padding:8px 10px}
}
@media(max-width:580px){
  .site-shell{padding-inline:14px}
  .site-header{align-items:flex-start;flex-direction:column;justify-content:center;gap:4px;min-height:100px;padding-block:12px}
  .brand{flex:none;width:clamp(218px,70vw,265px);max-width:100%}
  .brand-logo{width:100%;max-height:62px}
  .header-tag{align-self:flex-start;white-space:normal;padding:4px 9px;font-size:8px;letter-spacing:1px}
  .hero{padding-top:30px}
  .footer-brand{flex:none;width:min(220px,75vw)}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* HK-Maler V6: sichere Navigation zwischen Farbstudio und Hauptseite */
.studio-header-links{margin-left:auto;display:flex;align-items:center;gap:14px;min-width:0}
.back-to-site{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:42px;padding:9px 15px;border:1px solid #85563f;border-radius:4px;color:#f0d3bf;text-decoration:none;font-size:12px;font-weight:700;transition:background .2s,border-color .2s}
.back-to-site:hover,.back-to-site:focus-visible{background:#302119;border-color:#cc9873;color:#fff}
.footer-home-link{color:#e6ad86;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){.studio-header-links{gap:8px}.back-to-site{min-height:40px;padding:7px 11px;font-size:11px}}
@media(max-width:580px){.studio-header-links{margin-left:0;align-self:stretch;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.header-tag{align-self:center}.back-to-site{min-height:40px}.site-header{min-height:112px}}
