:root {
  --bg: #fafaf8;
  --surface: #fff;
  --ink: #172124;
  --muted: #647174;
  --line: #e4e2dc;
  --brand: #1b5e6b;
  --brand-dark: #0f3d47;
  --brand-soft: #e8f4f6;
  --accent: #c9a84c;
  --danger: #9f2d2d;
  --shadow: 0 24px 70px rgba(15, 61, 71, .11);
  --radius: 18px;
  --max: 1240px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); line-height: 1.6; }
body.dialog-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent), white 20%); outline-offset: 3px; }

.promotion-banner { position: relative; z-index: 70; border-bottom: 1px solid color-mix(in srgb, var(--accent), transparent 35%); background: linear-gradient(100deg, var(--brand-dark), var(--brand)); color: white; }
.promotion-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding-block: 9px; }
.promotion-offer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; text-align: center; font-size: .9rem; font-weight: 600; }
.promotion-code { padding: 5px 12px; border: 1px solid color-mix(in srgb, white, transparent 55%); border-radius: 999px; background: color-mix(in srgb, white, transparent 86%); color: white; font-weight: 800; letter-spacing: .04em; }
.promotion-code:hover { background: color-mix(in srgb, white, transparent 76%); }
.promotion-auto { padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--brand-dark); font-size: .8rem; font-weight: 800; }

.skip { position: fixed; left: 12px; top: -80px; z-index: 999; padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 110px); }
.eyebrow { color: var(--brand); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--brand-dark); font-family: "DM Serif Display", Georgia, serif; line-height: 1.08; font-weight: 400; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); max-width: 68ch; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg), transparent 5%); backdrop-filter: blur(16px); }
.nav { min-height: 72px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--brand-dark); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: white; font-family: Georgia, serif; font-weight: 700; flex-shrink: 0; }
.brand-mark--logo {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  padding: 0;
}
.brand-mark--logo .brand-mark-img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: center;
}
.brand-name { font-family: "DM Serif Display", Georgia, serif; font-size: 1.45rem; white-space: nowrap; }
.nav-links { display: none; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 600; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.lang-switch button { border: 0; border-radius: 999px; background: transparent; color: var(--muted); padding: 6px 9px; font-size: .78rem; font-weight: 700; }
.lang-switch button.active { background: var(--brand); color: white; }
.icon-button { position: relative; display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--brand-dark); }
.cart-count { display: grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; border-radius: 99px; background: var(--accent); color: white; font-size: .72rem; font-weight: 700; }
.menu-button { display: grid; }

.hero { position: relative; isolation: isolate; min-height: calc(100svh - 72px); display: grid; align-items: center; padding-block: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: auto -25% -45% 35%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--brand-soft), transparent 68%); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy { max-width: 780px; }
.hero h1 { margin-top: 18px; max-width: var(--hero-title-max, 15ch); font-size: var(--hero-title-size, clamp(2.7rem, 7vw, 5.8rem)); overflow-wrap: break-word; hyphens: manual; }
.hero .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { border-color: var(--line); background: white; color: var(--brand-dark); }
.hero-card { position: relative; min-height: 360px; border-radius: 28px; overflow: hidden; background: linear-gradient(145deg, var(--brand), var(--brand-dark)); box-shadow: var(--shadow); container-type: inline-size; }
.hero-card::after { content: ""; position: absolute; inset: 24px; border: 1px solid color-mix(in srgb, white, transparent 78%); border-radius: 22px; }
.hero-card-inner { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; padding: clamp(34px, 8cqw, 52px); text-align: center; color: white; }
.hero-card strong { font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2rem, 13cqw, 4.6rem); font-weight: 400; white-space: nowrap; }
.hero-card span { display: block; margin-top: 12px; color: color-mix(in srgb, white, transparent 25%); font-size: clamp(.82rem, 3.4cqw, 1rem); line-height: 1.45; }

/* IMMI24: Caduceus floats over brand wordmark — no frame */
.hero--immi24 { background: var(--bg); }
.hero--immi24::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: auto -20% -42% 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft), transparent 72%);
  opacity: .7;
}
.hero--immi24 .hero-emblem {
  position: relative;
  display: grid;
  place-items: center;
  justify-items: center;
  gap: 6px;
  min-height: clamp(320px, 42vw, 460px);
  padding: 4px 8px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.hero--immi24 .hero-emblem-mark {
  position: relative;
  z-index: 2;
  width: min(58%, 280px);
  max-width: 300px;
  height: auto;
  margin: 0 auto -6px;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  /* nur sehr weicher Teal-Schatten — kein schwarzer Hof */
  filter: drop-shadow(0 10px 18px color-mix(in srgb, var(--brand), transparent 78%));
  animation: emblem-float 5.5s ease-in-out infinite;
  transform-origin: 50% 70%;
  -webkit-user-drag: none;
  user-select: none;
}
.hero--immi24 .hero-emblem-word {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--brand-dark);
  padding-top: 2px;
}
.hero--immi24 .hero-emblem-word strong {
  display: block;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--brand-dark);
  white-space: nowrap;
}
.hero--immi24 .hero-emblem-word span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(.78rem, 1.4vw, .95rem);
  font-weight: 600;
  letter-spacing: .04em;
}
@keyframes emblem-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero--immi24 .hero-emblem-mark { animation: none; }
}
@media (max-width: 899px) {
  .hero--immi24 .hero-emblem { min-height: 280px; order: -1; }
  .hero--immi24 .hero-emblem-mark { width: min(52%, 220px); margin-bottom: -4px; }
}

/* MAT-Pure: immune graphic right — transparent PNG, soft alpha edges only */
.hero--matpure { background: var(--bg); }
.hero--matpure::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: auto -15% -38% 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft), transparent 70%);
  opacity: .55;
}
.hero--matpure .hero-copy { position: relative; z-index: 1; }
.hero--matpure .hero-visual {
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 0;
  min-height: 0;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero--matpure .hero-visual-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(460px, 54vh);
  object-fit: contain;
  object-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  /* PNG-Alpha laesst --bg (#fafaf8) durchscheinen */
}
@media (max-width: 899px) {
  .hero--matpure .hero-visual { order: -1; width: 100%; }
  .hero--matpure .hero-visual-img {
    max-height: min(320px, 44vh);
    margin-inline: auto;
  }
}

/* GcMAF: molecule right column — transparent PNG, no card edges, no crop */
.hero--gcmaf { background: var(--bg); }
.hero--gcmaf::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: auto -18% -40% 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft), transparent 70%);
  opacity: .55;
}
.hero--gcmaf .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  background: transparent;
  padding: 0;
  backdrop-filter: none;
}
.hero--gcmaf .hero-visual {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 0;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  /* kein Card — freigestelltes PNG schwebt auf Seiten-BG */
  isolation: isolate;
}
.hero--gcmaf .hero-visual-img {
  display: block;
  width: min(100%, 560px);
  max-width: 100%;
  height: auto;
  max-height: min(480px, 55vh);
  object-fit: contain;
  object-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  /* echtes Alpha aus PNG — weich freigestellt, kein blauer Block */
  filter: drop-shadow(0 18px 40px rgba(15, 61, 71, .12));
}
@media (max-width: 899px) {
  .hero--gcmaf .hero-visual { order: -1; width: 100%; }
  .hero--gcmaf .hero-visual-img {
    width: min(100%, 420px);
    max-height: min(360px, 46vh);
    margin-inline: auto;
  }
}

.trust-bar { border-block: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.trust-item { min-height: 88px; display: grid; place-items: center; padding: 18px; background: white; color: var(--muted); text-align: center; font-size: .9rem; font-weight: 600; }
.trust-item strong { color: var(--brand); }

.section-head { display: grid; gap: 14px; margin-bottom: 34px; }
.catalog-state { padding: 32px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: white; }

/* ---------- Produktkarten ---------- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }

/* MAT-Pure: Produkt links, Video rechts */
.products-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.products-split-main .product-grid--single {
  grid-template-columns: 1fr;
  max-width: 420px;
}
.products-split-media { min-width: 0; }
.products-video {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0a1f24;
  box-shadow: 0 16px 40px rgba(15, 61, 71, .10);
}
.products-video-el {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(420px, 56vh);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0a1f24;
  vertical-align: middle;
}
@media (min-width: 900px) {
  .products-split {
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.25fr);
    gap: 32px;
    align-items: stretch;
  }
  .products-split-main .product-grid--single { max-width: none; }
  .products-video {
    position: sticky;
    top: 88px;
    height: 100%;
    min-height: 320px;
  }
  .products-video-el {
    height: 100%;
    max-height: none;
    min-height: 320px;
    object-fit: cover;
  }
}
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 30px rgba(15, 61, 71, .05); cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.product-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand), white 55%); box-shadow: 0 22px 50px rgba(15, 61, 71, .13); }
.product-media { position: relative; display: grid; place-items: center; aspect-ratio: 4/3; padding: 0; overflow: hidden; border: 0; background: linear-gradient(145deg, var(--brand-soft), white); }
.product-media img, .product-media video { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.media-count { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(15, 61, 71, .78); color: white; font-size: .74rem; font-weight: 700; }
.product-placeholder { color: var(--brand); font-family: "DM Serif Display", Georgia, serif; font-size: 2.1rem; }
.product-body { display: grid; gap: 8px; flex: 1; align-content: start; padding: 20px; }
.product-body h3 { font-size: 1.35rem; }
.variant-chip { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.product-desc { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: .95rem; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.product-more { color: var(--brand); font-size: .86rem; font-weight: 700; }
.product-card:hover .product-more { text-decoration: underline; }
.product-foot { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--line), white 40%); }
.price-block { display: grid; line-height: 1.25; }
.price-from { color: var(--muted); font-size: .8rem; font-weight: 600; }
.price { color: var(--brand-dark); font-family: "DM Serif Display", Georgia, serif; font-size: 1.5rem; }
.tax-note { color: var(--muted); font-size: .74rem; }
.card-action { margin-left: auto; min-height: 42px; padding: 9px 16px; border: 0; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.card-action:hover { background: var(--brand); color: white; }

/* ---------- Info-Karten (GcMAF u. a.) ---------- */
.info-section { background: linear-gradient(180deg, color-mix(in srgb, var(--brand-soft), white 55%), var(--bg)); }
.info-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.info-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 30px rgba(15, 61, 71, .06); cursor: pointer; text-align: left; padding: 0; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.info-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand), white 55%); box-shadow: 0 22px 50px rgba(15, 61, 71, .14); }
.info-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-soft); }
.info-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.info-card:hover .info-card-media img { transform: scale(1.04); }
.info-card-body { display: grid; gap: 10px; padding: 20px 20px 22px; flex: 1; align-content: start; }
.info-card-body h3 { font-size: 1.35rem; }
.info-card-body p { color: var(--muted); font-size: .95rem; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.info-card-more { color: var(--brand); font-size: .86rem; font-weight: 700; letter-spacing: .02em; }
.info-card:hover .info-card-more { text-decoration: underline; }
.info-article { display: grid; gap: 22px; padding: clamp(20px, 4vw, 40px); }
.info-article-media {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  border: 0;
  background: transparent;
  max-height: none;
  overflow: visible;
}
.info-article-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.info-article-media img,
.info-article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
}
.info-article-video {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0a1f24;
  /* gleiche Breite wie Bildspalte */
  width: 100%;
}
.info-article-video-el {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 280px;
  object-fit: cover;
  background: #0a1f24;
}
/* Volume-Button wo moeglich ausblenden (WebKit) — Ton bleibt serverseitig/JS erzwungen stumm */
.products-video-el::-webkit-media-controls-mute-button,
.products-video-el::-webkit-media-controls-volume-slider,
.info-article-video-el::-webkit-media-controls-mute-button,
.info-article-video-el::-webkit-media-controls-volume-slider {
  display: none !important;
}
.info-article-body { display: grid; gap: 14px; }
.info-article-body h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.info-article-sections { display: grid; gap: 18px; }
.info-article-sections article { display: grid; gap: 8px; padding-top: 4px; }
.info-article-sections h3 { font-size: 1.15rem; color: var(--brand); }
.info-article-sections p { color: var(--muted); font-size: .98rem; }

.contact-box { display: grid; gap: 26px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow); }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { padding-block: 48px 24px; background: var(--brand-footer, #092e35); color: color-mix(in srgb, white, transparent 28%); }
.footer-grid { display: grid; gap: 30px; }
.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  padding: 12px 18px 12px 14px;
  border-radius: 18px;
  /* Seiten-HG — Logo auf hellem Feld deutlich besser lesbar */
  background: var(--bg);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  border: 1px solid color-mix(in srgb, white, transparent 86%);
}
.footer-brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-brand {
  color: var(--brand-dark);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.1;
  white-space: nowrap;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: inherit; }
.footer-notice { margin-top: 30px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, white, transparent 86%); max-width: 90ch; font-size: .84rem; color: color-mix(in srgb, white, transparent 42%); }
.footer-bottom { margin-top: 20px; font-size: .84rem; }

/* ---------- Dialoge ---------- */
dialog { width: min(100% - 24px, 1040px); max-height: calc(100svh - 24px); padding: 0; overflow: auto; border: 0; border-radius: 22px; background: var(--bg); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(5, 20, 23, .72); backdrop-filter: blur(4px); }
.dialog-head { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg), transparent 4%); backdrop-filter: blur(10px); }
.dialog-close { border: 1px solid var(--line); border-radius: 99px; width: 40px; height: 40px; background: white; font-size: 1.2rem; }

/* ---------- Produktdetail ---------- */
.product-detail { display: grid; gap: 28px; padding: clamp(20px, 4vw, 44px); }
.gallery-main {
  /* Quadratische Box, immer voll sichtbar; Bild via object-fit:contain */
  position: relative;
  box-sizing: border-box;
  width: min(100%, min(70vh, 560px));
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
/* Absolute Fill + contain = gesamtes Bild sichtbar, nie croppen.
   max-height:% greift hier nicht (Parent-Hoehe aus Content) — daher absolut. */
.gallery-main > img,
.gallery-main > video {
  position: absolute;
  inset: 0;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px;
  object-fit: contain;
  object-position: center center;
}
.gallery-main > video {
  background: #f7f8f7;
  padding: 0;
}
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumb {
  position: relative;
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: white;
}
.thumb.active { border-color: var(--brand); }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-video::after {
  content: "▶";
  position: absolute;
  right: 4px;
  bottom: 3px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: rgba(15, 61, 71, .82);
  color: #fff;
  font-size: .55rem;
  line-height: 1;
  pointer-events: none;
}
.detail-copy { display: grid; align-content: start; gap: 16px; }
.detail-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.detail-sku { color: var(--muted); font-size: .8rem; letter-spacing: .04em; }
.detail-price-block { display: grid; gap: 2px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.detail-price-block .price { font-size: 1.9rem; }
.variant-label { color: var(--brand-dark); font-size: .86rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.variant-list { display: grid; gap: 8px; }
.variant-option { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 16px; border: 2px solid var(--line); border-radius: 12px; background: white; text-align: left; transition: border-color .15s, background .15s; }
.variant-option:hover { border-color: color-mix(in srgb, var(--brand), white 40%); }
.variant-option.active { border-color: var(--brand); background: var(--brand-soft); }
.variant-name { font-weight: 600; color: var(--ink); }
.variant-option.active .variant-name { color: var(--brand-dark); }
.variant-price { font-family: "DM Serif Display", Georgia, serif; font-size: 1.1rem; color: var(--brand-dark); white-space: nowrap; }
.detail-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.detail-buy .btn { flex: 1; min-width: 200px; }
.qty-stepper { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: white; }
.qty-stepper button { width: 44px; min-height: 46px; border: 0; background: transparent; color: var(--brand-dark); font-size: 1.15rem; font-weight: 700; }
.qty-stepper button:hover { background: var(--brand-soft); }
.qty-stepper input { width: 52px; border: 0; text-align: center; font-weight: 700; color: var(--brand-dark); -moz-appearance: textfield; appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.detail-description { display: grid; gap: 14px; color: var(--muted); font-size: .98rem; }
.detail-description p:first-child { color: var(--ink); font-size: 1.05rem; }

/* ---------- Warenkorb ---------- */
.cart-list { display: grid; gap: 10px; padding: 18px; }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.cart-info { display: grid; gap: 2px; min-width: 0; }
.cart-meta { color: var(--muted); font-size: .84rem; }
.cart-controls { display: flex; align-items: center; gap: 10px; }
.cart-controls input { width: 60px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.cart-line-total { color: var(--brand-dark); min-width: 84px; text-align: right; font-variant-numeric: tabular-nums; }
.cart-remove { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 99px; background: white; color: var(--danger); font-size: 1.05rem; line-height: 1; }
.cart-remove:hover { border-color: var(--danger); background: color-mix(in srgb, var(--danger), white 94%); }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding: 18px; border-top: 1px solid var(--line); font-size: 1.08rem; }
.cart-pricing { padding: 14px 18px 0; border-top: 1px solid var(--line); }
.cart-pricing > div { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; color: var(--muted); }
.cart-pricing-discount { color: #167044 !important; }
.checkout-shell { padding: 18px; border-top: 1px solid var(--line); background: white; }
.empty { padding: 40px 18px; color: var(--muted); text-align: center; }
.cart-success { max-width: 620px; margin: 0 auto; padding: 54px 28px; color: var(--ink); }
.cart-success h3 { margin: 0 0 16px; color: var(--brand-dark); font-size: clamp(1.55rem, 4vw, 2.25rem); }
.cart-success p { margin: 8px auto; max-width: 540px; line-height: 1.6; }

@media (min-width: 680px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr; align-items: end; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); }
  .nav-links { display: flex; }
  .menu-button { display: none; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-box { grid-template-columns: 1.3fr .7fr; align-items: center; }
  .product-detail { grid-template-columns: 1.05fr .95fr; }
  .gallery-sticky { position: sticky; top: 76px; align-self: start; }
  .info-article { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .info-article-media { position: sticky; top: 76px; max-height: none; }
  .info-article-media img,
  .info-article-figure img { max-height: 360px; }
  .info-article-video-el { max-height: 280px; }
}

@media (min-width: 1220px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 899px) {
  .nav-links.open { position: absolute; display: grid; top: 72px; inset-inline: 0; padding: 18px 16px 24px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .hero-card { min-height: 300px; }
  .detail-buy { position: sticky; bottom: 0; z-index: 2; margin-inline: -8px; padding: 12px 8px; background: color-mix(in srgb, var(--bg), transparent 3%); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
}

@media (max-width: 540px) {
  .nav { gap: 8px; }
  .brand-name { display: none; }
  .nav-actions { gap: 4px; }
  #cart-button { min-width: 42px; width: 42px; padding: 0; overflow: hidden; font-size: 0; }
  #cart-button::before { content: ""; width: 15px; height: 12px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 4px 4px; transform: translateY(2px); }
  .menu-button { min-width: 48px; padding-inline: 7px; font-size: .75rem; }
  .product-body { padding: 16px; }
  .cart-row { grid-template-columns: 1fr; }
  .cart-controls { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .product-card:hover { transform: none; }
  .product-card:hover .product-media img { transform: none; }
}

/* IMMI24 medical-blue brand treatment for the photographic caduceus. */
.site-immi24 .brand-mark-img,
.site-immi24 .footer-brand-logo {
  filter: hue-rotate(80deg) saturate(.78) brightness(.92);
}
.site-immi24 .hero-emblem-mark {
  filter: hue-rotate(80deg) saturate(.78) brightness(.92)
    drop-shadow(0 10px 18px color-mix(in srgb, var(--brand), transparent 78%));
}

/* Rechtstexte und Datenschutz-Einstellungen bleiben als ruhige, moderne Ebene im Shop. */
.privacy-site-dialog {
  width: min(940px, calc(100vw - 32px));
  max-height: min(88vh, 900px);
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand), white 78%);
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(9, 35, 55, .30);
}
.privacy-site-dialog::backdrop { background: rgba(8, 27, 40, .68); backdrop-filter: blur(8px); }
.privacy-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding: 17px 22px 17px 30px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand), white 93%), #fff 70%);
}
.privacy-dialog-head h2 {
  margin: 0;
  color: var(--brand-dark);
  font-family: inherit;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.privacy-close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--brand-dark);
  font: 500 1.55rem/1 inherit;
  box-shadow: 0 6px 20px rgba(9,35,55,.08);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.privacy-close:hover { transform: rotate(6deg) scale(1.04); border-color: var(--brand); background: #fff; }
.legal-dialog-body {
  max-height: calc(min(88vh, 900px) - 82px);
  overflow: auto;
  padding: clamp(24px, 4vw, 44px) clamp(24px, 5vw, 58px) 48px;
  font-size: 1rem;
  line-height: 1.72;
  scrollbar-color: color-mix(in srgb, var(--brand), white 55%) transparent;
}
.legal-dialog-body > * { max-width: 780px; margin-right: auto; margin-left: auto; }
.legal-dialog-body h3 {
  margin-top: 2rem;
  margin-bottom: .55rem;
  color: var(--brand-dark);
  font-family: inherit;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
}
.legal-dialog-body p { margin-top: 0; color: color-mix(in srgb, var(--ink), white 12%); }
.legal-dialog-body p:first-child { margin-top: 0; }
.legal-dialog-body a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.privacy-settings-dialog { max-width: 680px; }
.privacy-settings-dialog > p { margin: 0; padding: 24px 30px 8px; color: var(--muted); line-height: 1.55; }
.privacy-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 12px 30px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--brand), white 97%);
}
.privacy-category div { display: grid; gap: 4px; }
.privacy-category strong { color: var(--brand-dark); }
.privacy-category span { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.privacy-category input { width: 23px; height: 23px; accent-color: var(--brand); }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.privacy-settings-dialog > .privacy-actions { padding: 12px 30px 30px; justify-content: flex-end; }
.privacy-btn {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font: 750 .9rem/1.2 inherit;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.privacy-btn:hover { transform: translateY(-1px); }
.privacy-primary { border: 1px solid var(--brand); background: var(--brand); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--brand), transparent 75%); }
.privacy-secondary { border: 1px solid var(--line); background: #fff; color: var(--brand-dark); }
.privacy-banner {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  max-width: 1120px;
  margin: auto;
  padding: 20px 22px 20px 26px;
  border: 1px solid color-mix(in srgb, var(--brand), white 80%);
  border-radius: 22px;
  background: rgba(255,255,255,.97);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(8, 31, 48, .25);
  backdrop-filter: blur(14px);
}
.privacy-banner-copy { max-width: 690px; }
.privacy-banner-copy strong { display: block; margin-bottom: 4px; color: var(--brand-dark); font-size: 1.05rem; font-weight: 800; }
.privacy-banner-copy p { margin: 0 0 5px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.privacy-link, .footer-privacy-settings { padding: 0; border: 0; background: transparent; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; font-size: .84rem; cursor: pointer; }
.footer-privacy-settings { color: inherit; }
.footer-withdrawal-link {
  padding: 8px 13px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: 700 .82rem/1.2 inherit;
  cursor: pointer;
}
.withdrawal-site-dialog { max-width: 680px; }
.withdrawal-form { padding: 26px 30px 30px; }
.withdrawal-form > p { margin: 0 0 20px; color: var(--muted); line-height: 1.55; }
.withdrawal-form > label:not(.withdrawal-confirm) { display: grid; gap: 7px; margin-top: 14px; color: var(--brand-dark); font-weight: 750; }
.withdrawal-form input[type="text"], .withdrawal-form input[type="email"] { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); font: inherit; }
.withdrawal-form input:focus { outline: 3px solid color-mix(in srgb, var(--brand), transparent 78%); border-color: var(--brand); }
.withdrawal-bot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.withdrawal-confirm { display: flex; align-items: flex-start; gap: 11px; margin: 20px 0 14px; color: var(--ink); line-height: 1.45; }
.withdrawal-confirm input { flex: 0 0 auto; width: 21px; height: 21px; margin-top: 1px; accent-color: var(--brand); }
.withdrawal-form > .privacy-actions { justify-content: flex-end; margin-top: 18px; }
.withdrawal-message { min-height: 0; padding: 0; border-radius: 12px; font-size: .9rem; line-height: 1.45; }
.withdrawal-message.success, .withdrawal-message.error { padding: 12px 14px; }
.withdrawal-message.success { background: #e9f7ef; color: #17653a; }
.withdrawal-message.error { background: #fff0f0; color: #9b2424; }
@media (max-width: 820px) {
  .privacy-banner { grid-template-columns: 1fr; gap: 14px; }
  .privacy-banner .privacy-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .privacy-banner .privacy-primary { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .privacy-site-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); border-radius: 20px; }
  .privacy-dialog-head { min-height: 70px; padding: 12px 14px 12px 20px; }
  .privacy-dialog-head h2 { font-size: 1.16rem; }
  .privacy-close { width: 42px; height: 42px; }
  .legal-dialog-body { max-height: calc(100vh - 86px); padding: 22px 20px 34px; font-size: .95rem; }
  .privacy-settings-dialog > p { padding: 20px 20px 7px; }
  .privacy-category { margin: 10px 20px; padding: 15px; }
  .privacy-settings-dialog > .privacy-actions { display: grid; padding: 12px 20px 22px; }
  .privacy-settings-dialog > .privacy-actions .privacy-btn { width: 100%; }
  .privacy-banner { right: 10px; bottom: 10px; left: 10px; padding: 18px; border-radius: 18px; }
  .withdrawal-form { padding: 22px 20px 24px; }
}
