/* ==========================================================================
   Mietshop – Ergänzungen zum Basis-Stylesheet
   ========================================================================== */

:root { --topbar-h: 34px; --catbar-h: 48px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body { background: var(--paper); }

/* ----- Header ----- */
.shop-header { height: auto; background: rgb(var(--t22) / .97); box-shadow: 0 1px 0 var(--line-dark); }
.shop-header::before { display: none; }
.shop-header.is-scrolled { background: rgb(var(--t22) / .97); }
.shop-header .header-inner { height: var(--header-h); gap: 22px; }
.topbar { height: var(--topbar-h); overflow: hidden; background: rgb(var(--t15)); border-bottom: 1px solid var(--line-dark); transition: height .3s var(--ease), opacity .3s var(--ease); }
.shop-header.is-scrolled .topbar { height: 0; opacity: 0; border: 0; }
.topbar__inner { height: 100%; max-width: calc(1400px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 22px; font-size: .8rem; }
.topbar a, .topbar__note { display: inline-flex; align-items: center; gap: .45em; color: rgba(255, 255, 255, .78); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .icon { color: var(--red); }
.topbar__note { margin-left: auto; }
.shop-brand { --h: 44px; align-items: center; gap: .35em; }
.shop-brand__text { display: flex; flex-direction: column; line-height: 1; }
.shop-brand__text .brand__group { margin: 0; font-size: 1.3rem; }
.shop-brand__text small { font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--red); margin-top: 3px; }
.site-header.is-scrolled .shop-brand { --h: 40px; }

.shop-search { position: relative; display: flex; flex: 1; max-width: 620px; margin: 0 auto; }
.shop-search input {
  width: 100%; height: 46px; padding: 0 54px 0 18px; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 2px solid transparent; border-radius: 24px; outline: 0; transition: border-color .2s, box-shadow .2s;
}
.shop-search input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgb(var(--red-rgb) / .2); }
.shop-search > button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; }
.shop-search > button .icon { width: 18px; height: 18px; }
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); }
.search-suggest__item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-light); }
.search-suggest__item:hover { background: var(--paper); }
.search-suggest__item img { width: 44px; height: 58px; object-fit: contain; flex: none; background: #fff; }
.search-suggest__item strong { display: block; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.search-suggest__item small { color: var(--mute-light); font-size: .8rem; }
.search-suggest__all { display: block; padding: 12px 14px; font-weight: 600; color: var(--red); text-decoration: none; background: var(--paper); }
.search-suggest__empty { margin: 0; padding: 14px; color: var(--mute-light); }

.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 24px; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; flex: none; transition: background-color .2s; }
.cart-btn:hover { background: var(--red-600); }
.cart-btn .icon { width: 22px; height: 22px; }
.cart-btn__count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #fff; color: var(--red); font-size: .8rem; display: grid; place-items: center; font-weight: 700; }
.cart-btn__count.is-empty { opacity: .75; }

.catbar { background: rgb(var(--t31)); border-top: 1px solid var(--line-dark); }
.catbar__inner { position: relative; max-width: calc(1400px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); height: var(--catbar-h); display: flex; align-items: center; gap: 4px; }
.catbar .nav-link { height: var(--catbar-h); padding: 0 14px; font-size: .92rem; }
.catbar .nav-link::after { bottom: 0; }
.catbar__all > .nav-link { background: rgba(255, 255, 255, .05); font-weight: 600; }
.catbar__all.is-open > .nav-link, .catbar__all:hover > .nav-link { background: var(--red); }
.catbar__all.is-open > .nav-link::after { display: none; }
.catbar__link { display: inline-flex; align-items: center; gap: .35em; height: var(--catbar-h); padding: 0 14px; color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .92rem; font-weight: 500; position: relative; white-space: nowrap; }
.catbar__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.catbar__link:hover, .catbar__link.is-active { color: #fff; }
.catbar__link:hover::after, .catbar__link.is-active::after { transform: scaleX(1); }
.catbar__link--ext { margin-left: auto; color: rgba(255, 255, 255, .6); }
.catbar .mega { left: 0; right: 0; }
.mega__inner--cats { grid-template-columns: 1fr; margin-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.mega__grid--cats { grid-template-columns: repeat(4, 1fr); }
.mega__grid--cats .mega__thumb { background: #fff; }

.mobile-nav { padding-top: calc(var(--header-h) + 20px); }
.shop-search--mobile { margin: 0 0 18px; max-width: none; }
.nav-open .shop-header .topbar { height: 0; opacity: 0; }

/* ----- Hero ----- */
.hero--shop { min-height: clamp(520px, 72vh, 760px); display: flex; align-items: center; padding-top: calc(var(--header-h) + var(--topbar-h) + var(--catbar-h)); }
.hero--shop .hero__content { padding-top: 40px; padding-bottom: 70px; }
.hero--shop .hero__title { font-size: clamp(2.6rem, 5.5vw + .4rem, 5.6rem); max-width: 14ch; }
.hero--shop .hero__lead { max-width: 640px; margin: 1.2rem 0 2rem; color: rgba(255, 255, 255, .9); font-size: clamp(1rem, .4vw + .9rem, 1.15rem); }
.shop-search--hero { margin: 0; max-width: 720px; }
.shop-search--hero input { height: 62px; font-size: 1.05rem; padding-right: 150px; border-radius: 32px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); }
.shop-search--hero > .btn { position: absolute; right: 6px; top: 6px; width: auto; height: 50px; min-height: 50px; padding: 0 22px; border-radius: 26px; display: inline-flex; }
.shop-search--hero > .btn .icon { width: 18px; height: 18px; }
.hero--shoppage { min-height: 0; padding-top: calc(var(--header-h) + var(--topbar-h) + var(--catbar-h)); }
.hero--shoppage { min-height: calc(var(--header-h) + var(--topbar-h) + var(--catbar-h) + clamp(280px, 38vh, 400px)); display: flex; align-items: flex-end; }
.hero--shoppage .hero__img { background-position: center 40%; }
.hero--shoppage .hero__shade { background: linear-gradient(90deg, rgb(0 0 0 / calc(.7 * var(--shade-page))) 0%, rgb(0 0 0 / calc(.35 * var(--shade-page))) 45%, rgb(0 0 0 / calc(.1 * var(--shade-page))) 100%), linear-gradient(to bottom, rgb(0 0 0 / calc(.25 * var(--shade-page))), transparent 40%, rgb(0 0 0 / calc(.45 * var(--shade-page)))); }
.hero--shoppage .hero__content { padding-top: 60px; padding-bottom: 56px; }
.hero--shoppage .hero__title { font-size: clamp(2rem, 3vw + 1rem, 3.6rem); max-width: none; }
.hero--shoppage .hero__meta { margin-top: .6rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; margin-bottom: 14px; color: rgba(255, 255, 255, .7); }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs--dark { color: var(--mute-light); margin-bottom: 22px; }
.crumbs--dark a { color: var(--ink); }

/* ----- Kategorie-Kacheln ----- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-tile { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line-light); box-shadow: 0 16px 40px -30px rgba(0, 0, 0, .45); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.cat-tile:hover { transform: translateY(-5px); border-color: rgb(var(--red-rgb) / .5); box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .55); }
.cat-tile__media { height: 150px; display: grid; place-items: center; background: radial-gradient(circle at 50% 70%, rgb(var(--glow-rgb, var(--red-rgb)) / calc(.12 * var(--glow, 1))), #fff 70%); padding: 16px; }
.cat-tile__media img { max-height: 118px; width: auto; max-width: 80%; object-fit: contain; transition: transform .5s var(--ease); }
.cat-tile:hover .cat-tile__media img { transform: scale(1.07); }
.cat-tile__body { padding: 16px 18px 18px; display: grid; gap: 2px; }
.cat-tile__body strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.2; }
.cat-tile__body small { color: var(--mute-light); }
.cat-tile__arrow { position: absolute; right: 14px; bottom: 16px; color: var(--red); }
.cat-grid--compact .cat-tile__media { height: 110px; }
.cat-grid--compact .cat-tile__media img { max-height: 84px; }

/* ----- Sets ----- */
.set-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.set-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius-lg); text-decoration: none; color: #fff; background: rgb(var(--t18) / .6); border: 1px solid var(--line-dark); backdrop-filter: blur(10px); transition: transform .4s var(--ease), border-color .3s; }
.set-card:hover { transform: translateY(-6px); border-color: rgb(var(--red-rgb) / .6); }
.set-card__media { height: 180px; display: grid; place-items: center; margin-bottom: 8px; background: radial-gradient(circle, rgb(var(--glow-rgb, var(--red-rgb)) / calc(.35 * var(--glow, 1))), transparent 68%); }
.set-card__media img { max-height: 160px; width: auto; max-width: 80%; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .6)); }
.set-card__tag { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.set-card strong { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; }
.set-card > span:not(.set-card__tag):not(.link-arrow):not(.set-card__media) { color: var(--mute-dark); font-size: .95rem; }
.set-card .link-arrow { color: #fff; margin-top: 8px; }
.set-card .link-arrow .icon { color: var(--red); }

/* ----- Produktkarten ----- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pgrid--4 { grid-template-columns: repeat(4, 1fr); }
.pgrid--5 { grid-template-columns: repeat(5, 1fr); }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-light); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -32px rgba(0, 0, 0, .55); border-color: rgb(var(--red-rgb) / .35); }
.pcard__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3.6; overflow: hidden; padding: 14px; background: #fff; border-bottom: 1px solid var(--line-light); }
.pcard__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard__sku { font-size: .74rem; letter-spacing: .06em; color: var(--mute-light); }
.pcard__title { font-family: var(--font-body); font-weight: 600; font-size: .98rem; line-height: 1.35; margin: 4px 0 12px; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a:hover { color: var(--red); }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard__price { font-family: var(--font-display); font-size: 1.3rem; color: var(--red); line-height: 1; }
.pcard__price small { font-family: var(--font-body); font-size: .78rem; color: var(--mute-light); }
.pcard__add { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background-color .2s, transform .2s; }
.pcard__add:hover { background: var(--red); transform: scale(1.06); }
.pcard__add.is-added { background: #1f9d55; }
.pcard__add .icon { width: 20px; height: 20px; }

/* ----- Kategorie-Layout ----- */
.shop-section { padding: clamp(40px, 5vw, 70px) 0 clamp(60px, 7vw, 100px); }
.shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.shop-side { position: sticky; top: calc(var(--header-h) + var(--catbar-h) + 20px); display: grid; gap: 18px; }
.shop-side__title { font-family: var(--font-display); font-size: 1.25rem; margin: 0; }
.subnav { list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line-light); max-height: calc(100vh - 300px); overflow-y: auto; }
.subnav a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: .92rem; line-height: 1.3; }
.subnav a span { color: var(--mute-light); font-size: .8rem; }
.subnav a:hover { background: var(--paper); }
.subnav a.is-current { background: var(--red); color: #fff; }
.subnav a.is-current span { color: rgba(255, 255, 255, .8); }
.side-help { padding: 18px; border-radius: var(--radius-lg); background: var(--gray); color: #fff; font-size: .9rem; }
.side-help strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.side-help p { color: var(--mute-dark); margin: 4px 0 10px; }
.side-help a { color: #fff; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; font-weight: 600; }
.side-help .icon { color: var(--red); }
.cat-intro { color: #444; max-width: 80ch; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding: 12px 16px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line-light); }
.toolbar__count { color: var(--mute-light); }
.toolbar__count strong { color: var(--ink); }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.toolbar__sort select { padding: 8px 34px 8px 12px; font: inherit; border: 1.5px solid #d7d5d0; border-radius: 6px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23c00c0d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; appearance: none; -webkit-appearance: none; cursor: pointer; }
.toolbar--search .shop-search--inline { flex: 1; max-width: 620px; margin: 0; }
.shop-search--inline input { background: var(--paper); border-color: transparent; }
.empty-note { padding: 30px; background: #fff; border-radius: var(--radius-lg); text-align: center; color: var(--mute-light); margin-bottom: 30px; }
.empty-note a { color: var(--red); }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.pager__num, .pager__btn { min-width: 42px; height: 42px; padding: 0 10px; display: grid; place-items: center; border-radius: 21px; background: #fff; border: 1px solid var(--line-light); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager__num:hover, .pager__btn:hover { border-color: var(--red); color: var(--red); }
.pager__num.is-current { background: var(--red); border-color: var(--red); color: #fff; }
.pager__gap { align-self: center; color: var(--mute-light); }

/* ----- Produktseite ----- */
.product-section { padding-top: clamp(calc(var(--header-h) + var(--topbar-h) + var(--catbar-h) + 30px), 12vw, 200px); }
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.gallery-box__main { aspect-ratio: 1 / 1; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line-light); display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden; }
.gallery-box__main img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gallery-box__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-box__thumbs button { width: 78px; height: 78px; padding: 6px; border-radius: 8px; border: 2px solid var(--line-light); background: #fff; }
.gallery-box__thumbs button.is-current, .gallery-box__thumbs button:hover { border-color: var(--red); }
.gallery-box__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product__info { position: sticky; top: calc(var(--header-h) + var(--catbar-h) + 24px); }
.product__sku { color: var(--mute-light); font-size: .9rem; margin: 0 0 .4rem; }
.badge-sale { display: inline-block; padding: 2px 10px; border-radius: 12px; background: var(--paper); color: var(--ink); font-size: .78rem; font-weight: 600; }
.product__title { font-size: clamp(1.8rem, 2vw + 1rem, 2.8rem); line-height: 1.12; margin-bottom: .5em; }
.product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); margin-bottom: 22px; }
.product__price strong { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; color: var(--red); line-height: 1; }
.product__price span { color: var(--mute-light); }
.product__buy { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.product__add { flex: 1; min-width: 220px; }
.product__add.is-added { --bg: #1f9d55; --bd: #1f9d55; }
.product__usp { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.product__usp li { display: flex; gap: 10px; align-items: center; color: #333; }
.product__usp .icon { color: var(--red); }
.product__hint { font-size: .9rem; color: var(--mute-light); }
.product__hint a { color: var(--red); }
.product__desc { margin-top: clamp(40px, 5vw, 70px); max-width: 900px; }
.product__desc h2 { font-size: 1.9rem; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid #d7d5d0; border-radius: 26px; background: #fff; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.3rem; color: var(--ink); }
.qty button:hover { color: var(--red); }
.qty input { width: 52px; height: 44px; border: 0; text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--lg button, .qty--lg input { height: 56px; }

/* ----- Anfragekorb ----- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(22px, 3vw, 40px); align-items: start; }
.cart__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--mute-light); }
.cart__head .linklike { display: inline-flex; gap: .4em; align-items: center; color: var(--mute-light); }
.cart__head .linklike:hover { color: var(--red); }
.citems { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.citem { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto 44px; gap: 18px; align-items: center; padding: 12px 16px 12px 12px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line-light); }
.citem__img { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; overflow: hidden; background: #fff; }
.citem__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.citem__name { display: block; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.3; }
.citem__name:hover { color: var(--red); }
.citem__sku { display: block; font-size: .8rem; color: var(--mute-light); }
.citem__price { display: block; font-family: var(--font-display); color: var(--red); font-size: 1.15rem; margin-top: 2px; }
.citem__price small { font-family: var(--font-body); font-size: .75rem; color: var(--mute-light); }
.citem__remove { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light); background: #fff; color: var(--mute-light); display: grid; place-items: center; }
.citem__remove:hover { color: #fff; background: var(--red); border-color: var(--red); }
.cart__more { margin-top: 18px; color: var(--ink); }
.cart__side { position: sticky; top: calc(var(--header-h) + var(--catbar-h) + 20px); padding: 26px; background: var(--gray); color: #fff; border-radius: var(--radius-lg); }
.cart__side h2 { font-size: 1.6rem; }
.cart__steps { margin: 0 0 16px; padding-left: 1.3em; color: rgba(255, 255, 255, .85); display: grid; gap: 6px; }
.cart__steps li::marker { color: var(--red); font-weight: 700; }
.cart__note { font-size: .86rem; color: var(--mute-dark); }
.cart__tel { text-align: center; font-size: .9rem; color: var(--mute-dark); margin: 12px 0 0; }
.cart__tel a { color: #fff; }
.cart-empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--radius-lg); }
.cart-empty__icon { width: 84px; height: 84px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--red); }
.cart-empty__icon .icon { width: 40px; height: 40px; }
.cart-empty p { color: var(--mute-light); max-width: 520px; margin: 0 auto 22px; }

/* ----- Anfrage-Overlay ----- */
.inquiry-modal .modal__panel { max-width: 1180px; }
.inquiry-modal .contact-modal__panel { grid-template-columns: 360px 1fr; }
.inq-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; max-height: 46vh; overflow-y: auto; font-size: .9rem; }
.inq-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-dark); color: rgba(255, 255, 255, .9); }
.inq-list__qty { font-weight: 700; color: var(--red); min-width: 32px; }
.inq-list small { display: block; color: var(--mute-dark); font-size: .78rem; }
.inq-note { font-size: .82rem; color: var(--mute-dark); }
.cform__set { border: 0; padding: 0; margin: 0 0 18px; }
.cform__set legend { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 10px; }
.cform__grid--4 { grid-template-columns: repeat(4, 1fr); }
.cform__grid--4 .field:nth-child(5) { grid-column: span 1; }
.cform__hint { grid-column: span 3; margin: 0; align-self: center; font-size: .82rem; color: var(--mute-light); line-height: 1.45; }
.field--select select {
  width: 100%; padding: 26px 40px 10px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23c00c0d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  border: 1.5px solid transparent; border-radius: var(--radius); outline: 0; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.field--select select:focus { background-color: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgb(var(--red-rgb) / .1); }
.field--select label, .field input[type=date] + label { transform: translateY(-10px) scale(.76); color: var(--red); }
.field.is-invalid select { border-color: var(--red); background-color: #fff5f5; }
.field input[type=date] { min-height: 58px; }

/* ----- Schritte & Info ----- */
.shop-steps { padding: clamp(40px, 5vw, 60px) 0; background: var(--graphite); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { display: flex; gap: 16px; align-items: flex-start; color: #fff; }
.step__num { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; }
.step strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.step span { color: var(--mute-dark); font-size: .92rem; }
.info-split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.info-split .h-display { font-size: clamp(2rem, 2.4vw + .8rem, 3.2rem); }
.footer-grid--shop { grid-template-columns: 1.6fr 1fr 1fr; }

/* ----- Hinweis „hinzugefügt“ ----- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 220; transform: translate(-50%, 20px); opacity: 0; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); border-left: 4px solid #1f9d55; font-size: .95rem; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: #fff; font-weight: 600; margin-left: 8px; }
.fab { display: none; }

/* ----- Responsive ----- */
@media (max-width: 1280px) {
  .pgrid--5 { grid-template-columns: repeat(4, 1fr); }
  .catbar__link--wide { display: none; }
}
@media (max-width: 1100px) {
  .cat-grid, .pgrid--4, .pgrid--5 { grid-template-columns: repeat(3, 1fr); }
  .mega__grid--cats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid--shop { grid-template-columns: 1fr 1fr; }
  .topbar__note { display: none; }
  .topbar__sel { margin-left: auto; }
  .cart { grid-template-columns: 1fr; }
  .cart__side { position: static; }
}
@media (max-width: 1020px) {
  .catbar { display: none; }
  :root { --catbar-h: 0px; }
  .shop-header .burger { display: block; margin-left: 0; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-side { position: static; }
  .subnav { display: flex; flex-wrap: wrap; gap: 6px; max-height: none; padding: 0; background: none; border: 0; }
  .subnav a { background: #fff; border: 1px solid var(--line-light); border-radius: 20px; padding: 7px 14px; }
  .side-help { display: none; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .product { grid-template-columns: 1fr; }
  .product__info { position: static; }
  .inquiry-modal .contact-modal__panel { grid-template-columns: 1fr; }
  .inq-list { max-height: 180px; }
  .cform__grid--4 { grid-template-columns: 1fr 1fr; }
  .cform__hint { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .shop-header .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px 14px; }
  .shop-header .shop-search { order: 3; flex-basis: 100%; max-width: none; }
  .shop-header .shop-search input { height: 42px; }
  .shop-header .shop-search > button { width: 34px; height: 34px; }
  .cart-btn { margin-left: auto; padding: 8px 12px; }
  .cart-btn__label { display: none; }
  .hero--shop, .hero--shoppage { padding-top: 124px; }
  .cat-grid, .pgrid, .pgrid--4, .pgrid--5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .set-grid, .steps, .info-split { grid-template-columns: 1fr; }
  .citem { grid-template-columns: 64px minmax(0, 1fr) 40px; gap: 12px; }
  .citem__img { width: 64px; height: 64px; }
  .citem .qty { grid-column: 2; justify-self: start; }
  .citem__remove { grid-row: 1; grid-column: 3; }
  .product-section { padding-top: 150px; }
  .shop-search--hero input { padding-right: 60px; height: 54px; }
  .shop-search--hero > .btn { height: 42px; min-height: 42px; width: 42px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .shop-search--hero > .btn .icon { width: 20px; height: 20px; }
  .footer-grid--shop { grid-template-columns: 1fr; }
  .mega__grid--cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .topbar { display: none; }
  :root { --topbar-h: 0px; }
  .pcard__body { padding: 10px 12px 12px; }
  .pcard__title { font-size: .88rem; }
  .pcard__price { font-size: 1.1rem; }
  .pcard__add { width: 36px; height: 36px; }
}

/* ----- Handy: Unterkategorien als wischbare Zeile, Menü unter dem höheren Header ----- */
@media (max-width: 1020px) {
  .subnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; -webkit-overflow-scrolling: touch; }
  .subnav::-webkit-scrollbar { display: none; }
  .subnav li { flex: none; }
  .subnav a { white-space: nowrap; }
  .shop-side__title { display: none; }
}
@media (max-width: 760px) {
  .mobile-nav { padding-top: 136px; }
  .shop-search--mobile { display: none; }
}

/* ----- Unterkategorien: Bereichs-Kacheln über den Produkten ----- */
.subcats { margin-bottom: 18px; }
.subcats__title { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 10px; }
.subcats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.subcat { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; height: 100%; min-height: 74px; padding: 12px 14px; border-radius: var(--radius-lg); background: #fff; border: 1.5px solid var(--line-light); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.subcat:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: 0 12px 28px -20px rgba(0, 0, 0, .5); }
.subcat__label { font-weight: 600; font-size: .95rem; line-height: 1.25; display: inline-flex; align-items: center; gap: .4em; }
.subcat__count { font-size: .8rem; color: var(--mute-light); }
.subcat--group { border-left: 4px solid var(--red); }
.subcat--group .subcat__label::after { content: "›"; color: var(--red); font-size: 1.2em; line-height: 1; }
.subcat.is-current { background: var(--red); border-color: var(--red); color: #fff; }
.subcat.is-current .subcat__count { color: rgba(255, 255, 255, .85); }
.subcat--all { background: var(--gray); border-color: var(--gray); color: #fff; }
.subcat--all .subcat__count { color: var(--mute-dark); }

/* ----- Seitenleiste als Baum ----- */
.subnav__row { display: flex; align-items: center; }
.subnav__row > a { flex: 1; }
.subnav__toggle { width: 32px; height: 32px; flex: none; border: 0; background: none; color: var(--mute-light); border-radius: 6px; display: grid; place-items: center; }
.subnav__toggle:hover { background: var(--paper); color: var(--red); }
.subnav__toggle .icon { transition: transform .25s var(--ease); }
.subnav__group.is-open > .subnav__row .subnav__toggle .icon { transform: rotate(180deg); }
.subnav__group > .subnav__row > a { font-weight: 600; }
.subnav__sub { list-style: none; margin: 0 0 4px 12px; padding: 0 0 0 8px; border-left: 2px solid var(--line-light); display: none; }
.subnav__group.is-open > .subnav__sub { display: block; }
.subnav__sub a { font-size: .88rem; padding: 7px 10px; }

/* Mobiles Menü: Gruppen und Unterpunkte */
.mnav__sub a.is-group { color: #fff; font-weight: 600; margin-top: 6px; }
.mnav__sub a.is-sub { padding-left: 32px; font-size: .95rem; }

@media (max-width: 1020px) {
  .shop-side .subnav { display: none; }   /* auf dem Handy übernehmen die Bereichs-Kacheln die Auswahl */
  .shop-side { display: none; }
  .subcats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Preise für den Mietzeitraum (Modus „Eventworx-Preise“) ---------- */
.cart-period { margin: 0 0 26px; padding: 18px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); transition: box-shadow .3s; }
.cart-period.is-attention { box-shadow: 0 0 0 3px rgb(var(--red-rgb) / .35); }
.cart-period h2 { margin-bottom: 12px; }
.cart-period__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px 12px; }
.cart-period__grid label { display: grid; gap: 4px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--mute-dark); }
.cart-period__grid input, .cart-period__grid select { font: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); padding: 9px 10px; border: 1.5px solid #d7d5d0; border-radius: 6px; background: #fff; min-width: 0; }
.cart-period__total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-dark); color: #fff; }
.cart-period__total strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: #fff; }
.cart-period__total small { grid-column: 1 / -1; color: var(--mute-dark); }
.cart-period__status { margin: 12px 0 0; font-size: .85rem; color: var(--mute-dark); }
.citem__total { display: block; margin-top: 2px; font-weight: 700; color: var(--red); }
.citem__total small { font-weight: 400; color: var(--mute-light); }
.inq-total { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line-dark); color: #fff; }
.cform__period { margin: 0 0 22px; padding: 12px 16px; border-radius: 6px; background: var(--paper); border-left: 4px solid var(--red); }

.search-note { margin: 0 0 18px; padding: 10px 14px; border-radius: 6px; background: #fff; border-left: 4px solid var(--red); }
.search-cats { margin-bottom: 26px; }

/* Hero der Startseite: unter dem Kopfbereich beginnen, Bildausschnitt wählbar (Backend → Bilder & Hero) */
.hero--shop .hero__video { object-position: 50% var(--hero-focus, 50%); }
.hero--shop .hero__img { background-position: 50% var(--hero-focus, 50%); }
.hero--shop.hero--below { min-height: calc(clamp(520px, 72vh, 760px) + var(--header-h) + var(--topbar-h) + var(--catbar-h)); }
.hero--shop.hero--below .hero__video, .hero--shop.hero--below .hero__img, .hero--shop.hero--below .hero__shade { top: calc(var(--header-h) + var(--topbar-h) + var(--catbar-h)); height: calc(100% - var(--header-h) - var(--topbar-h) - var(--catbar-h)); }
