.catalog{background:#2e2e2e;color:#f5f5f5;padding:45px max(5%,calc((100% - 1100px)/2));min-height:65vh}.catalog h1{text-align:center;color:#ffd43b}.catalog h2,.catalog .back{color:#ffd43b}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.catalog-grid article{border:1px solid #666;border-radius:10px;padding:20px;display:flex;flex-direction:column;align-items:flex-start}.catalog-grid img{aspect-ratio:4/3;object-fit:contain;background:#222;border-radius:10px}.catalog-grid article>a:first-child{width:100%}.catalog-grid article p{flex:1;white-space:pre-wrap}.catalog-button,.catalog button{cursor:pointer;background:#ffd43b;color:#222;border:0;border-radius:6px;padding:10px 16px;font:inherit;text-decoration:none}.catalog-button{display:inline-block;margin-top:16px}.price{font-size:26px;font-weight:700}.filters,.thumbs{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.filters button[aria-pressed=false]{background:#444;color:white;border:1px solid #777}.gallery{max-width:850px;margin:auto}.catalog .main-photo{padding:0;background:transparent;width:100%}.main-photo img{max-height:620px;object-fit:contain;border-radius:10px}.catalog .thumbs button{padding:3px;background:#555;width:100px}.thumbs img{height:75px;object-fit:contain}.subtitle{text-align:center}.copy{white-space:pre-wrap;overflow-wrap:anywhere}.catalog table{width:100%;border-collapse:collapse}.catalog th,.catalog td{text-align:left;padding:10px;border-bottom:1px solid #666}.catalog dialog{background:#222;color:white;border:0;max-width:95vw;max-height:95vh}.catalog dialog img{max-height:75vh;object-fit:contain}.catalog dialog::backdrop{background:#000c}.catalog [hidden]{display:none!important}@media(max-width:700px){.catalog-grid{grid-template-columns:1fr}}

/* V0.5.1 – Abstände der Artikelübersicht */
.catalog:has(.catalog-grid)>h1{margin-bottom:36px}
.catalog-intro{text-align:center;line-height:1.6;margin:0 auto;max-width:1100px}
.catalog-intro p{margin:0 0 16px}
.catalog-intro p:last-child{margin-bottom:0}
.catalog-intro-divider{border:0;border-top:2px solid #ffd43b;margin:36px 0 32px}
.catalog-grid article h2{margin-top:12px}

/* V0.5.3 – Artikeldetailseiten */
.catalog:has(>.back)>h1{margin-bottom:0}
.catalog:has(>.back)>.subtitle:empty{display:none}
.catalog:has(>.back)>.gallery{margin:30px auto 0;max-width:826.6667px}
.catalog .main-photo{display:block;aspect-ratio:4/3;max-height:620px;overflow:hidden;position:relative}
.catalog .main-photo img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain}
.catalog .thumbs{justify-content:center;margin:16px 0 0}
.catalog:has(>.back)>.price{margin:30px 0 20px}
.catalog:has(>.back)>h2{font-size:24px;line-height:1.3;margin:30px 0 10px}
.catalog:has(>.back)>table{font-size:inherit;line-height:1.4}
.catalog:has(>.back)>table th,.catalog:has(>.back)>table td{padding:5px 10px;vertical-align:top;overflow-wrap:anywhere}
.catalog:has(>.back)>.catalog-button{margin-top:30px}

/* V0.5.4 – Dezenter Rahmen der Hauptbildfläche */
.catalog .main-photo{background:#292929;border-radius:10px;box-shadow:inset 0 0 0 1px #606060}
.catalog .main-photo img{border-radius:10px;clip-path:inset(0 round 10px)}
.catalog .main-photo::after{content:"";position:absolute;inset:0;border:1px solid #606060;border-radius:inherit;pointer-events:none}


/* V0.5.6 – Übersichtsseiten wie statische Unterseiten */
.catalog:has(>.catalog-grid){padding-top:clamp(36px,5vw,76px)}
.catalog:has(>.catalog-grid)>h1{color:#f5f5f5;text-align:center;line-height:1.15;margin-bottom:36px}
@media(max-width:550px){.catalog:has(>.catalog-grid)>h1{margin-bottom:26px}}

/* Einheitliche Kaufpreisdarstellung */
.catalog .price{font-size:inherit;font-weight:400;line-height:inherit}
.catalog .price strong{font-weight:700}
.catalog-grid article>.price{margin-top:12px}

.catalog-grid .rich-copy{flex:1;overflow-wrap:anywhere;white-space:pre-wrap}
.catalog .copy p,.catalog .rich-copy p{margin:0 0 .65em}
.catalog .copy ul,.catalog .copy ol,.catalog .rich-copy ul,.catalog .rich-copy ol{margin:.4em 0 .65em;padding-left:1.6em}

.catalog .catalog-grid article h2{font-size:26px;line-height:1.25}
@media(max-width:550px){.catalog .catalog-grid article h2{font-size:22px}}
.catalog:has(>.back)>.gallery+.copy,.catalog:has(>.back)>.subtitle+.copy{margin-top:30px}

/* V0.9.1 – Bildkennzeichnung */
.catalog .photo-label{font-size:12px;line-height:1.4;color:#b5b5b5;text-align:left;margin:5px 0 0;padding:0}

.catalog-intro a{color:#ffd43b}.catalog-intro h2{color:#ffd43b;font-size:28px;margin:12px 0}.catalog-intro h3{color:#ffd43b;font-size:21px;margin:10px 0}.catalog-intro h4{color:#b5b5b5;font-size:15px;font-weight:400;margin:8px 0}
