/* Variant E: "Ein Danke, das bleibt." – the D selection system with a seasonal mood layer. */
html[data-variant="e"] {
  --e-night: #14231c;
  --e-night-soft: #1d3127;
  --e-cream: #f6ead0;
  --e-gold: #e2c48a;
  --e-on-dark: #f4f1e8;
  --e-on-dark-soft: #c9d2c8;
  scroll-padding-top: 22px;
}
html[data-variant="e"] body {
  overflow-x: clip;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.e-eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--h2-green);
}

/* Full-bleed bands inside the 1240px page shell. */
.e-hero,
.e-carousel-section {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* Hero */
.e-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 76vh, 760px);
  padding: 0;
  color: var(--e-on-dark);
  background: var(--e-night);
  isolation: isolate;
}
.e-hero-media,
.e-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.e-hero-media img {
  object-fit: cover;
  object-position: 68% center;
}
.e-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(14, 24, 19, 0.94) 0%, rgba(14, 24, 19, 0.82) 34%, rgba(14, 24, 19, 0.2) 62%, rgba(14, 24, 19, 0) 78%);
}
.e-hero-copy {
  position: relative;
  z-index: 1;
  width: min(600px, 100%);
  padding: 72px 24px 64px max(24px, calc((100vw - 1240px) / 2 + 24px));
  box-sizing: content-box;
}
.e-hero .e-eyebrow {
  color: var(--e-gold);
}
html[data-variant="e"] .e-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(46px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #fff;
}
.e-hero-lead {
  max-width: 42ch;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--e-on-dark);
}
.e-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
.e-hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.e-hero-facts li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--e-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%2314231c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
html[data-variant="e"] .e-hero-cta {
  gap: 14px;
  min-height: 54px;
  padding-inline: 26px;
  background: var(--e-cream);
  color: var(--e-night);
  font-size: 15px;
}
/* Outranks the shared .button.primary:hover:not(:disabled) fill so the dark label stays readable. */
html[data-variant="e"] .e-hero-cta:hover:not(:disabled) {
  background: #fff;
  color: var(--e-night);
}
.e-hero-cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.e-hero-help {
  max-width: 46ch;
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--e-on-dark-soft);
}
.e-hero-conditions {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--slate-soft);
}
html[data-variant="e"] .d-company-evidence {
  margin-top: 22px;
}

/* Carousel band */
.e-carousel-section {
  margin-top: 56px;
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse 60% 55% at 50% 38%, rgba(226, 196, 138, 0.16), transparent 70%),
    linear-gradient(180deg, var(--e-night) 0%, var(--e-night-soft) 100%);
  color: var(--e-on-dark);
}
.e-section-head {
  max-width: 720px;
  margin: 0 auto 8px;
  padding-inline: 24px;
  text-align: center;
}
.e-carousel-section .e-eyebrow {
  color: var(--e-gold);
}
html[data-variant="e"] .e-section-head h2 {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: #fff;
}
.e-section-head p:not(.e-eyebrow) {
  margin: 16px auto 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--e-on-dark-soft);
}
.e-ring {
  --ring-card: 290px;
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}
.e-ring-stage {
  margin: 0;
  padding: 0;
  list-style: none;
}
.e-ring-photo {
  padding: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.e-ring-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.e-ring-info {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding-top: 18px;
  text-align: center;
}
.e-ring-info strong {
  font-family: Epilogue, Inter, sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
}
.e-ring-tagline {
  font-size: 14px;
  color: var(--e-gold);
}
.e-ring-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--e-on-dark);
}
.e-ring-price small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--e-on-dark-soft);
}
.e-ring-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
}
html[data-variant="e"] .e-ring-actions .button.primary {
  min-width: 150px;
  background: var(--e-cream);
  color: var(--e-night);
}
html[data-variant="e"] .e-ring-actions .button.primary:hover:not(:disabled) {
  background: #fff;
  color: var(--e-night);
}
html[data-variant="e"] .e-ring-actions .button.primary.is-selected:hover:not(:disabled) {
  background: rgba(226, 196, 138, 0.14);
  color: var(--e-gold);
}
html[data-variant="e"] .e-ring-actions .button.primary.is-selected {
  background: transparent;
  border-color: var(--e-gold);
  color: var(--e-gold);
}
.e-ring-actions a {
  font-size: 13px;
  color: var(--e-on-dark);
  text-underline-offset: 4px;
}
.e-ring :focus-visible {
  outline: 3px solid var(--e-gold);
  outline-offset: 3px;
}

/* Without JavaScript the gifts form a simple swipeable row. */
.e-ring:not(.is-enhanced) .e-ring-stage {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 32px 24px 8px;
}
.e-ring:not(.is-enhanced) .e-ring-item {
  flex: 0 0 var(--ring-card);
  scroll-snap-align: center;
}
.e-ring:not(.is-enhanced) .e-ring-controls,
.e-ring:not(.is-enhanced) .e-ring-status {
  display: none;
}

/* Enhanced ring */
.e-ring.is-enhanced .e-ring-stage {
  position: relative;
  height: 700px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}
.e-ring.is-enhanced .e-ring-stage:active {
  cursor: grabbing;
}
.e-ring.is-enhanced .e-ring-item {
  position: absolute;
  left: 50%;
  top: 37%;
  width: var(--ring-card);
  transform-origin: 50% 50%;
  will-change: transform;
}
.e-ring.is-enhanced .e-ring-photo {
  filter: brightness(var(--ring-shade, 1));
  transition: filter 0.2s ease;
}
.e-ring.is-enhanced .e-ring-item:not(.is-front) .e-ring-photo {
  cursor: pointer;
}
.e-ring.is-enhanced .e-ring-info {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(380px, 88vw);
  translate: -50% 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.e-ring.is-enhanced .e-ring-item.is-front .e-ring-info {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease 0.05s;
}
.e-ring-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
  padding-inline: 24px;
}
.e-ring-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid rgba(244, 241, 232, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--e-on-dark);
  cursor: pointer;
}
.e-ring-arrow:hover {
  background: rgba(244, 241, 232, 0.12);
}
.e-ring-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.e-ring-scrub {
  display: block;
  width: min(520px, 62vw);
}
.e-ring-scrub input {
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.e-ring-scrub input::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.e-ring-scrub input::-moz-range-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
}
.e-ring-scrub input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 92px;
  height: 22px;
  margin-top: -5px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #d9d6cc, #9fa49b);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.e-ring-scrub input::-moz-range-thumb {
  width: 92px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #d9d6cc, #9fa49b);
}
.e-ring-status {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--e-on-dark-soft);
}
.e-ring-feedback {
  min-height: 1.6em;
  margin: 6px 0 0;
  padding-inline: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--e-gold);
}
.e-ring-feedback:empty {
  min-height: 0;
}
.e-ring:not(.is-enhanced) .e-ring-feedback {
  display: none;
}
.e-ring-note {
  margin: 6px auto 0;
  padding-inline: 24px;
  max-width: 70ch;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(201, 210, 200, 0.8);
}

/* Floating next step while the form is out of view */
.e-quickbar {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(460px, calc(100vw - 32px));
  padding: 10px 10px 10px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(14, 24, 19, 0.28);
  box-sizing: border-box;
}
.e-quickbar[hidden] {
  display: none;
}
.e-quickbar-summary {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--h2-green-dark);
}
.e-quickbar .button {
  flex: none;
}

/* Emotional bridge with what is included */
.e-moment {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 56px;
  margin-block: 80px 24px;
}
.e-moment-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
}
html[data-variant="e"] .e-moment h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.e-moment-copy > p {
  margin: 18px 0 0;
  max-width: 50ch;
  font-size: 16px;
  line-height: 1.7;
}
.e-included {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.e-included li {
  display: grid;
  gap: 4px;
  padding-left: 30px;
  position: relative;
}
.e-included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--h2-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.e-included strong {
  font-size: 14px;
  font-weight: 600;
}
.e-included span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate-soft);
}
/* The three steps as numbered cards; a quiet arrow links them on wide screens. */
html[data-variant="e"] .e-order-route {
  margin-top: 56px;
  padding-block: 40px 32px;
  border-block: 0;
}
html[data-variant="e"] .e-order-route h2 {
  margin: 0 0 24px;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.02em;
}
html[data-variant="e"] .e-order-route ol {
  counter-reset: e-step;
  gap: 36px;
  padding: 0;
  list-style: none;
}
html[data-variant="e"] .e-order-route li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 35, 28, 0.06);
  font-size: 14px;
  counter-increment: e-step;
}
html[data-variant="e"] .e-order-route li::before {
  content: counter(e-step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--h2-green);
  color: #fff;
  font: 600 18px/1 Epilogue, Inter, sans-serif;
}
html[data-variant="e"] .e-order-route li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 37px;
  right: -29px;
  width: 22px;
  height: 22px;
  background: var(--e-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13m-5-5 5 5-5 5' fill='none' stroke='%2314231c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-radius: 50%;
}
html[data-variant="e"] .e-order-route li strong {
  display: block;
  font-size: 17px;
  line-height: 1.3;
}
html[data-variant="e"] .e-order-route li :is(p, span) {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
html[data-variant="e"] .e-order-route li :is(p, span)::before {
  content: none;
}
html[data-variant="e"] .e-order-route > p {
  margin-top: 22px;
  font-size: 13px;
}

/* Themed catalogue */
.e-theme-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 28px;
}
.e-theme-nav a {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--h2-green-dark);
  background: #fff;
}
.e-theme-nav a:hover {
  border-color: var(--h2-green);
  background: var(--h2-green-soft);
}
html[data-variant="e"] .e-product-groups {
  display: grid;
  gap: 56px;
}
.e-theme {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  align-items: start;
  gap: 32px;
  scroll-margin-top: 20px;
}
.e-theme-rest {
  grid-template-columns: minmax(0, 1fr);
}
.e-theme-media {
  position: sticky;
  top: 20px;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--e-night);
}
.e-theme-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.e-theme-media figcaption {
  padding: 22px 24px 26px;
  color: #fff;
}
.e-theme-media figcaption span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--e-gold);
}
html[data-variant="e"] .e-theme-media h3 {
  margin: 10px 0 0;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: #fff;
}
.e-theme-media p {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--e-on-dark);
}
.e-theme-products {
  display: grid;
  gap: 20px;
}
html[data-variant="e"] .e-theme-products .d-product-card {
  scroll-margin-top: 24px;
}

@media (max-width: 980px) {
  .e-theme {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .e-theme-media {
    position: relative;
    top: auto;
  }
  .e-theme-media img {
    aspect-ratio: 16 / 9;
  }
  .e-moment {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-top: 56px;
  }
}

@media (max-width: 720px) {
  .e-hero {
    display: block;
    min-height: 0;
  }
  .e-hero-media,
  .e-hero-media img {
    position: relative;
    height: auto;
  }
  .e-hero-media img {
    aspect-ratio: 16 / 10;
    object-position: 74% center;
  }
  .e-hero::after {
    display: none;
  }
  .e-hero-copy {
    width: auto;
    padding: 24px 20px 32px;
    background: var(--e-night);
  }
  html[data-variant="e"] .e-hero h1 {
    font-size: clamp(40px, 12vw, 52px);
  }
  .e-hero-lead {
    margin-top: 16px;
    font-size: 16px;
  }
  .e-hero-facts {
    margin: 18px 0 22px;
  }
  html[data-variant="e"] .e-hero-cta {
    width: 100%;
  }
  .e-carousel-section {
    margin-top: 40px;
    padding: 52px 0 40px;
  }
  .e-ring {
    --ring-card: 220px;
  }
  .e-ring.is-enhanced .e-ring-stage {
    height: 545px;
  }
  .e-ring.is-enhanced .e-ring-item {
    top: 34%;
  }
  .e-ring-info strong {
    font-size: 19px;
  }
  .e-ring-arrow {
    width: 42px;
    height: 42px;
  }
  .e-ring-scrub input::-webkit-slider-thumb {
    width: 56px;
  }
  .e-ring-scrub input::-moz-range-thumb {
    width: 56px;
  }
  .e-included {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-variant="e"] .e-order-route ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  html[data-variant="e"] .e-order-route li {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    padding: 20px;
  }
  html[data-variant="e"] .e-order-route li::before {
    grid-row: span 2;
    margin: 0;
  }
  html[data-variant="e"] .e-order-route li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -24px;
    left: 30px;
    rotate: 90deg;
  }
  .e-quickbar {
    right: 16px;
    bottom: 10px;
    gap: 10px;
    padding-left: 14px;
  }
  .e-carousel-section {
    padding-bottom: 88px;
  }
  .e-quickbar-summary {
    font-size: 13px;
  }
  .e-quickbar .button {
    padding-inline: 14px;
  }
  .e-theme-media img {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .e-ring.is-enhanced .e-ring-info,
  .e-ring.is-enhanced .e-ring-photo {
    transition: none;
  }
}

@media print {
  .e-hero,
  .e-carousel-section,
  .e-moment,
  .e-theme-nav,
  .e-theme-media,
  .e-quickbar {
    display: none !important;
  }
}
