
/* Spitzen-Kacheln (Bulut 30.10.2026): Auswahl mit Foto, Doppelklick/Lupe = gross. */
.wapf-swatch-wrapper.ehd-tb-kacheln{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}
.ehd-tb-kacheln .wapf-swatch--text{position:relative;width:auto!important;margin:0!important;padding:0!important;border-radius:12px!important;overflow:hidden;height:auto!important;min-height:0!important;flex:none!important;border-bottom-width:inherit}
.ehd-tb-kacheln .wapf-swatch--text>label{display:block!important;padding:0 0 8px!important;margin:0!important;text-align:center;font-size:13px!important;line-height:1.25;height:auto!important;cursor:pointer}
.ehd-tb-kbild{display:block;aspect-ratio:1/1;background:#3A0A12;margin-bottom:7px;overflow:hidden}
.ehd-tb-kbild img{display:block;width:100%;height:100%;object-fit:cover}
.ehd-tb-lupe{position:absolute;top:6px;right:6px;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(20,6,10,.72);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}
.ehd-tb-lupe:hover{background:#6B1D3A}
.ehd-tb-spitze-text{margin:9px 2px 2px;font-size:12.5px;line-height:1.4;color:#6f6259}
html[data-theme="dark"] .ehd-tb-spitze-text{color:#cfc3bb}
@media (max-width:480px){.wapf-swatch-wrapper.ehd-tb-kacheln{gap:7px}.ehd-tb-kacheln .wapf-swatch--text>label{font-size:11.5px!important}.ehd-tb-lupe{width:26px;height:26px}}
.ehd-tb{margin:12px 0 4px;border:1px solid rgba(107,29,58,.16);border-radius:16px;
  background:linear-gradient(180deg,#fffdfa 0%,#fdf7f1 100%);padding:14px 14px 12px;
  box-shadow:0 1px 2px rgba(24,10,16,.04),0 8px 24px -16px rgba(24,10,16,.28)}
.ehd-tb-head{display:flex;align-items:center;gap:7px;margin:0 0 10px}
.ehd-tb-head svg{flex:0 0 auto}
.ehd-tb-title{font-size:13.5px;font-weight:800;letter-spacing:.01em;color:#6B1D3A;line-height:1.25}
.ehd-tb-stage{position:relative;border-radius:12px;overflow:hidden;background:#f3ece6;
  line-height:0}
.ehd-tb-stage img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.ehd-tb-stage img.ehd-tb-fit{object-fit:contain;background:#f3ece6}
.ehd-tb-col{position:absolute;top:0;bottom:0;border:0;padding:0;margin:0;cursor:pointer;
  background:rgba(28,12,18,.42);-webkit-backdrop-filter:saturate(.55);backdrop-filter:saturate(.55);
  transition:background .28s ease,box-shadow .28s ease,-webkit-backdrop-filter .28s ease,backdrop-filter .28s ease;
  outline:0;-webkit-tap-highlight-color:transparent}
.ehd-tb-col:hover{background:rgba(28,12,18,.22)}
.ehd-tb-col.is-on{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;
  box-shadow:inset 0 0 0 2px #B4884D,inset 0 0 28px -6px rgba(180,136,77,.55)}
.ehd-tb-col:focus-visible{box-shadow:inset 0 0 0 3px #6B1D3A}
.ehd-tb-tag{position:absolute;left:50%;bottom:8px;transform:translateX(-50%) translateY(4px);
  font-size:11px;font-weight:800;letter-spacing:.02em;color:#fff;background:#B4884D;
  padding:3px 9px;border-radius:999px;opacity:0;transition:opacity .28s ease,transform .28s ease;
  pointer-events:none;white-space:nowrap;box-shadow:0 2px 8px rgba(24,10,16,.35)}
.ehd-tb-col.is-on .ehd-tb-tag{opacity:1;transform:translateX(-50%) translateY(0)}
.ehd-tb-legend{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:11px 2px 0}
.ehd-tb-size{font-size:15px;font-weight:900;color:#6B1D3A;letter-spacing:.01em}
.ehd-tb-cm{font-size:13px;font-weight:700;color:#8a6a3f}
.ehd-tb-desc{font-size:12.5px;color:#6f6259;flex:1 1 190px;min-width:150px}
.ehd-tb-hint{margin:8px 2px 0;font-size:11.5px;color:#9a8d84;line-height:1.4}
.ehd-tb-hint b{color:#6B1D3A;font-weight:800}
/* Dunkelmodus — der Umschalter setzt html[data-theme="dark"]. Ohne diesen Block
   bliebe die Karte cremefarben und das Bordeaux unlesbar (siehe Memory Darkmode). */
html[data-theme="dark"] .ehd-tb{background:linear-gradient(180deg,#241016 0%,#1c0c12 100%);
  border-color:rgba(255,255,255,.14);box-shadow:0 8px 24px -16px rgba(0,0,0,.7)}
html[data-theme="dark"] .ehd-tb-title,
html[data-theme="dark"] .ehd-tb-size,
html[data-theme="dark"] .ehd-tb-hint b{color:#fff}
html[data-theme="dark"] .ehd-tb-cm{color:#D9B276}
html[data-theme="dark"] .ehd-tb-desc{color:#cfc3bb}
html[data-theme="dark"] .ehd-tb-hint{color:#a8998f}
html[data-theme="dark"] .ehd-tb-stage{background:#2a161d}
@media (max-width:480px){
  .ehd-tb{padding:12px 11px 10px;border-radius:14px}
  .ehd-tb-desc{flex-basis:100%}
  .ehd-tb-tag{font-size:10px;padding:2px 7px}
}
@media (prefers-reduced-motion:reduce){
  .ehd-tb-col,.ehd-tb-tag{transition:none}
}

