/* Druck und Zauber — Shop: Katalog, Produktkarte, Produktseite */

.breadcrumb { font-size: 0.85rem; color: var(--gray-mid); margin-bottom: 1rem; }
.breadcrumb a { color: var(--mint-text); text-decoration: none; font-weight: 600; }
@media (hover: hover) { .breadcrumb a:hover { text-decoration: underline; } }

.shop-head { padding-bottom: 1.5rem; }
.shop-head h1 { max-width: 720px; }

/* ---------- Katalog-Layout ---------- */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; padding: 1rem var(--gutter) 5rem; align-items: start; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; gap: 1.5rem; } }
.shop-filters { position: sticky; top: 84px; }
@media (max-width: 900px) { .shop-filters { position: static; } }
.shop-search { display: flex; gap: 0.5rem; margin-bottom: 1.6rem; }
.shop-search input { flex: 1; min-width: 0; padding: 0.7rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-pill); font: inherit; font-size: 0.95rem; }
.shop-search input:focus { outline: 2px solid var(--mint-dark); outline-offset: 2px; }
.shop-search .btn { padding-inline: 1.1rem; }
.filter-title { font-family: 'Nunito', sans-serif; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mint-text); margin: 1.4rem 0 0.6rem; }
.filter-list { list-style: none; }
.filter-list a { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0.8rem; border-radius: 12px; color: var(--gray); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: background var(--dur-fast); }
@media (hover: hover) { .filter-list a:hover { background: var(--mint-pale); } }
.filter-list a.is-active { background: var(--mint-pale); color: var(--mint-text); }
.filter-list .count { font-size: 0.75rem; color: var(--gray-mid); font-weight: 400; }
.chips--left { justify-content: flex-start; max-width: none; margin: 0; }
.chips--left .chip { padding: 0.45rem 0.95rem; font-size: 0.85rem; }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.shop-count { color: var(--gray-mid); font-size: 0.9rem; }
.shop-sort { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.shop-sort a { padding: 0.4rem 0.8rem; border-radius: var(--radius-pill); font-size: 0.82rem; font-weight: 700; color: var(--gray); text-decoration: none; }
@media (hover: hover) { .shop-sort a:hover { background: var(--mint-pale); } }
.shop-sort a.is-active { background: var(--mint-pale); color: var(--mint-text); }
.shop-empty { text-align: center; padding: 4rem 1rem; color: var(--gray); }
.shop-empty svg { width: 48px; height: 48px; fill: var(--mint-light); margin-bottom: 1rem; }
.shop-empty p { margin-bottom: 1.2rem; }
.pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: 2.5rem; }
.pagination a { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; text-decoration: none; color: var(--gray); font-weight: 700; }
@media (hover: hover) { .pagination a:not(.is-active):hover { background: var(--mint-pale); } }
.pagination a.is-active { background: var(--mint-deep); color: #fff; border-color: var(--mint-deep); }

/* ---------- Produktkarte ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.product-card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.product-card:active { transform: scale(0.985); }
.product-img { width: 100%; aspect-ratio: 4/5; background: var(--mint-pale); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
@media (hover: hover) { .product-card:hover .product-img img { transform: scale(1.03); } }
.product-img svg { width: 56px; height: 56px; fill: var(--mint-light); }
.product-body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-cat { font-size: 0.66rem; }
.product-body h3 { font-size: 1.15rem; }
.product-body p { font-size: 0.92rem; color: var(--gray); line-height: 1.6; }
.product-meta { margin-top: auto; padding-top: 0.6rem; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--mint-text); font-variant-numeric: tabular-nums; }
.products-note { margin-top: 2.2rem; font-size: 0.95rem; color: var(--gray); }
.products-note a { color: var(--mint-text); font-weight: 700; }

/* ---------- Produktseite ---------- */
.product { padding: 6.5rem var(--gutter) 4rem; max-width: var(--container); margin: 0 auto; }
.product-layout { display: grid; grid-template-columns: 55fr 45fr; gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: 2rem; } }
.product-buy { position: sticky; top: 88px; }
@media (max-width: 900px) { .product-buy { position: static; } }
.gallery-main { aspect-ratio: 4/5; background: var(--mint-pale); border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; color: var(--gray-mid); font-size: 0.85rem; }
.gallery-placeholder svg { width: 64px; height: 64px; fill: var(--mint-light); }
.gallery-thumbs { display: flex; gap: 0.6rem; margin-top: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.3rem; }
.gallery-thumb { flex: 0 0 72px; aspect-ratio: 4/5; border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; background: var(--mint-pale); cursor: pointer; scroll-snap-align: start; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.is-active { border-color: var(--mint-dark); }
.gallery-thumb:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 2px; }

.product-buy h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0.3rem 0 0.6rem; }
.product-short { color: var(--gray); font-size: 1.02rem; margin-bottom: 1.2rem; }
.price-block { margin-bottom: 0.8rem; }
.price { font-family: 'Nunito', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--black); font-variant-numeric: tabular-nums; line-height: 1.2; }
.price-note { font-size: 0.82rem; color: var(--gray-mid); }
.price-note a { color: var(--mint-text); }
.availability { margin-bottom: 1.4rem; }

.option-group { border: none; margin: 0 0 1.2rem; }
.option-group legend { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
.optional { font-weight: 400; color: var(--gray-mid); font-size: 0.85rem; }
.chip--input { position: relative; cursor: pointer; gap: 0.5rem; }
.chip--input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip--input:has(input:checked) { background: var(--mint-pale); border-color: var(--mint); color: var(--mint-text); }
.chip--input:has(input:focus-visible) { outline: 2px solid var(--mint-dark); outline-offset: 2px; }
.chip--input small { font-size: 0.75rem; color: var(--gray-mid); }
.chip--input:active { transform: scale(0.97); }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.35rem; }
.field label small { font-weight: 400; color: var(--gray-mid); }
.field input, .field textarea { width: 100%; padding: 0.75rem 0.95rem; border: 1px solid var(--border); border-radius: 12px; font: inherit; font-size: 1rem; background: #fff; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-pale); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 2px; }
.field input:invalid:not(:placeholder-shown), .field .is-invalid { border-color: #C0392B; }
.field-hint { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: var(--gray-mid); margin-top: 0.3rem; }
.field-hint .counter { font-variant-numeric: tabular-nums; white-space: nowrap; }
.field-hint .counter.is-full { color: var(--amber-text); font-weight: 700; }

.qty-row { display: flex; align-items: center; gap: 1rem; margin: 0.4rem 0 1.2rem; }
.qty-row label { font-weight: 700; font-size: 0.95rem; }
.qty-stepper { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; }
.qty-btn { width: 44px; height: 44px; border: none; background: #fff; font-size: 1.2rem; cursor: pointer; color: var(--mint-text); }
@media (hover: hover) { .qty-btn:hover { background: var(--mint-pale); } }
.qty-btn:active { background: var(--mint-light); }
.qty-stepper input { width: 56px; text-align: center; border: none; font: inherit; font-size: 1rem; font-weight: 700; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.btn-cart { font-size: 1rem; padding: 1rem 1.7rem; }
.btn-cart[disabled] { background: var(--gray-light); cursor: not-allowed; transform: none; }
.btn-cart.is-added { background: var(--mint-text); }
.cart-hint { margin-top: 0.6rem; font-size: 0.85rem; color: var(--mint-text); }

.trust { list-style: none; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--border); display: grid; gap: 0.5rem; }
.trust li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--gray); }
.trust svg { width: 20px; height: 20px; fill: none; stroke: var(--mint-dark); stroke-width: 1.6; flex: none; }

.product-details { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
@media (max-width: 900px) { .product-details { grid-template-columns: 1fr; gap: 2rem; } }
.product-details h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.product-facts dl { display: grid; gap: 0.2rem 1rem; }
.product-facts dt { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mint-text); margin-top: 0.8rem; }
.product-facts dd { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }
.gpsr { margin-top: 1.6rem; font-size: 0.85rem; }

.related { margin-top: 4rem; }
.related h2 { margin-bottom: 1.4rem; }

/* Sticky-Kaufleiste mobil */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); border-top: 1px solid var(--border); transform: translateY(100%); transition: transform var(--dur) var(--ease-out); }
.sticky-cta.is-visible { transform: none; }
.sticky-price { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
@media (min-width: 901px) { .sticky-cta { display: none; } }
@media (max-width: 900px) { .page-product .wa-fab { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta, .product-img img { transition: none; } }

/* ---------- Anfrage ---------- */
.inquiry-body { max-width: 760px; }
.inquiry-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inquiry-form .field select { width: 100%; padding: 0.75rem 0.95rem; border: 1px solid var(--border); border-radius: 12px; font: inherit; font-size: 1rem; color: var(--black); background-color: var(--white); }
.inquiry-form input[type="file"] { padding: 0.5rem 0; border: none; }

/* ---------- Kalkulator ---------- */
.quote-body { max-width: 980px; display: grid; gap: 1.4rem; }
.quote-step { padding: 1.6rem; }
.quote-step h2 { font-size: 1.3rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.dropzone-public { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 2.4rem 1rem; border: 2px dashed var(--mint-light); border-radius: var(--radius-card); background: var(--mint-pale); cursor: pointer; text-align: center; color: var(--gray); transition: border-color var(--dur-fast), background var(--dur-fast); }
.dropzone-public.drag, .dropzone-public:focus-visible { border-color: var(--mint-dark); background: #fff; outline: none; }
@media (hover: hover) { .dropzone-public:hover { border-color: var(--mint-dark); background: #fff; } }
.dropzone-public svg { width: 40px; height: 40px; fill: none; stroke: var(--mint-dark); stroke-width: 1.6; }
.dropzone-public strong { color: var(--black); }
.dropzone-public span { font-size: 0.85rem; }
.quote-progress { margin-top: 0.8rem; color: var(--mint-text); font-weight: 700; }
.quote-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
@media (max-width: 800px) { .quote-layout { grid-template-columns: 1fr; } }
.quote-file { margin-bottom: 1rem; }
.quote-result { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1.3rem; position: sticky; top: 88px; }
.quote-result .price { margin: 0.3rem 0 0; }
.quote-facts { display: grid; gap: 0.3rem; margin: 1rem 0; }
.quote-facts div { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--gray); }
.quote-facts dt { font-weight: 700; }
.quote-actions { display: grid; gap: 0.6rem; margin-top: 1rem; }
.quote-body .field select { width: 100%; padding: 0.75rem 0.95rem; border: 1px solid var(--border); border-radius: 12px; font: inherit; font-size: 1rem; color: var(--black); background-color: var(--white); }

/* ---- Firmen & Vereine (/firmen-und-vereine) + Hinweise auf /anfrage ---- */
.inquiry-occasion { margin-bottom: 1.1rem; }
.inquiry-business-hint { margin-top: 2rem; }
.page-firmen .page-head { max-width: 860px; }
.page-firmen .page-head .section-intro { max-width: 640px; margin-bottom: 1.4rem; }
.page-firmen .firmen-section { padding: 3.5rem var(--gutter); max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; }
.page-firmen .firmen-section .section-head { margin-bottom: 2rem; }
.page-firmen .firmen-section--alt { background: var(--bg-alt); max-width: none; }
.page-firmen .firmen-section--alt > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.offer-card { padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.offer-card h3 { font-size: 1.15rem; margin: 0; }
.offer-card p { font-size: 0.95rem; color: var(--gray); line-height: 1.7; margin: 0; }
.offer-card .offer-price { margin-top: auto; padding-top: 0.6rem; font-size: 0.8rem; color: var(--mint-text); font-weight: 700; }
.offer-card .offer-price a { color: inherit; }
.steps--5 { grid-template-columns: repeat(5, 1fr); margin-top: 1.4rem; }
@media (max-width: 1000px) { .steps--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .steps--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps--5 { grid-template-columns: 1fr; } }
.firmen-pay { margin-top: 1.4rem; font-size: 0.95rem; color: var(--gray); max-width: 760px; }
.firmen-notice { max-width: 760px; font-size: 1rem; }
.firmen-trust { border-top: none; margin-top: 0; padding-top: 0; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.firmen-trust li { align-items: flex-start; font-size: 0.95rem; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.1rem; }
.firmen-trust svg { margin-top: 2px; }
.firmen-form-wrap { max-width: 760px; }
.firmen-form-wrap .segmented { margin-top: 0.4rem; }
.firmen-form-wrap .chips { margin: 0.2rem 0 0.4rem; }
.firmen-form-wrap .chips .chip--input { padding: 0.5rem 1rem; font-size: 0.88rem; }
.firmen-form-wrap fieldset.field { border: none; padding: 0; min-width: 0; }
.firmen-form-wrap fieldset.field legend { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.35rem; padding: 0; }
.firmen-form-wrap .field input[type="date"] { width: 100%; }
.firmen-faq .faq-list { margin: 0; max-width: 760px; }
