/* ==========================================================================
   Hype Modding – Tebex Template
   Design: dunkel, Orange-Akzent, weiche Glas-Karten, interaktive Spotlights
   ========================================================================== */

:root {
  --accent: #ff7a1a;
  --accent-2: color-mix(in srgb, var(--accent) 78%, #b83a00);
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 34%, transparent);

  --bg: #09090b;
  --bg-elev: #111114;
  --bg-elev-2: #16161a;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);

  --text: #f5f5f6;
  --muted: #a3a3ad;
  --faint: #6e6e78;

  --success: #22c55e;
  --danger: #f43f5e;
  --warn: #f59e0b;
  --info: #38bdf8;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --glow: 0 10px 36px -8px color-mix(in srgb, var(--accent) 70%, transparent);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;

  --container: 1240px;
  --gutter: 24px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* Tebex Legal-Footer an das Design anpassen (darf NICHT ausgeblendet werden) */
  --tebex-legal-footer-background-color: #09090b;
  --tebex-legal-footer-text-color: #8b8b95;
  --tebex-legal-footer-border-color: rgba(255, 255, 255, .08);
  --tebex-legal-footer-logo-color: #8b8b95;

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.hm-skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600;
  transition: top .2s;
}
.hm-skip:focus { top: 16px; }

.hm-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Hintergrund ---------- */
.hm-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
/* Animierte, interaktive Linien (Canvas, gezeichnet in hype.js) */
.hm-lines { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hm-bg__glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .45; }
.hm-bg__glow--1 { width: 640px; height: 640px; left: -220px; top: -260px; background: color-mix(in srgb, var(--accent) 34%, transparent); animation: hm-drift 26s ease-in-out infinite alternate; }
.hm-bg__glow--2 { width: 520px; height: 520px; right: -240px; top: 46%; background: color-mix(in srgb, var(--accent) 12%, transparent); animation: hm-drift 32s ease-in-out infinite alternate-reverse; }
.hm-bg__cursor {
  position: absolute; inset: 0;
  background: radial-gradient(520px circle at var(--cx, 50%) var(--cy, -20%), color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%);
  transition: opacity .4s;
}
.hm-bg__noise {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes hm-drift { to { transform: translate(80px, 60px) scale(1.12); } }

/* ---------- Typografie ---------- */
.hm-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 700 .74rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.hm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: hm-pulse 2.2s infinite; }
@keyframes hm-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hm-display, .hm-h1, .hm-h2, .hm-h3 { font-family: var(--font-display); color: var(--text); margin: 0; text-wrap: balance; }
.hm-display { font-size: clamp(2.4rem, 4.8vw, 4.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -.038em; }
.hm-h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.06; letter-spacing: -.032em; }
.hm-h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 800; line-height: 1.06; letter-spacing: -.032em; }
.hm-h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.hm-lead { font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--muted); max-width: 60ch; margin: 0; }
.hm-gradient-text {
  background: linear-gradient(100deg, #fff 0%, color-mix(in srgb, var(--accent) 60%, #fff) 35%, var(--accent) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hm-muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.hm-btn {
  --b-bg: var(--surface-2);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.35rem; border-radius: 12px; border: 1px solid transparent;
  background: var(--b-bg); color: var(--text);
  font: 600 .95rem/1 var(--font); white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.hm-btn:active { transform: translateY(0) scale(.98); }
.hm-btn--primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 92%, #fff), var(--accent-2));
  color: #fff; box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.hm-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 48px -10px color-mix(in srgb, var(--accent) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .32); }
.hm-btn--ghost { background: rgba(255, 255, 255, .035); border-color: var(--line-2); }
.hm-btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .26); transform: translateY(-2px); }
.hm-btn--soft { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.hm-btn--soft:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.hm-btn--danger { background: color-mix(in srgb, var(--danger) 14%, transparent); color: #fda4af; border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.hm-btn--sm { padding: .62rem .9rem; font-size: .85rem; border-radius: 10px; gap: .45rem; }
.hm-btn--lg { padding: 1.08rem 1.6rem; font-size: 1rem; border-radius: 14px; }
.hm-btn--block { width: 100%; }
.hm-btn[disabled], .hm-btn.is-disabled { opacity: .5; pointer-events: none; }
.hm-btn.is-loading { pointer-events: none; }
.hm-btn.is-loading > * { opacity: 0; }
.hm-btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: hm-spin .7s linear infinite;
}
.hm-btn.is-done { background: var(--success); box-shadow: 0 10px 30px -10px var(--success); }
@keyframes hm-spin { to { transform: rotate(360deg); } }

.hm-iconbtn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  transition: background .2s, color .2s, border-color .2s;
}
.hm-iconbtn:hover { background: var(--surface-2); color: var(--text); border-color: var(--line-2); }

/* ---------- Karten + Spotlight ---------- */
.hm-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)), rgba(13, 13, 16, .9);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.hm-spot { isolation: isolate; }
.hm-spot::before, .hm-spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.hm-spot::after {
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 10%, transparent), transparent 45%);
}
.hm-spot::before {
  z-index: 3; padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 75%, transparent), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.hm-spot:hover::before, .hm-spot:hover::after { opacity: 1; }

/* ---------- Header ---------- */
.hm-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.hm-header.is-scrolled {
  background: rgba(9, 9, 11, .74);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
}
.hm-header__inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.hm-logo { display: inline-flex; align-items: center; gap: .7rem; font: 800 1.12rem/1 var(--font-display); letter-spacing: -.02em; flex-shrink: 0; }
.hm-logo img { height: 40px; width: auto; filter: drop-shadow(0 4px 18px color-mix(in srgb, var(--accent) 45%, transparent)); }

/* Marke: Logo + Schriftzug (wie im Entwurf) */
.hm-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hm-brand img { height: 50px; width: auto; filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent)); transition: transform .4s var(--ease); }
.hm-brand:hover img { transform: rotate(-4deg); }
.hm-brand__text { display: grid; gap: 5px; }
.hm-brand__name { font: 800 21px/1 var(--font-display); letter-spacing: -.01em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.hm-brand__name span { color: var(--accent); }
.hm-brand__sub { font: 600 10.5px/1 var(--font); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hm-header__sep { width: 1px; height: 36px; background: var(--line-2); flex-shrink: 0; }

.hm-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.hm-nav__link {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .66rem .85rem; border-radius: 12px; border: 1px solid transparent;
  color: var(--text); font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.hm-nav__link i { color: var(--muted); transition: color .2s; }
.hm-nav__link:hover, .hm-dd.is-open > .hm-nav__link { background: var(--surface); }
.hm-nav__link:hover i { color: var(--text); }
.hm-nav__link.is-active { background: var(--accent-soft); border-color: var(--accent-line); }
.hm-nav__link.is-active i { color: var(--accent); }
.hm-nav__link .fa-chevron-down { font-size: .6rem; color: var(--faint); transition: transform .25s var(--ease); }
.hm-dd.is-open > .hm-nav__link .fa-chevron-down { transform: rotate(180deg); }

.hm-actions { display: flex; align-items: center; gap: 10px; }
.hm-kbd { font: 600 .68rem/1 var(--font); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--faint); }

/* Suchfeld im Header */
.hm-hsearch {
  display: flex; align-items: center; gap: .7rem; width: 190px; height: 46px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02);
  color: var(--faint); cursor: text; transition: border-color .2s, box-shadow .2s;
}
.hm-hsearch:hover { border-color: rgba(255, 255, 255, .24); }
.hm-hsearch:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
.hm-hsearch input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font-size: .92rem; }
.hm-hsearch input::placeholder { color: var(--faint); }
.hm-hsearch input::-webkit-search-cancel-button { display: none; }

/* Quadratische Icon-Buttons (Warenkorb, Konto, Menü) */
.hm-ibtn {
  position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); color: var(--text);
  transition: background .2s, border-color .2s, color .2s;
}
.hm-ibtn:hover, .hm-dd.is-open > .hm-ibtn { background: var(--surface-2); border-color: rgba(255, 255, 255, .26); }
.hm-ibtn--accent { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }
.hm-ibtn--accent:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 22%, transparent); }
.hm-ibtn__badge {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 99px; background: var(--accent); color: #fff;
  font: 700 .7rem/1 var(--font); box-shadow: 0 0 0 3px var(--bg);
}
.hm-ibtn .hm-avatar { width: 28px; height: 28px; border-radius: 8px; font-size: .8rem; }
.hm-show-md { display: none; }
.hm-account { width: 270px; padding: 10px; }
.hm-account .hm-menu__row { padding: 2px 4px 6px; gap: 6px; }
.hm-account .hm-chip { padding: .38rem .7rem; font-size: .8rem; }
.hm-account .hm-btn { margin: 4px 0; }

/* Sprache & Währung */
.hm-langbtn { width: auto; display: inline-flex; align-items: center; gap: 9px; padding: 0 13px; font: 600 .8rem/1 var(--font); letter-spacing: .06em; color: var(--muted); }
.hm-langbtn:hover, .hm-dd.is-open > .hm-langbtn { color: var(--text); }
.hm-langbtn__sep { width: 1px; height: 14px; background: var(--line-2); }
.hm-locale { width: 290px; padding: 10px; }
.hm-locale__cur { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-height: 172px; overflow-y: auto; padding: 2px 4px 4px; scrollbar-width: thin; }
.hm-locale__cur .hm-chip { justify-content: center; padding: .38rem 0; font-size: .76rem; }

.hm-pill {
  display: inline-flex; align-items: center; gap: .45rem; height: 42px; padding: 0 .85rem;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font-weight: 600; font-size: .85rem; transition: color .2s, border-color .2s, background .2s;
}
.hm-pill:hover, .hm-dd.is-open > .hm-pill { color: var(--text); border-color: var(--line-2); background: var(--surface-2); }

.hm-cartbtn.is-bump { animation: hm-bump .6s var(--ease); }
@keyframes hm-bump { 0% { transform: scale(1); } 30% { transform: scale(1.12); } 60% { transform: scale(.96); } 100% { transform: scale(1); } }

.hm-avatar {
  width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 800; font-size: .85rem;
}
.hm-burger { display: none; }

/* ---------- Dropdowns ---------- */
.hm-dd { position: relative; }
.hm-dd__menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 70; min-width: 210px;
  padding: 6px; border-radius: 16px; border: 1px solid var(--line-2);
  background: rgba(18, 18, 22, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top left;
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s;
}
.hm-dd__menu--right { left: auto; right: 0; transform-origin: top right; }
.hm-dd.is-open > .hm-dd__menu { opacity: 1; visibility: visible; transform: none; }
.hm-dd__item {
  display: flex; align-items: center; gap: .7rem; width: 100%; padding: .62rem .75rem; border-radius: 10px;
  color: var(--muted); font-size: .92rem; text-align: left; transition: background .15s, color .15s;
}
.hm-dd__item:hover, .hm-dd__item.is-active { background: var(--surface-2); color: var(--text); }
.hm-dd__item.is-active::after { content: "\f00c"; font: var(--fa-font-solid); margin-left: auto; color: var(--accent); font-size: .75rem; }
.hm-dd__label { padding: .6rem .75rem .35rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.hm-dd__sep { height: 1px; background: var(--line); margin: 6px 4px; }
.hm-dd__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }

.hm-mega { width: min(560px, 90vw); padding: 10px; }
.hm-mega__item { display: flex; gap: .85rem; align-items: center; padding: .75rem; border-radius: 12px; transition: background .15s; }
.hm-mega__item:hover, .hm-mega__item.is-active { background: var(--surface-2); }
.hm-mega__item strong { display: block; font-weight: 600; font-size: .95rem; }
.hm-mega__item small { display: block; color: var(--faint); font-size: .8rem; }
.hm-mega__foot { margin-top: 6px; padding: .8rem; border-radius: 12px; background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .88rem; color: var(--muted); }
.hm-mega__foot a { color: var(--accent); font-weight: 600; }

/* ---------- Drawer (Warenkorb / Menü) ---------- */
.hm-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.hm-overlay.is-open { opacity: 1; visibility: visible; }
.hm-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(430px, 100vw);
  display: flex; flex-direction: column;
  background: #0e0e11; border-left: 1px solid var(--line-2); box-shadow: -30px 0 80px rgba(0, 0, 0, .5);
  transform: translateX(104%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
}
.hm-drawer.is-open { transform: none; visibility: visible; }
.hm-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.hm-drawer__title { font: 800 1.25rem/1.2 var(--font-display); letter-spacing: -.02em; margin: 0; }
.hm-drawer__body { flex: 1; overflow-y: auto; padding: 16px 22px; overscroll-behavior: contain; }
.hm-drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .02); }

.hm-cart__item { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); margin-bottom: 10px; animation: hm-in .4s var(--ease) both; }
.hm-cart__thumb { width: 58px; height: 58px; border-radius: 10px; overflow: hidden; background: var(--bg-elev-2); display: grid; place-items: center; color: var(--faint); }
.hm-cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hm-cart__info strong { display: block; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.hm-cart__info span { font-size: .82rem; color: var(--muted); }
.hm-cart__remove { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--faint); transition: background .2s, color .2s; }
.hm-cart__remove:hover { background: color-mix(in srgb, var(--danger) 16%, transparent); color: #fda4af; }
.hm-cart__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; color: var(--muted); }
.hm-cart__total strong { font: 800 1.5rem/1 var(--font-display); color: var(--text); letter-spacing: -.02em; }
.hm-cart__empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.hm-cart__empty i { font-size: 2.2rem; color: var(--faint); margin-bottom: 14px; display: block; }
.hm-cart__user { display: flex; align-items: center; gap: .7rem; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 14px; font-size: .9rem; color: var(--muted); }
.hm-cart__user strong { color: var(--text); }
.hm-cart__user a { margin-left: auto; font-size: .82rem; color: var(--faint); }
.hm-cart__user a:hover { color: var(--text); }
@keyframes hm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hm-menu__group { margin-bottom: 22px; }
.hm-menu__group .hm-dd__label { padding-left: 0; }
.hm-menu__link { display: flex; align-items: center; gap: .8rem; padding: .8rem .2rem; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 500; }
.hm-menu__link i { width: 20px; color: var(--accent); text-align: center; }
.hm-menu__row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Modal (Schnellansicht) ---------- */
.hm-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; }
.hm-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: hm-fade .3s both; }
.hm-modal__dialog {
  position: relative; width: min(1060px, 100%); max-height: calc(100vh - 40px); overflow-x: hidden; overflow-y: auto;
  background: #0f0f12; border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
  animation: hm-pop .45s var(--ease) both; overscroll-behavior: contain;
}
.hm-modal__close { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 5; }
.hm-modal__body { padding: 26px; }
.hm-modal__loading { display: grid; place-items: center; min-height: 340px; color: var(--muted); }
.hm-modal__loading::before { content: ""; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: hm-spin .8s linear infinite; }
@keyframes hm-fade { from { opacity: 0; } }
@keyframes hm-pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }

/* ---------- Befehls-Palette / Suche ---------- */
.hm-palette { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: center; align-items: flex-start; padding: 11vh 16px 16px; }
.hm-palette__box {
  position: relative; width: min(660px, 100%); border-radius: 20px; overflow: hidden;
  background: rgba(16, 16, 20, .97); border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
  animation: hm-pop .35s var(--ease) both;
}
.hm-palette__input { display: flex; align-items: center; gap: .8rem; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.hm-palette__input i { color: var(--accent); }
.hm-palette__input input { flex: 1; background: none; border: 0; outline: 0; font-size: 1.08rem; color: var(--text); }
.hm-palette__input input::placeholder { color: var(--faint); }
.hm-palette__list { max-height: min(56vh, 480px); overflow-y: auto; padding: 8px; }
.hm-palette__group { padding: 10px 12px 6px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.hm-palette__item { display: flex; align-items: center; gap: .85rem; padding: .7rem .8rem; border-radius: 12px; color: var(--muted); }
.hm-palette__item .hm-palette__ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text); flex-shrink: 0; overflow: hidden; }
.hm-palette__item .hm-palette__ic img { width: 100%; height: 100%; object-fit: cover; }
.hm-palette__item b { color: var(--text); font-weight: 600; display: block; line-height: 1.3; }
.hm-palette__item small { font-size: .8rem; color: var(--faint); }
.hm-palette__item .hm-palette__meta { margin-left: auto; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.hm-palette__item.is-active { background: var(--surface-2); color: var(--text); }
.hm-palette__item.is-active .hm-palette__ic { background: var(--accent); color: #fff; }
.hm-palette__empty { padding: 28px; text-align: center; color: var(--faint); }
.hm-palette__foot { display: flex; gap: 1rem; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--faint); }

/* ---------- Toasts ---------- */
.hm-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 130; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 40px)); }
.hm-toast {
  display: flex; gap: .85rem; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  background: rgba(20, 20, 25, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  animation: hm-toast-in .45s var(--ease) both;
}
.hm-toast.is-leaving { animation: hm-toast-out .3s var(--ease) both; }
.hm-toast__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; background: var(--accent-soft); color: var(--accent); }
.hm-toast--success .hm-toast__ic { background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); }
.hm-toast--danger .hm-toast__ic { background: color-mix(in srgb, var(--danger) 16%, transparent); color: var(--danger); }
.hm-toast--warning .hm-toast__ic { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.hm-toast b { display: block; font-size: .93rem; }
.hm-toast span { font-size: .86rem; color: var(--muted); }
.hm-toast a { color: var(--accent); font-weight: 600; }
@keyframes hm-toast-in { from { opacity: 0; transform: translateX(30px); } }
@keyframes hm-toast-out { to { opacity: 0; transform: translateX(30px); } }

.hm-flash { margin: 16px auto 0; max-width: var(--container); padding: 0 var(--gutter); }
.hm-flash__box { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); }
html.js .hm-flash { display: none; }

/* ---------- Sections ---------- */
.hm-section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.hm-section--tight { padding-top: 24px; }
.hm-section--top { padding-top: clamp(28px, 5vw, 56px); }
.hm-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.hm-section__head > div { display: grid; gap: 14px; max-width: 720px; }

/* ---------- Hero: Qualität & Kundenzufriedenheit (wie im Entwurf) ---------- */
.hm-hero { padding: clamp(24px, 4vw, 44px) 0 12px; }
.hm-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hm-herocard {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .95fr); gap: clamp(24px, 3vw, 44px); align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); overflow: hidden;
}
.hm-herocard--solo { grid-template-columns: minmax(0, 1fr); }
.hm-herocard--solo .hm-herocard__copy { max-width: 780px; }
.hm-herocard::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(760px circle at 0% 0%, color-mix(in srgb, var(--accent) 19%, transparent), transparent 58%);
}
.hm-herocard__copy { position: relative; z-index: 1; display: grid; gap: 22px; }
.hm-herocard .hm-display { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.hm-herocard .hm-lead { max-width: 58ch; }
.hm-herocard .hm-quote { z-index: 1; padding: 30px; border: 1px solid var(--line-2); border-radius: 20px; background: rgba(12, 12, 15, .72); }
.hm-quote__who i { margin-right: .35rem; }
.hm-secure { display: inline-flex; align-items: center; gap: 14px; color: var(--text); font-size: 1rem; line-height: 1.35; }
.hm-secure i { font-size: 1.8rem; color: var(--accent); }

/* ---------- Kategorien (kompakt) ---------- */
.hm-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.hm-cat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; transition: border-color .25s, transform .25s var(--ease); }
.hm-cat:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.hm-cat__text { display: grid; gap: 2px; min-width: 0; }
.hm-cat__name { font: 700 1.05rem/1.2 var(--font-display); letter-spacing: -.01em; }
.hm-cat__meta { color: var(--muted); font-size: .84rem; }
.hm-cat__arrow { margin-left: auto; color: var(--faint); transition: color .25s, transform .25s var(--ease); }
.hm-cat:hover .hm-cat__arrow { color: var(--accent); transform: translateX(3px); }

/* ---------- Produkt-Feed (Startseite) ---------- */
.hm-feed { position: relative; margin-top: 44px; }
.hm-feed__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hm-feed__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.hm-feed__track::-webkit-scrollbar { display: none; }
.hm-feed__track > * { scroll-snap-align: start; }
.hm-feed__nav { display: flex; gap: 8px; }
.hm-skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: hm-shimmer 1.4s infinite; min-height: 300px; }
@keyframes hm-shimmer { to { background-position: -200% 0; } }

/* ---------- Produkt-Karten: Bilder im Querformat 16:9, immer komplett ---------- */
.hm-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.hm-pcard { display: flex; flex-direction: column; overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s var(--ease); }
.hm-pcard:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.hm-pcard__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; background: var(--bg-elev-2); border-bottom: 1px solid var(--line); }
.hm-pcard__media::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--img, none) center / cover no-repeat; filter: blur(20px) brightness(.55) saturate(1.15); }
.hm-pcard__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.hm-pcard:hover .hm-pcard__media img { transform: scale(1.04); }
.hm-pcard__placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: var(--faint); }
.hm-pcard__quick {
  position: absolute; left: 50%; bottom: 14px; translate: -50% 10px; opacity: 0;
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 99px;
  background: rgba(10, 10, 12, .8); border: 1px solid var(--line-2); font-size: .8rem; font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: all .35s var(--ease);
}
.hm-pcard:hover .hm-pcard__quick { opacity: 1; translate: -50% 0; }
.hm-pcard__body { display: flex; flex-direction: column; gap: 16px; padding: 18px; flex: 1; }
.hm-pcard__title { margin: 0; font: 700 1.08rem/1.3 var(--font-display); letter-spacing: -.015em; }
.hm-pcard__title a:hover { color: var(--accent); }
.hm-pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }

.hm-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .6rem; border-radius: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); }
.hm-badge--sale { background: var(--accent); border-color: transparent; color: #fff; }
.hm-badge--abs { position: absolute; top: 12px; left: 12px; z-index: 2; }
.hm-badge--soft { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }

.hm-price { display: flex; flex-direction: column; line-height: 1.1; }
.hm-price del { color: var(--faint); font-size: .82rem; }
.hm-price__now { font: 800 1.3rem/1.1 var(--font-display); letter-spacing: -.02em; }
.hm-price__now small { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

.hm-incart .hm-incart__hover { display: none; }
.hm-incart:hover .hm-incart__idle { display: none; }
.hm-incart:hover .hm-incart__hover { display: inline-flex; gap: .45rem; align-items: center; }
.hm-incart:hover { background: color-mix(in srgb, var(--danger) 14%, transparent); color: #fda4af; border-color: color-mix(in srgb, var(--danger) 30%, transparent); }

/* Listen-Ansicht */
.hm-products.is-list { grid-template-columns: 1fr; gap: 12px; }
.hm-products.is-list .hm-pcard { flex-direction: row; }
.hm-products.is-list .hm-pcard__media { width: 260px; flex-shrink: 0; aspect-ratio: 16 / 9; border-bottom: 0; border-right: 1px solid var(--line); }
.hm-products.is-list .hm-pcard__body { flex-direction: row; align-items: center; }
.hm-products.is-list .hm-pcard__foot { margin: 0 0 0 auto; gap: 20px; }

/* ---------- Kategorie-Seite ---------- */
.hm-pagehead { padding: clamp(28px, 5vw, 60px) 0 10px; }
.hm-pagehead__inner { display: grid; gap: 18px; }
.hm-crumbs { display: flex; align-items: center; gap: .6rem; font-size: .86rem; color: var(--faint); flex-wrap: wrap; }
.hm-crumbs a { color: var(--muted); }
.hm-crumbs a:hover { color: var(--text); }
.hm-crumbs i { font-size: .6rem; }
.hm-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.hm-chips::-webkit-scrollbar { display: none; }
.hm-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .9rem; font-weight: 500; white-space: nowrap; transition: all .2s; }
.hm-chip:hover { color: var(--text); border-color: var(--line-2); }
.hm-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: var(--glow); }
.hm-chip i { font-size: .82rem; }

.hm-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; margin-bottom: 22px; flex-wrap: wrap; position: sticky; top: calc(var(--header-h) + 10px); z-index: 20; background: rgba(14, 14, 17, .85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hm-toolbar__right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hm-search { display: flex; align-items: center; gap: .7rem; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); min-width: min(340px, 100%); flex: 1; max-width: 420px; transition: border-color .2s, box-shadow .2s; }
.hm-search:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
.hm-search i { color: var(--faint); }
.hm-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; }
.hm-select { height: 44px; padding: 0 2.2rem 0 .9rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a3a3ad' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right .9rem center; -webkit-appearance: none; appearance: none; color: var(--text); cursor: pointer; }
.hm-select option { background: #141417; }
.hm-seg { display: inline-flex; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.hm-seg button { width: 36px; height: 34px; border-radius: 9px; color: var(--faint); transition: all .2s; }
.hm-seg button.is-active { background: var(--surface-2); color: var(--text); }
.hm-count { color: var(--muted); font-size: .9rem; }
.hm-count b { color: var(--text); }
.hm-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.hm-empty i { font-size: 2.4rem; color: var(--faint); display: block; margin-bottom: 16px; }
.hm-pcard.is-hidden { display: none; }

/* ---------- Produktseite ---------- */
.hm-pdp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 32px; align-items: start; margin-top: 24px; }
.hm-pdp__main { display: grid; gap: 24px; min-width: 0; }
.hm-gallery__stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-elev-2); border: 1px solid var(--line); }
.hm-gallery__slide { position: absolute; inset: 0; opacity: 0; overflow: hidden; isolation: isolate; transition: opacity .5s var(--ease), transform .6s var(--ease); transform: scale(1.02); }
.hm-gallery__slide::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--img, none) center / cover no-repeat; filter: blur(24px) brightness(.5) saturate(1.15); }
.hm-gallery__slide.is-active { opacity: 1; transform: none; z-index: 1; }
.hm-gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.hm-gallery__slide iframe { width: 100%; height: 100%; border: 0; }
.hm-gallery__arrow { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 10, 12, .7); border: 1px solid var(--line-2); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s, background .2s; }
.hm-gallery__stage:hover .hm-gallery__arrow, .hm-gallery__arrow:focus-visible { opacity: 1; }
.hm-gallery__arrow:hover { background: var(--accent); }
.hm-gallery__arrow--prev { left: 14px; }
.hm-gallery__arrow--next { right: 14px; }
.hm-gallery__counter { position: absolute; right: 14px; bottom: 14px; z-index: 3; padding: .3rem .6rem; border-radius: 8px; font-size: .78rem; font-weight: 600; background: rgba(10, 10, 12, .7); }
.hm-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.hm-gallery__thumbs::-webkit-scrollbar { display: none; }
.hm-gallery__thumb { position: relative; flex: 0 0 104px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .55; transition: opacity .2s, border-color .2s; }
.hm-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hm-gallery__thumb i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-shadow: 0 2px 10px #000; }
.hm-gallery__thumb.is-active, .hm-gallery__thumb:hover { opacity: 1; border-color: var(--accent); }

.hm-pdp__aside { min-width: 0; }
.hm-buybox { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.hm-buybox__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); overflow-wrap: anywhere; }
.hm-modal .hm-buybox__title { font-size: clamp(1.35rem, 1.9vw, 1.75rem); }
.hm-buybox__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-buybox__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hm-buybox__price .hm-price__now { font-size: 2.3rem; }
.hm-buybox__price del { color: var(--faint); font-size: 1.05rem; }
.hm-buybox__actions { display: grid; gap: 10px; }
.hm-buybox__row { display: flex; gap: 10px; }
.hm-buybox__row > * { flex: 1; }
.hm-trust { list-style: none; padding: 0; margin: 0; display: grid; }
.hm-trust li { display: grid; gap: 3px; padding: 13px 0; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.45; color: var(--muted); }
.hm-trust li:last-child { padding-bottom: 0; }
.hm-trust li b { color: var(--text); font-weight: 600; }
.hm-trust li a { color: var(--accent); justify-self: start; }
.hm-trust li a:hover { text-decoration: underline; }
.hm-note { padding: 12px 14px; border-radius: 12px; font-size: .88rem; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.hm-note--warn { background: color-mix(in srgb, var(--warn) 10%, transparent); border-color: color-mix(in srgb, var(--warn) 28%, transparent); color: #fcd34d; }

.hm-collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.hm-collapse > div { overflow: hidden; }
.hm-collapse.is-open { grid-template-rows: 1fr; }
.hm-gift { display: flex; gap: 8px; padding-top: 4px; }
.hm-input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3);
  color: var(--text); outline: 0; transition: border-color .2s, box-shadow .2s;
}
.hm-input:focus { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
textarea.hm-input { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
select.hm-input { -webkit-appearance: none; appearance: none; padding-right: 2.2rem; background: rgba(0, 0, 0, .3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a3a3ad' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 1rem center; }
select.hm-input option { background: #141417; }

.hm-desc { padding: clamp(22px, 3vw, 34px); }
.hm-desc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }

/* Prosa – für Beschreibungen aus dem Tebex-Panel */
.hm-prose { color: #d4d4da; font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.hm-prose > :first-child { margin-top: 0; }
.hm-prose > :last-child { margin-bottom: 0; }
.hm-prose h1, .hm-prose h2, .hm-prose h3, .hm-prose h4 { font-family: var(--font-display); color: var(--text); letter-spacing: -.02em; line-height: 1.2; margin: 1.6em 0 .6em; }
.hm-prose h1 { font-size: 1.7rem; } .hm-prose h2 { font-size: 1.45rem; } .hm-prose h3 { font-size: 1.2rem; } .hm-prose h4 { font-size: 1.05rem; }
.hm-prose p { margin: 0 0 1em; }
.hm-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
.hm-prose a:hover { text-decoration-color: var(--accent); }
.hm-prose strong, .hm-prose b { color: var(--text); }
.hm-prose ul, .hm-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.hm-prose li { margin: .35em 0; }
.hm-prose li::marker { color: var(--accent); }
.hm-prose img { max-width: 100%; height: auto !important; border-radius: 12px; margin: 1em 0; }
.hm-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.hm-prose blockquote { margin: 1.2em 0; padding: .8em 1.2em; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; }
.hm-prose code { font-size: .88em; padding: .15em .4em; border-radius: 6px; background: var(--surface-2); }
.hm-prose pre { padding: 1em; border-radius: 12px; background: #0b0b0e; border: 1px solid var(--line); overflow-x: auto; }
.hm-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; }
.hm-prose th, .hm-prose td { padding: .6em .8em; border-bottom: 1px solid var(--line); text-align: left; }
.hm-prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.hm-prose--muted { color: var(--muted); }

/* Schnellansicht – kompaktere Produktseite im Modal */
.hm-modal .hm-pdp { margin-top: 0; gap: 26px; }
.hm-modal .hm-buybox { position: static; }
.hm-modal .hm-crumbs { display: none; }
.hm-modal .hm-desc { max-height: 420px; overflow-y: auto; }
.hm-modal__more { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent); font-weight: 600; font-size: .9rem; }

/* ---------- Checkout ---------- */
.hm-steps { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; color: var(--faint); font-size: .88rem; }
.hm-step { display: inline-flex; align-items: center; gap: .55rem; }
.hm-step span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-weight: 700; font-size: .8rem; }
.hm-step.is-active { color: var(--text); }
.hm-step.is-active span { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: var(--glow); }
.hm-step__line { width: 40px; height: 1px; background: var(--line-2); }

.hm-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; margin-top: 28px; }
.hm-checkout__main { display: grid; gap: 20px; min-width: 0; }
.hm-basket { padding: 8px; }
.hm-basket__row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto 40px; gap: 18px; align-items: center; padding: 14px; border-radius: 14px; transition: background .2s; }
.hm-basket__row + .hm-basket__row { border-top: 1px solid var(--line); border-radius: 0; }
.hm-basket__row:hover { background: rgba(255, 255, 255, .02); }
.hm-basket__thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--bg-elev-2); display: grid; place-items: center; color: var(--faint); }
.hm-basket__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hm-basket__name { font-weight: 600; line-height: 1.3; }
.hm-basket__unit { font-size: .85rem; color: var(--muted); }
.hm-basket__total { font: 800 1.12rem/1 var(--font-display); text-align: right; min-width: 90px; }
.hm-basket__actions { display: flex; justify-content: flex-end; padding: 10px 14px 6px; }

.hm-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 11px; overflow: hidden; background: rgba(0, 0, 0, .25); }
.hm-qty button { width: 34px; height: 38px; color: var(--muted); transition: background .2s, color .2s; }
.hm-qty button:hover { background: var(--surface-2); color: var(--text); }
.hm-qty input { width: 42px; height: 38px; text-align: center; background: none; border: 0; outline: 0; font-weight: 600; -moz-appearance: textfield; }
.hm-qty input::-webkit-outer-spin-button, .hm-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hm-qty input:disabled { opacity: .6; }

.hm-coupon { padding: 22px; }
.hm-coupon form { display: flex; gap: 10px; margin-top: 14px; }
.hm-coupon__list { margin-top: 14px; display: grid; gap: 8px; }
.hm-coupon__item { display: flex; align-items: center; gap: .8rem; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--success) 8%, transparent); border: 1px solid color-mix(in srgb, var(--success) 25%, transparent); font-size: .9rem; }
.hm-coupon__item i { color: var(--success); }
.hm-coupon__item a { margin-left: auto; color: var(--faint); }
.hm-coupon__item a:hover { color: #fda4af; }

.hm-summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; display: grid; gap: 18px; }
.hm-summary__row { display: flex; justify-content: space-between; color: var(--muted); font-size: .94rem; }
.hm-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.hm-summary__total strong { font: 800 2rem/1 var(--font-display); letter-spacing: -.03em; }
.hm-fine { font-size: .8rem; color: var(--faint); margin: 0; line-height: 1.5; }
.hm-paymini { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 1.6rem; }
.hm-paymini span { display: inline-grid; place-items: center; height: 30px; padding: 0 8px; border-radius: 7px; background: #fff; color: #111; font-size: 1.15rem; }
.hm-paymini span.hm-paymini__txt { font-size: .68rem; font-weight: 800; letter-spacing: .02em; }

/* ---------- Login / Optionen ---------- */
.hm-auth { max-width: 520px; margin: 0 auto; padding: clamp(28px, 4vw, 44px); text-align: center; display: grid; gap: 20px; }
.hm-auth__icon { width: 78px; height: 78px; margin: 0 auto; border-radius: 22px; display: grid; place-items: center; font-size: 1.9rem; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: var(--glow); }
.hm-auth form { display: grid; gap: 12px; text-align: left; }
.hm-form { display: grid; gap: 20px; }
.hm-field { display: grid; gap: 8px; }
.hm-field label { font-weight: 600; font-size: .92rem; }
.hm-field small { color: var(--faint); font-size: .82rem; }
.hm-inputgroup { display: flex; gap: 8px; }

/* ---------- Qualität / Testimonials (wie im Entwurf) ---------- */
.hm-quality { display: grid; grid-template-columns: 1.35fr .9fr; gap: 24px; padding: clamp(26px, 4vw, 44px); overflow: hidden; }
.hm-quality::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(600px circle at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%); pointer-events: none; }
.hm-quality__copy { display: grid; gap: 20px; align-content: center; position: relative; }
.hm-quote { position: relative; padding: 28px; display: grid; gap: 18px; align-content: start; background: rgba(12, 12, 15, .7); }
.hm-quote__slides { position: relative; min-height: 220px; }
.hm-quote__slide { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); display: grid; gap: 16px; align-content: start; }
.hm-quote__slide.is-active { opacity: 1; transform: none; position: relative; }
.hm-quote__text { font: 700 clamp(1.25rem, 2vw, 1.55rem)/1.25 var(--font-display); letter-spacing: -.02em; margin: 0; }
.hm-quote__who { color: var(--accent); font-weight: 600; }
.hm-quote__sub { color: var(--muted); font-size: .9rem; margin-top: -10px; }
.hm-quote__stars { color: var(--accent); letter-spacing: 3px; font-size: .9rem; }
.hm-quote__dots { display: flex; gap: 6px; }
.hm-quote__dots button { width: 22px; height: 4px; border-radius: 4px; background: var(--line-2); transition: background .3s, width .3s; }
.hm-quote__dots button.is-active { background: var(--accent); width: 34px; }

/* ---------- Features ---------- */
.hm-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hm-feature { padding: 22px; display: grid; gap: 10px; align-content: start; }
.hm-feature i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.hm-feature b { font: 700 1.05rem/1.3 var(--font-display); }
.hm-feature span { color: var(--muted); font-size: .92rem; }
.hm-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.hm-about--single { grid-template-columns: 1fr; }
.hm-about__text { padding: clamp(24px, 3vw, 36px); }

/* ---------- Module (Sidebar-Module aus dem Panel) ---------- */
.hm-modules { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.hm-modules .hm-payments { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.hm-modules #giftcardbalance { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.hm-modules #giftcardbalance .hm-inputgroup { flex: 0 1 460px; }
.hm-modules #giftcardbalance .hm-note { flex-basis: 100%; }
.hm-module { padding: 22px; display: grid; gap: 14px; align-content: start; }
.hm-module__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hm-module__title { display: flex; align-items: center; gap: .6rem; margin: 0; font: 700 1.05rem/1.2 var(--font-display); }
.hm-module__title i { color: var(--accent); }
.hm-payments { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hm-payments li { display: flex; align-items: center; gap: .75rem; padding: 8px; border-radius: 12px; background: var(--surface); animation: hm-in .5s var(--ease) both; min-width: 0; }
.hm-payments li > div { min-width: 0; }
.hm-payments img, .hm-payments .hm-avatar { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; object-fit: cover; }
.hm-payments b { display: block; font-size: .9rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-payments small { display: block; color: var(--faint); font-size: .78rem; }
.hm-progress { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.hm-progress__bar { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 60%, transparent); transition: width 1.6s var(--ease); }
.hm-progress__bar.is-striped { background-image: linear-gradient(45deg, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%), linear-gradient(90deg, var(--accent-2), var(--accent)); background-size: 18px 18px, 100% 100%; animation: hm-stripes 1s linear infinite; }
@keyframes hm-stripes { to { background-position: 18px 0, 0 0; } }
.hm-module__meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .88rem; }
.hm-status { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .65rem; border-radius: 99px; font-size: .78rem; font-weight: 700; }
.hm-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hm-status--on { color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent); }
.hm-status--off { color: var(--danger); background: color-mix(in srgb, var(--danger) 14%, transparent); }
.hm-featured { display: flex; gap: 14px; align-items: center; }
.hm-featured img { width: 92px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }

/* ---------- Zahlungsmethoden ---------- */
.hm-paygrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hm-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; padding: 16px; transition: transform .35s var(--ease), border-color .3s; }
.hm-pay:hover { transform: translateY(-4px); border-color: var(--line-2); }
.hm-pay__logo { aspect-ratio: 16 / 10; border-radius: 12px; background: #fff; color: #111; display: grid; place-items: center; align-content: center; gap: 4px; padding: 10px; font-size: 1.9rem; }
.hm-pay__logo .hm-pay__icons { display: flex; gap: 8px; align-items: center; justify-content: center; }
.hm-pay__logo .hm-pay__word { font: 800 1.05rem/1 var(--font); letter-spacing: -.02em; }
.hm-pay b { display: block; font: 700 1rem/1.25 var(--font-display); margin-bottom: 4px; }
.hm-pay span { color: var(--muted); font-size: .85rem; line-height: 1.4; display: block; }

/* ---------- FAQ ---------- */
.hm-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.hm-faq__list { display: grid; gap: 12px; }
.hm-acc { overflow: hidden; transition: border-color .3s; }
.hm-acc[open] { border-color: var(--accent-line); }
.hm-acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font: 600 1.02rem/1.35 var(--font); }
.hm-acc summary::-webkit-details-marker { display: none; }
.hm-acc summary i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--line-2); font-size: .75rem; transition: transform .35s var(--ease), background .3s, border-color .3s; }
.hm-acc[open] summary i { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.hm-acc__body { padding: 0 22px 22px; color: var(--muted); }

/* ---------- CTA ---------- */
.hm-cta { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px); text-align: center; display: grid; gap: 22px; justify-items: center; border-color: var(--accent-line); background: radial-gradient(700px circle at 50% 120%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.hm-cta .hm-lead { margin: 0 auto; }

/* ---------- Footer ---------- */
.hm-footer { margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .015)); }
.hm-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding: 60px 0 40px; }
.hm-footer__brand { display: grid; gap: 16px; align-content: start; }
.hm-footer__brand p { color: var(--muted); margin: 0; max-width: 34ch; font-size: .94rem; }
.hm-footer__social { display: flex; gap: 8px; }
.hm-footer h4 { margin: 0 0 14px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.hm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hm-footer li a { color: var(--muted); font-size: .94rem; transition: color .2s; }
.hm-footer li a:hover { color: var(--accent); }
.hm-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--faint); font-size: .84rem; }

.hm-totop { position: fixed; left: 20px; bottom: 20px; z-index: 50; opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity .3s, translate .3s var(--ease); }
.hm-totop.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }

/* ---------- Reveal-Animationen (nur wenn JS läuft) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .hm-hsearch { display: none; }
  .hm-show-md { display: inline-grid; }
  .hm-nav__link { padding: .6rem .7rem; }
  .hm-header__inner { gap: 16px; }
}
@media (max-width: 1100px) {
  .hm-nav, .hm-hsearch, .hm-header__sep { display: none; }
  .hm-show-md { display: inline-grid; }
  .hm-burger { display: inline-grid; }
  .hm-actions { margin-left: auto; }
  .hm-herocard { grid-template-columns: 1fr; }
  .hm-feed__track { grid-auto-columns: calc((100% - 20px) / 2); }
  .hm-paygrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-pdp, .hm-checkout, .hm-quality, .hm-faq, .hm-about { grid-template-columns: 1fr; }
  .hm-buybox, .hm-summary { position: static; }
  .hm-footer__grid { grid-template-columns: 1fr 1fr; }
  .hm-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 68px; }
  .hm-logo span, .hm-hide-sm { display: none !important; }
  .hm-logo img { height: 34px; }
  .hm-brand { gap: 9px; }
  .hm-brand img { height: 38px; }
  .hm-brand__name { font-size: 16px; }
  .hm-brand__sub { font-size: 8.5px; letter-spacing: .32em; }
  .hm-actions { gap: 8px; }
  .hm-ibtn { width: 42px; height: 42px; }
  .hm-herocard { padding: 24px 18px; gap: 22px; }
  .hm-herocard .hm-quote { padding: 22px; }
  .hm-hero__cta .hm-btn { flex: 1 1 100%; }
  .hm-feed__track { grid-auto-columns: 86%; }
  .hm-secure { font-size: .92rem; }
  .hm-paygrid { grid-template-columns: 1fr; }
  .hm-pay { grid-template-columns: 120px 1fr; }
  .hm-products { grid-template-columns: 1fr; }
  .hm-products.is-list .hm-pcard { flex-direction: column; }
  .hm-products.is-list .hm-pcard__media { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .hm-products.is-list .hm-pcard__body { flex-direction: column; align-items: stretch; }
  .hm-products.is-list .hm-pcard__foot { margin: 0; }
  .hm-toolbar { position: static; }
  .hm-toolbar__right { width: 100%; flex-wrap: nowrap; }
  .hm-toolbar__right .hm-select { flex: 1; min-width: 0; }
  .hm-search { max-width: none; min-width: 100%; }
  .hm-basket__row { grid-template-columns: 56px minmax(0, 1fr) 36px; gap: 12px; }
  .hm-basket__thumb { width: 56px; height: 56px; }
  .hm-basket__row .hm-qty { grid-column: 2; grid-row: 2; justify-self: start; }
  .hm-basket__total { grid-column: 2 / 4; grid-row: 2; text-align: right; align-self: center; }
  .hm-basket__row .hm-cart__remove { grid-column: 3; grid-row: 1; }
  .hm-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hm-coupon form, .hm-gift, .hm-inputgroup { flex-direction: column; }
  .hm-toasts { right: 12px; left: 12px; bottom: 12px; width: auto; }
  .hm-modal { padding: 0; align-items: end; }
  .hm-modal__dialog { max-height: 92vh; border-radius: 22px 22px 0 0; }
  .hm-modal__body { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
