/* Galerie-Ergänzungen – passend zum Design der Startseite */
.gallery-intro { background:var(--aqua); padding:42px 0 32px; }
.gallery-intro h1 { color:var(--plum); font-size:clamp(30px,4vw,46px); margin:0 0 12px; }
.gallery-intro p { line-height:1.55; max-width:760px; margin:0 0 16px; }
.gallery-switch { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.gallery-switch a { background:white; color:var(--plum); border:2px solid var(--plum); border-radius:6px; padding:10px 15px; font-weight:700; }
.gallery-switch a.current,.gallery-switch a:hover {background:var(--plum);color:white}
.gallery-section {background:#f7f6f2;padding:28px 0 52px}
.gallery-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.art-card {background:white;box-shadow:0 5px 18px #00000016;border-radius:7px;overflow:hidden;display:flex;flex-direction:column}
.art-image {border:0;background:#eeece7;padding:11px;cursor:zoom-in;width:100%;height:220px;display:flex;align-items:center;justify-content:center}
.art-image img {max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;border:4px solid #454545;box-shadow:3px 4px 9px #0003;background:white}
.art-details {padding:13px 14px 16px;flex:1;display:flex;flex-direction:column}
.art-details h2 {font-size:17px;color:var(--plum);margin:0 0 10px;line-height:1.25}
.art-details p {font-size:13px;line-height:1.6;margin:0 0 12px}
.art-details a {margin-top:auto;display:block;background:var(--olive);color:white;padding:10px;border-radius:5px;text-align:center;font-size:13px;font-weight:700}
.gallery-note {font-size:13px;color:#555;margin-top:22px}
.lightbox {display:none;position:fixed;inset:0;background:#000e;z-index:99;align-items:center;justify-content:center;padding:50px 20px}
.lightbox.open {display:flex}.lightbox img {max-width:95%;max-height:90%;object-fit:contain}
.lightbox button {position:absolute;top:15px;right:20px;border:0;background:white;border-radius:5px;font-size:24px;padding:5px 12px;cursor:pointer}
@media(max-width:950px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.art-image{height:170px;padding:7px}.art-details{padding:10px}.art-details h2{font-size:15px}}
@media(max-width:370px){.gallery-grid{grid-template-columns:1fr}.art-image{height:260px}}
/* Motivdetail und Warenkorb */
.art-details .choose-product{margin-top:auto;display:block;width:100%;border:0;background:var(--olive);color:#fff;padding:10px;border-radius:5px;text-align:center;font-size:13px;font-weight:700;cursor:pointer}
.shop-modal-open{overflow:hidden}
.shop-overlay[hidden]{display:none!important}
.shop-overlay{position:fixed;inset:0;z-index:200;background:#000b;display:flex;justify-content:center;align-items:center;padding:18px;overflow-y:auto}
.shop-dialog{position:relative;width:min(850px,100%);max-height:95vh;overflow-y:auto;background:#fff;border-radius:12px;padding:25px;color:#222}
.shop-close{position:absolute;top:10px;right:14px;border:0;background:transparent;font-size:30px;cursor:pointer}
.shop-back{border:0;background:none;color:var(--plum);font-weight:700;cursor:pointer;padding:7px 0 20px}
.shop-product{display:grid;grid-template-columns:1.1fr 1fr;gap:24px}
.shop-product>img{width:100%;max-height:430px;object-fit:contain;background:#f5f4f0}
.shop-info{display:flex;flex-direction:column;gap:9px}.shop-info h2{color:var(--plum);margin:0}.shop-info p{margin:0 0 5px}
.shop-info label{font-weight:700}.shop-info select,.shop-info input{padding:11px;border:1px solid #aaa;border-radius:5px;width:100%;font:inherit}
.shop-info input{max-width:110px}.shop-primary{background:var(--plum);color:white;border:0;padding:14px;border-radius:6px;font-weight:700;cursor:pointer}
.shop-total{font-weight:700}.shop-confirm{color:#315d15;font-weight:700}.shop-cartlink{color:var(--plum);font-weight:700}
.cart-page{background:#f7f6f2;padding:30px 0 60px;min-height:55vh}.cart-panel{background:white;border-radius:9px;padding:22px}
.cart-row{display:grid;grid-template-columns:105px 1fr auto;gap:20px;align-items:center;padding:15px 0;border-bottom:1px solid #ddd}.cart-row img{width:105px;height:105px;object-fit:contain}.cart-row h3{margin:0 0 6px;color:var(--plum)}.cart-row p{margin:0 0 8px}.cart-row input{width:68px;padding:7px;margin-right:10px}.cart-row button{border:0;background:#eee;padding:8px;cursor:pointer}.cart-summary{max-width:380px;margin:24px 0 24px auto}.cart-summary>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0}.cart-grand{font-size:20px;border-top:2px solid var(--plum)}.cart-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.cart-actions a{color:var(--plum);font-weight:700}.cart-actions button{background:var(--plum);color:white;border:0;border-radius:5px;padding:13px 18px;cursor:pointer}.cart-actions button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:650px){.shop-product{grid-template-columns:1fr}.shop-product>img{max-height:260px}.cart-row{grid-template-columns:75px 1fr;gap:10px}.cart-row img{width:75px;height:80px}.cart-row>strong{grid-column:2}}

/* Sandmännchen-Tabs und Originale */
.gallery-switch{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.gallery-switch a{padding:11px 17px;background:#eee;border-radius:5px;color:var(--plum);font-weight:700}.gallery-switch a.current{background:var(--plum);color:white}
.original-price{font-size:20px!important;font-weight:700;color:var(--plum)}.unpriced{color:#666;font-size:13px}.gallery-section[hidden]{display:none!important}.lightbox{position:fixed;inset:0;background:#000d;display:none;align-items:center;justify-content:center;z-index:100;padding:35px}

/* Sandmännchen: schmalere Galerie mit großzügigen Seitenabständen */
body:has(#sandBilder) .gallery-section > .wrap {max-width:1050px;padding-left:32px;padding-right:32px;margin-inline:auto;}
body:has(#sandBilder) .gallery-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
body:has(#sandBilder) .art-image {height:205px;padding:20px;}
body:has(#sandBilder) .art-image img {max-width:88%;max-height:90%;width:auto;height:auto;}
@media(max-width:700px){body:has(#sandBilder) .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}body:has(#sandBilder) .gallery-section > .wrap{padding-inline:18px}}
@media(max-width:420px){body:has(#sandBilder) .gallery-grid{grid-template-columns:1fr}}
