/** * Shop-Sortiment Styles * * Basierend auf Picodent-Design-Vorlage * - Türkis/Grün Farbschema * - Moderne Artikel-Kacheln * - Filter-Sidebar mit Checkboxen * * Breakpoints (wie res-*.css):* - Breite 1 (FHD+):min-width:1800px * - Breite 2 (Desktop):min-width:1360px, max-width:1799px * - Breite 3 (Tablet+):min-width:1020px, max-width:1359px * - Breite 4 (Tablet):min-width:760px, max-width:1019px * - Breite 5 (Mobile+):min-width:480px, max-width:759px * - Breite 6 (Mobil):max-width:479px */ /* ============================================ CSS-Variablen für Sortiment ============================================ */ .shopSortiment{--sort-color-teal:#01999c;--sort-color-blue:#0375be;--sort-color-darkblue:#004579;--sort-color-lightblue:#eaf3fd;--sort-color-green:#7ab51d;--sort-color-yellow:#f5a623;--sort-color-orange:#e67e22;--sort-color-red:#e74c3c;--sort-color-grey:#666666;--sort-color-lightgrey:#dddddd;--sort-color-white:#ffffff;--sort-color-black:#000000;--sort-border-radius:8px;--sort-shadow:0 2px 8px rgba(0, 0, 0, 0.1)}/* ============================================ Layout:Header-Bereich (Breadcrumb + Titel + Toolbar) ============================================ */ .sortiment__headerArea{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem}.sortiment__headerLeft{flex:1;min-width:300px}.sortiment__headerRight{display:flex;flex-wrap:wrap;align-items:center;gap:1.5rem}/* ============================================ Breadcrumb ============================================ */ .sortiment__breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:0.15rem;font-size:1rem;margin-bottom:0.5rem}.sortiment__breadcrumb-link{display:inline-block;padding:0.15rem 0.5rem;border-radius:0.75rem;color:var(--color-white);text-decoration:none;font-weight:400;transition:opacity 0.15s ease}.sortiment__breadcrumb-link:hover{opacity:0.85}.sortiment__breadcrumb-link,
.sortiment__breadcrumb-link:hover,
.sortiment__breadcrumb-link:focus,
.sortiment__breadcrumb-link:visited{color:var(--color-white);text-decoration:none}.sortiment__breadcrumb-separator{color:var(--color-black);font-weight:400;margin:0 0.25rem}/* ============================================ Header / Titel ============================================ */ .sortiment__header{margin:0}.sortiment__header h1{margin:0}/* ============================================ Toolbar (Sortierung, Artikel pro Seite, Pagination) ============================================ */ .sortiment__toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1.5rem}.sortiment__toolbarGroup{display:flex;flex-direction:column;align-items:flex-start;gap:0.25rem;font-size:0.9rem;color:var(--color-black)}.sortiment__toolbarGroup > span:first-child{white-space:nowrap;font-size:0.8rem;font-weight:500}.sortiment__select{height:34px;padding:0 2rem 0 0.75rem;border:1px solid var(--color-darkgrey);border-radius:0.5rem;background-color:var(--color-white);font-size:0.9rem;color:var(--sort-color-black);cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1rem' height='1rem' viewBox='0 0 12 12'%3E%3Cpath fill='%23666666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 0.5rem center}.sortiment__select:focus{outline:2px solid var(--color-blue);outline-offset:1px}/* Pagination */
.sortiment__pagination{display:flex;gap:0.25rem}.sortiment__pageNumber{display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid var(--color-darkgrey);border-radius:0.5rem;font-size:0.9rem;font-weight:500;text-decoration:none;background-color:var(--color-white);color:var(--color-black);transition:all 0.15s ease}.sortiment__pageNumber:hover{background-color:var(--color-lightgrey);color:var(--color-black)}.sortiment__pageNumber--active{background-color:var(--color-lightgrey);color:var(--color-black);cursor:default}/* ============================================ Layout:Sidebar + Main (Desktop 2-spaltig) ============================================ */ .sortiment__layout{display:grid;gap:2rem;align-items:start}/* Breite 3+ (Tablet+):min-width:1020px */
@media (min-width:1020px){.sortiment__layout{grid-template-columns:280px 1fr;gap:20px}}@media (min-width:1360px){.sortiment__layout{grid-template-columns:322px 1fr;gap:32px}}@media (min-width:1800px){.sortiment__layout{grid-template-columns:322px 1fr;gap:32px}}/* ============================================ Filter-Sidebar ============================================ */ .sortiment__sidebar{background-color:var(--color-white);padding:0.5rem}.sortiment__filter{}/* Filter-Überschrift */
.sortiment__filterHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:0.5rem;padding-bottom:0.5rem;border-bottom:0.2rem solid var(--color-lightblue)}.sortiment__filterHeader > span{font-size:1.1rem;font-weight:700;color:var(--color-blue)}/* Filter zurücksetzen */
.sortiment__filterReset{display:flex;align-items:center;gap:0.2rem;background:none;border:none;cursor:pointer;font-size:0.8rem;font-weight:500;color:var(--color-red);padding:0.15rem 0.4rem;border-radius:0.25rem;transition:background-color 0.15s ease}.sortiment__filterReset:hover{background-color:rgba(231, 76, 60, 0.08)}.sortiment__filterReset .materialIcon{font-size:0.95rem}/* Mobile Toggle */
.sortiment__filterToggle{display:none}/* Breite 4- (Tablet und kleiner):max-width:1019px */
@media (max-width:1019px){.sortiment__sidebar{padding:0}.sortiment__filter{}.sortiment__filterToggle{display:flex;align-items:center;gap:0.5rem;width:100%;padding:0.75rem 0.5rem;background:var(--color-white);border:0 none;cursor:pointer;font-size:1rem;font-weight:600;color:var(--color-black)}.sortiment__filterToggle .materialIcon:last-child{margin-left:auto;transition:transform 0.2s ease;font-size:1.5rem}.sortiment__filterToggle[aria-expanded="true"] .materialIcon:last-child{transform:rotate(180deg)}.sortiment__filterContent{display:none;padding:0.5rem;margin-top:0.5rem}.sortiment__filterContent.is-open{display:block}}/* Filter-Gruppen */
.sortiment__filterGroup{margin-bottom:0.5rem;padding-bottom:0.5rem;border-bottom:0.2rem solid var(--color-lightblue)}.sortiment__filterGroup:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.sortiment__filterTitle{display:flex;align-items:center;justify-content:space-between;margin:0 0 0.5rem 0;font-size:1rem;font-weight:600;color:var(--color-black);cursor:pointer;& > span{font-size:1rem;font-weight:600;color:var(--color-black)}}.sortiment__filterTitle .materialIcon{font-size:1.25rem;transition:transform 0.2s ease}.sortiment__filterTitle.is-collapsed .materialIcon{transform:rotate(180deg)}.sortiment__filterOptions{display:flex;flex-direction:column;gap:0.5rem}/* Filter Platzhalter */
.sortiment__filterPlaceholder{margin:0;padding:0.5rem;background-color:var(--sort-color-lightblue);border-radius:4px;font-size:0.8rem;color:var(--sort-color-grey);font-style:italic}/* Filter Untergruppen */
.sortiment__filterSubgroup{display:flex;flex-direction:column;gap:0.3rem}.sortiment__filterSubgroup:first-child{}.sortiment__filterSubtitle{margin:0;font-size:0.85rem;font-weight:400;color:var(--color-black);letter-spacing:0.03em;& > span{font-size:0.8rem;font-weight:400;color:var(--color-black)}}/* Ausklappbare Untergruppen */
.sortiment__filterSubtitle--toggle{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:0.25rem 0;transition:color 0.15s ease}.sortiment__filterSubtitle--toggle:hover{color:var(--color-black)}.sortiment__filterSubtitle--toggle .materialIcon{font-size:1rem}.sortiment__filterSubcontent{display:flex;flex-direction:column;gap:0.5rem}/* Favoriten Toggle Switch */
.sortiment__favoritenToggle{display:flex;align-items:center;justify-content:space-between;padding:0;cursor:pointer;margin-bottom:0.5rem;padding-bottom:0.5rem;border-bottom:0.2rem solid var(--color-lightblue)}.sortiment__favoritenToggle > span{font-size:0.9rem;font-weight:500;color:var(--sort-color-black)}.sortiment__favoritenToggle input[type="checkbox"]{position:absolute;opacity:0;pointer-events:none}.sortiment__toggleSlider{position:relative;width:44px;height:24px;background-color:var(--color-lightgrey);border-radius:12px;transition:background-color 0.2s ease}.sortiment__toggleSlider::after{content:'';position:absolute;top:2px;left:2px;width:20px;height:20px;background-color:var(--color-white);border-radius:50%;transition:transform 0.2s ease}.sortiment__favoritenToggle input:checked + .sortiment__toggleSlider{background-color:var(--color-green)}.sortiment__favoritenToggle input:checked + .sortiment__toggleSlider::after{transform:translateX(20px)}/* Filter Checkbox */
.sortiment__filterCheckbox{display:flex;align-items:center;gap:0.35rem;cursor:pointer;font-size:0.85rem;color:var(--color-black)}.sortiment__filterCheckbox input[type="checkbox"]{position:absolute;opacity:0;pointer-events:none}.sortiment__checkboxIcon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:1px solid var(--color-darkgrey);border-radius:0.25rem;background-color:var(--color-white);transition:all 0.15s ease;flex-shrink:0}.sortiment__checkboxIcon .materialIcon{font-size:14px;color:var(--color-black);opacity:0;transition:opacity 0.15s ease}.sortiment__filterCheckbox input:checked + .sortiment__checkboxIcon{background-color:var(--color-lightgrey)}.sortiment__filterCheckbox input:checked + .sortiment__checkboxIcon .materialIcon{opacity:1}/* Farb-Filter mit Kreis */
.sortiment__filterColor{display:flex;align-items:center;gap:0.5rem;cursor:pointer;font-size:0.85rem;color:var(--sort-color-black)}.sortiment__filterColor input[type="checkbox"]{position:absolute;opacity:0;pointer-events:none}.sortiment__colorCircle{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:0.2rem;border:1px solid var(--color-darkgrey);flex-shrink:0;transition:border-color 0.15s ease}.sortiment__filterColor input:checked + .sortiment__colorCircle{}.sortiment__colorCircle .materialIcon{font-size:14px;color:var(--color-black);opacity:0;transition:opacity 0.15s ease;text-shadow:0 1px 2px rgba(0,0,0,0.3)}.sortiment__filterColor input:checked + .sortiment__colorCircle .materialIcon{opacity:1}/* ============================================ Hauptbereich ============================================ */ .sortiment__main{min-width:0}/* ============================================ Artikel-Grid ============================================ */ .sortiment__artikelGrid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill, minmax(280px, 1fr))}@media (min-width:760px){.sortiment__artikelGridNoFilter{gap:24px}}/* Breite 3+ (Tablet+):min-width:1020px */
@media (min-width:1020px){.sortiment__artikelGrid{grid-template-columns:repeat(2, 1fr);gap:20px}.sortiment__artikelGridNoFilter{grid-template-columns:repeat(3, 1fr)}}/* Breite 2+ (Desktop):min-width:1360px */
@media (min-width:1360px){.sortiment__artikelGrid{grid-template-columns:repeat(2, 1fr);gap:32px}.sortiment__artikelGridNoFilter{grid-template-columns:repeat(3, 1fr)}}@media (min-width:1800px){.sortiment__artikelGrid{grid-template-columns:repeat(3, 1fr);gap:32px}.sortiment__artikelGridNoFilter{grid-template-columns:repeat(4, 1fr)}}/* ============================================ Artikel-Kachel ============================================ */ .sortiment__card{display:flex;flex-direction:column;background-color:var(--color-white);overflow:hidden}.sortiment__card:hover{box-shadow:0 4px 12px rgba(0, 0, 0, 0.1)}/* Bild-Bereich */
.sortiment__cardImage{position:relative;display:flex;align-items:center;justify-content:center;background:var(--color-gradient-blue)}.sortiment__cardImage img{max-width:100%;max-height:100%;object-fit:contain}/* Favorit-Stern (links unten) - nur Kennzeichnung, kein Button */
.sortiment__cardFavorite{position:absolute;bottom:0.5rem;left:0.5rem;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border:none}.sortiment__cardFavorite .materialIcon{font-size:1.5rem;color:var(--sort-color-white);font-variation-settings:'FILL' 1}.sortiment__badgeContainer{position:absolute;bottom:0.5rem;right:0.5rem;z-index:2;display:flex;flex-direction:column;gap:0.25rem;align-items:end}/* Farb-Indikator (links unten, neben Favorit) */
.sortiment__cardColor{display:block;width:2rem;height:2rem;border:2px solid var(--color-white)}/* Größen-Badge (rechts unten) */
.sortiment__cardBadge{box-sizing:border-box;padding:0 0.15rem;background-color:var(--color-white);font-size:0.75rem;font-weight:600;color:var(--color-blue);min-width:2rem;height:2rem;display:flex;justify-content:center;align-items:center;text-align:center}/* Inhalt-Bereich */
.sortiment__cardContent{display:flex;flex-direction:column;padding:0.5rem;flex:1;gap:1rem}/* Produktname */
.sortiment__cardTitle{font-size:1.35rem;font-weight:700;color:var(--color-blue);line-height:1.3}.sortiment__cardTitle a,
.sortiment__cardTitle a:hover,
.sortiment__cardTitle a:visited{color:inherit;text-decoration:none}.sortiment__cardContentTop{display:grid;grid-template-columns:1fr max-content;gap:1rem}/* Untertitel / Beschreibung */
.sortiment__cardSubtitle{color:var(--color-black);margin:0}.sortiment__cardContentBottom{display:grid;grid-template-columns:1fr 1fr;gap:1rem;flex:1 1 auto}/* Ersparnis-Badge */
.sortiment__cardDiscountWrapper{display:flex;justify-content:end}.sortiment__cardDiscount{display:inline-block;padding:0.15rem 0.5rem;border-radius:0.5rem;font-size:0.85rem;color:var(--color-white);font-weight:500}/* Ersparnis-Badge:Angebot (rot) */
.sortiment__cardDiscount--angebot{background-color:var(--color-red);font-size:1.5rem;font-weight:400;align-self:end;padding:0rem 0.5rem}/* Ersparnis-Badge:Persönlicher Preis (blau) */
.sortiment__cardDiscount--persoenlich{background-color:var(--color-blue);align-self:end}/* Varianten/Details Button */
.sortiment__cardVariants,
.sortiment__cardVariants:visited,
.sortiment__cardVariants:hover{padding:0.25rem 1rem}/* Preis */
.sortiment__cardPrice{display:flex;justify-content:end}.sortiment__cardPriceValue{font-size:2.5rem;font-weight:700;color:var(--color-green)}.sortiment__cardPrice--angebot .sortiment__cardPriceValue{color:var(--color-black)}.sortiment__cardPrice--persoenlich .sortiment__cardPriceValue{color:var(--color-blue)}.sortiment__cardPriceValue sup{font-size:0.6em;vertical-align:super;top:0.15em}/* Warenkorb Button */
.sortiment__cardCart{display:flex;align-items:center;justify-content:center;gap:0.5rem;width:100%;padding:0.2rem 0;background-color:var(--color-green);border:none;border-radius:var(--border-radius);font-size:1rem;color:var(--color-white);cursor:pointer}.sortiment__cardCart > span:nth-child(2){width:1.75rem}/* ============================================ Leerer Zustand ============================================ */ .sortiment__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;background-color:var(--sort-color-lightblue);border-radius:var(--sort-border-radius)}.sortiment__empty .materialIcon{font-size:4rem;color:var(--sort-color-teal);margin-bottom:1rem}.sortiment__empty p{font-size:1.1rem;color:var(--sort-color-grey);margin:0}/* ============================================ Toolbar unten ============================================ */ .sortiment__toolbarBottom{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-end;gap:1.5rem;margin-top:3rem}/* ============================================ Responsive Anpassungen ============================================ */ /* Breite 4- (Tablet und kleiner):max-width:1019px */
@media (max-width:1019px){.sortiment__layout{grid-template-columns:1fr}.sortiment__sidebar{position:static;order:-1}.sortiment__headerArea{flex-direction:column}.sortiment__headerRight{width:100%;flex-wrap:wrap}}/* Breite 5 (Mobile+):max-width:759px */
@media (max-width:759px){.sortiment__header h1{font-size:1.4rem}.sortiment__toolbar{flex-direction:column;align-items:flex-start;gap:0.75rem}.sortiment__artikelGrid{grid-template-columns:1fr}.sortiment__cardPrice{font-size:1.3rem}}/* Breite 6 (Mobil):max-width:479px */
@media (max-width:479px){.sortiment__header h1{font-size:1.25rem}.sortiment__breadcrumb{font-size:0.8rem}.sortiment__breadcrumb-link{padding:0.25rem 0.5rem}}/* ============================================ Übersichtsseite (Kategorien-Kacheln) ============================================ */ .sortiment__header--overview{text-align:center;padding:2rem 0}.sortiment__header--overview h1{margin:0 0 0.75rem 0;font-size:2rem;font-weight:700;color:var(--sort-color-teal)}.sortiment__introText{margin:0;font-size:1.1rem;color:var(--sort-color-grey);max-width:600px;margin-left:auto;margin-right:auto}/* Kategorien-Grid */
.sortiment__kategorienGrid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));padding:2rem 0}/* Breite 3+ (Tablet+):min-width:1020px */
@media (min-width:1020px){.sortiment__kategorienGrid{grid-template-columns:repeat(3, 1fr)}}/* Breite 2+ (Desktop):min-width:1360px */
@media (min-width:1360px){.sortiment__kategorienGrid{grid-template-columns:repeat(4, 1fr)}}/* Kategorie-Kachel */
.sortiment__kategorieCard{display:flex;flex-direction:column;background-color:var(--sort-color-white);border-radius:var(--sort-border-radius);box-shadow:var(--sort-shadow);overflow:hidden;text-decoration:none;transition:box-shadow 0.2s ease, transform 0.2s ease;border-top:4px solid var(--kategorie-color, var(--sort-color-teal))}.sortiment__kategorieCard:hover{box-shadow:0 6px 20px rgba(0, 0, 0, 0.15);transform:translateY(-4px)}/* Kategorie-Bild */
.sortiment__kategorieImage{aspect-ratio:16 / 9;background-color:#f8f8f8;display:flex;align-items:center;justify-content:center;padding:1rem;overflow:hidden}.sortiment__kategorieImage img{max-width:100%;max-height:100%;object-fit:contain;transition:transform 0.3s ease}.sortiment__kategorieCard:hover .sortiment__kategorieImage img{transform:scale(1.05)}.sortiment__kategorieImage--placeholder{background-color:var(--sort-color-lightblue)}.sortiment__kategorieImage--placeholder .materialIcon{font-size:4rem;color:var(--sort-color-teal);opacity:0.4}/* Kategorie-Inhalt */
.sortiment__kategorieContent{display:flex;flex-direction:column;padding:1.25rem;flex:1}.sortiment__kategorieTitel{margin:0 0 0.5rem 0;font-size:1.25rem;font-weight:700;color:var(--kategorie-color, var(--sort-color-teal));line-height:1.3}.sortiment__kategorieText{margin:0 0 0.75rem 0;font-size:0.9rem;color:var(--sort-color-grey);line-height:1.5;flex:1;/* Beschränke auf 3 Zeilen */ display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.sortiment__kategorieArtikelzahl{display:inline-block;padding:0.3rem 0.6rem;background-color:var(--sort-color-lightblue);border-radius:100px;font-size:0.8rem;font-weight:600;color:var(--sort-color-teal);margin-bottom:0.75rem;align-self:flex-start}.sortiment__kategorieLink{display:inline-flex;align-items:center;gap:0.25rem;font-size:0.9rem;font-weight:600;color:var(--kategorie-color, var(--sort-color-teal));transition:gap 0.2s ease}.sortiment__kategorieCard:hover .sortiment__kategorieLink{gap:0.5rem}.sortiment__kategorieLink .materialIcon{font-size:1.1rem;transition:transform 0.2s ease}.sortiment__kategorieCard:hover .sortiment__kategorieLink .materialIcon{transform:translateX(2px)}/* ============================================ X+Y Aktions-Badge (auf Artikelbild) ============================================ */ .sortiment__cardAktion{position:absolute;top:8px;left:8px;background-color:var(--color-green);color:var(--color-white);font-weight:700;/* font-size:0.75rem;*/ padding:3px 8px;border-radius:4px;z-index:2;line-height:1.3;letter-spacing:0.02em}/* ============================================ Debug-Ausgabe (temporär) ============================================ */ .sortiment__debug{background-color:#f9f9f9;border:2px dashed var(--sort-color-teal);border-radius:var(--sort-border-radius);padding:1rem}.sortiment__debug h3{margin:0 0 1rem 0;font-size:1rem;color:var(--sort-color-teal)}.sortiment__debug pre{margin:0;padding:1rem;background-color:#fff;border:1px solid var(--sort-color-lightgrey);border-radius:4px;font-size:0.75rem;overflow-x:auto;max-height:400px;overflow-y:auto}