/* ==========================================================================
   artnira — Design tokens
   ========================================================================== */

:root {
  color-scheme: light;

  --color-ink: #101010;
  --color-paper: #f5f5f2;
  --color-surface: #e9e9e5;
  --color-muted: #686864;
  --color-line: rgb(16 16 16 / 14%);
  --color-white: #fff;

  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container-width: 90rem;
  --page-padding: clamp(1.25rem, 3.6vw, 4rem);
  --section-gap: clamp(5rem, 10vw, 10rem);
  --radius: clamp(1.5rem, 3vw, 3.5rem);
  --radius-pill: 999px;
  --shadow: 0 2rem 5rem rgb(16 16 16 / 10%);

  /* Gemeinsame Austrittsachse aller späteren Kabelabschnitte. */
  --cable-x: 50%;
  --cable-width: clamp(0.5rem, 0.72vw, 0.72rem);

  --header-height: 5.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Foundation
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  color: var(--color-white);
  background: var(--color-ink);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 4px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  height: var(--header-height);
}

.site-header__inner {
  display: flex;
  width: min(100%, var(--container-width));
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--page-padding);
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.brand span {
  color: var(--color-muted);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: max(47rem, 100svh);
  padding: calc(var(--header-height) + 3rem) var(--page-padding) 3rem;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  display: grid;
  width: min(100%, var(--container-width));
  min-height: calc(100svh - var(--header-height) - 6rem);
  margin-inline: auto;
  gap: 3.5rem;
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 4;
}

.eyebrow {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 2rem;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero__title {
  max-width: 100%;
  margin: 0;
  font-size: clamp(2.8rem, 12vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.84;
  text-transform: uppercase;
}

.hero__title-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.hero__title-line--lead {
  font-size: 1.38em;
  letter-spacing: -0.08em;
}

.hero__title-line--medium {
  font-size: 0.68em;
}

.hero__title-line--compact {
  margin-top: 0.12em;
  font-size: 0.49em;
  letter-spacing: -0.045em;
}

.hero__title-line--accent {
  margin-top: 0.08em;
  color: transparent;
  font-size: 0.82em;
  -webkit-text-stroke: 1.5px var(--color-ink);
}

.hero__title-line--question {
  margin-top: 0.08em;
  font-size: 0.72em;
}

.hero__visual {
  position: relative;
  min-width: 0;
}

.product-scene {
  position: relative;
  width: min(100%, 34rem);
  aspect-ratio: 0.9;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.product-scene::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 18%);
  content: "";
  pointer-events: none;
}

.product-scene__image,
.product-scene__foreground {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-scene__image,
.product-scene__foreground {
  object-fit: cover;
  object-position: 50% 50%;
}

.product-scene__image {
  z-index: 1;
}

.product-scene__foreground {
  z-index: 7;
  pointer-events: none;
}

/* The cable is one continuous SVG layer, never a background image. */
main {
  position: relative;
}

.page-cable {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.page-cable path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hero-cable__body {
  stroke: #111110;
  stroke-width: var(--cable-width);
  filter: url("#cable-shadow");
}

.hero-cable__highlight {
  stroke: url("#cable-specular");
  stroke-width: 1.25px;
  transform: translate(-0.08rem, -0.06rem);
}

.hero__visual {
  pointer-events: none;
}

.hero__visual .product-scene__image {
  z-index: 1;
}

/* ==========================================================================
   Problem — editorial report, deliberately free of selling elements
   ========================================================================== */

.problem {
  position: relative;
  padding: var(--section-gap) var(--page-padding);
  overflow: clip;
  background: var(--color-paper);
}

.problem__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container-width));
  margin-inline: auto;
}

.problem__header {
  max-width: 70rem;
  margin-bottom: clamp(4.5rem, 9vw, 9rem);
}

.problem__title {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(2.7rem, 8.8vw, 6.5rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.problem__reportage {
  display: grid;
  gap: clamp(4rem, 10vw, 9rem);
  align-items: start;
}

.problem__figure {
  margin: 0;
}

.problem__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid #d6d3cd;
}

.problem__sequence {
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem__item {
  position: relative;
  padding-bottom: clamp(4.25rem, 10vw, 7rem);
  font-size: clamp(2.65rem, 10vw, 6rem);
  font-weight: 580;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.problem__item:not(:last-child)::after {
  position: absolute;
  bottom: 1.15rem;
  left: 0.1em;
  color: var(--color-muted);
  content: "↓";
  font-size: 0.32em;
  font-weight: 400;
}

.problem__item--conclusion {
  padding-bottom: 0;
  font-size: clamp(3.2rem, 12vw, 7.25rem);
}

.problem__ending {
  display: grid;
  margin-top: clamp(6rem, 13vw, 12rem);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.problem__explanation {
  max-width: 38rem;
  padding-left: 1.25rem;
}

.problem__explanation p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.problem__explanation p + p {
  margin-top: 1.5em;
}

.problem__outlet {
  position: relative;
  height: clamp(22rem, 48vw, 34rem);
  pointer-events: none;
}

.problem__outlet-image {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  /* Der transparente 1200er Canvas hält den Andockpunkt exakt mittig. */
  width: clamp(52rem, 76vw, 72rem);
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

/* ==========================================================================
   Solution — the first quiet reveal of the product
   ========================================================================== */

.solution {
  position: relative;
  padding: var(--section-gap) var(--page-padding);
  overflow: clip;
  background: var(--color-paper);
}

.solution__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container-width));
  margin-inline: auto;
}

.solution__header {
  max-width: 74rem;
  margin-bottom: clamp(4rem, 9vw, 8rem);
}

.solution__header::before {
  display: block;
  width: clamp(3.5rem, 9vw, 8rem);
  height: 1px;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  background: currentColor;
  content: "";
}

.solution__title {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.8rem, 8.6vw, 7rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.solution__label {
  max-width: 18ch;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  font-size: clamp(1.35rem, 3vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.solution__story {
  position: relative;
  height: clamp(52rem, 145svh, 82rem);
}

.solution__stage {
  position: sticky;
  top: max(1rem, calc((100svh - min(56.25vw, 50rem)) / 2));
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 38%, #fafafa 0 18%, rgb(250 250 250 / 0%) 53%),
    linear-gradient(135deg, #d6d5d5 0%, #f4f3f3 52%, #dad9d9 100%);
  isolation: isolate;
}

.solution__module {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transform: translate3d(var(--module-x, 0), var(--module-y, 0), 0)
    scale(var(--module-scale, 1));
  transition: filter 300ms ease;
}

.solution__story.is-active .solution__module {
  will-change: transform;
}

.solution__module--back {
  z-index: 1;
  transform-origin: 64% 38%;
}

.solution__module--center {
  z-index: 2;
  transform-origin: 51% 49%;
}

.solution__module--front {
  z-index: 3;
  transform-origin: 37% 58%;
}

/* ==========================================================================
   Cable management — technical rear-view report
   ========================================================================== */

.cable-management {
  position: relative;
  padding: var(--section-gap) var(--page-padding);
  overflow: clip;
  background: var(--color-paper);
}

.cable-management__inner {
  width: min(100%, var(--container-width));
  margin-inline: auto;
}

.cable-management__header {
  max-width: 74rem;
  margin-bottom: clamp(4rem, 9vw, 8rem);
}

.cable-management__title {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.8rem, 8.6vw, 7rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.cable-management__reportage {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
}

.cable-management__figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  /* Mirrors the neutral studio light used behind the modular render. */
  background:
    radial-gradient(circle at 50% 38%, #fafafa 0 18%, rgb(250 250 250 / 0%) 53%),
    linear-gradient(135deg, #d6d5d5 0%, #f4f3f3 52%, #dad9d9 100%);
  border: 1px solid #d6d3cd;
}

.cable-management__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 57%;
}

.cable-management__copy {
  max-width: 38rem;
}

.cable-management__copy p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.cable-management__copy p + p {
  margin-top: 1.5em;
}

/* ==========================================================================
   Variants — scroll-driven modular assembly
   ========================================================================== */

.variants {
  position: relative;
  padding: var(--section-gap) var(--page-padding);
  overflow: clip;
  background: var(--color-paper);
}

.variants__inner {
  width: min(100%, var(--container-width));
  margin-inline: auto;
}

.variants__header {
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.variants__eyebrow {
  display: flex;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-items: center;
  gap: 1rem;
}

.variants__eyebrow::before {
  width: clamp(3.5rem, 9vw, 8rem);
  height: 1px;
  background: currentColor;
  content: "";
}

.variants__title {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2.8rem, 8.6vw, 7rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.variants__description {
  max-width: 62ch;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.variants__story {
  position: relative;
  height: auto;
}

.variants__stage {
  position: relative;
  top: auto;
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3480 / 2160;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 38%, #fafafa 0 18%, rgb(250 250 250 / 0%) 53%),
    linear-gradient(135deg, #d6d5d5 0%, #f4f3f3 52%, #dad9d9 100%);
  isolation: isolate;
}

.variants__module,
.variants__shadow {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  opacity: var(--variant-opacity, 1);
  transform-origin: 0 0;
  transform: var(--variant-transform, none);
}

.variants__story.is-active .variants__module,
.variants__story.is-active .variants__shadow {
  will-change: transform, opacity;
}

/* Shadows sit below all product faces. Left, single and double module
   shadows stay complete, including after the assembly stops moving. */

.variants__module--left,
.variants__shadow--left {
  --variant-transform: var(--variant-left-transform, translateX(-11.60920%));
}

.variants__module--right,
.variants__shadow--right {
  --variant-transform: var(--variant-right-transform, translateX(14.59770%));
}

.variants__module--center,
.variants__shadow--center {
  visibility: var(--variant-center-visibility, visible);
  --variant-transform: var(--variant-center-transform, none);
  /* Center of the compartment at its ground contact, in source coordinates. */
  transform-origin: 51.72414% 88.14815%;
}

.variants__module--center-two,
.variants__shadow--center-two {
  visibility: var(--variant-center-two-visibility, hidden);
  --variant-transform: var(--variant-center-two-transform, none);
  transform-origin: 50.43103% 88.14815%;
}

.variants__shadow--center-two {
  --shadow-edge: 63.56322%; /* x=2212 on the original canvas */
  --shadow-reveal: var(--variant-center-two-shadow-reveal, 0);
  /* Temporary comparison: show the complete newly rendered shadow. */
  -webkit-mask-image: none;
  mask-image: none;
  z-index: 2;
}

.variants__module--center-two {
  z-index: var(--variant-center-two-layer, 4);
}

.variants__shadow--left {
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
  z-index: 1;
}

.variants__shadow--center {
  /* Keep the single compartment's full shadow throughout arrival and docking. */
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
  z-index: 2;
}

.variants__shadow--right {
  z-index: 3;
}

.variants__module--right {
  z-index: 5;
}

.variants__module--center {
  z-index: var(--variant-center-layer, 6);
}

.variants__module--left {
  z-index: 9;
}

/* Content remains visible without JavaScript. */
.js .scroll-reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
}

.js .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.problem__item:nth-child(2) {
  transition-delay: 80ms;
}

.problem__item:nth-child(3) {
  transition-delay: 160ms;
}

.problem__item:nth-child(4) {
  transition-delay: 240ms;
}

.problem__item:nth-child(5) {
  transition-delay: 320ms;
}

/* ==========================================================================
   Intro motion — progressive enhancement, no JavaScript dependency
   ========================================================================== */

.reveal {
  animation: reveal 900ms var(--ease-out) both;
}

.reveal--1 {
  animation-delay: 80ms;
}

.reveal--2 {
  animation-delay: 160ms;
}

.reveal--3 {
  animation-delay: 280ms;
}

.reveal--4 {
  animation-delay: 380ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive composition
   ========================================================================== */

@media (min-width: 48rem) {
  .hero {
    padding-top: calc(var(--header-height) + 2rem);
  }

  .hero__inner {
    display: block;
  }

  .hero__copy {
    position: absolute;
    /* Optical centering: the five-line uppercase block reads heavier below. */
    top: 47%;
    left: 0;
    width: 54%;
    transform: translateY(-50%);
  }

  .hero__title {
    font-size: clamp(4.5rem, 7.4vw, 7rem);
  }

  .hero__visual {
    position: absolute;
    inset-block: 0;
    right: 0;
    width: 45%;
    height: auto;
    margin-block: auto;
    aspect-ratio: 1;
  }

  .product-scene {
    width: 100%;
    height: 100%;
    margin-inline: 0;
    aspect-ratio: auto;
  }

  .problem__reportage {
    grid-template-columns: minmax(0, 1.06fr) minmax(18rem, 0.94fr);
    align-items: stretch;
  }

  .problem__sequence {
    display: flex;
    height: 100%;
    padding-block: clamp(0.5rem, 1.5vw, 1.5rem);
    flex-direction: column;
    justify-content: space-between;
  }

  .problem__item {
    padding-bottom: 0;
    font-size: clamp(3.1rem, 4.7vw, 5.25rem);
  }

  .problem__item:not(:last-child)::after {
    top: calc(100% + clamp(0.65rem, 1.6vw, 1.5rem));
    bottom: auto;
  }

  .problem__item--conclusion {
    font-size: clamp(3.6rem, 5.4vw, 6.25rem);
  }

  .problem__explanation {
    justify-self: center;
  }

  .problem__ending {
    margin-top: 0;
    grid-template-columns: minmax(0, 1.06fr) minmax(18rem, 0.94fr);
    gap: clamp(4rem, 10vw, 9rem);
  }

  .problem__outlet {
    width: 100%;
  }

  .cable-management__reportage {
    grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
    align-items: center;
  }

  .cable-management__copy {
    justify-self: center;
  }

}

@media (min-width: 75rem) {
  .hero__title {
    font-size: clamp(5.6rem, 7vw, 7rem);
  }

}

@media (max-width: 47.99rem) {
  .hero {
    padding-bottom: 5rem;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
  }

  .hero__copy {
    z-index: 4;
    order: 2;
    padding-top: 0;
  }

  .hero__visual {
    order: 1;
    width: min(100%, 32rem);
    margin-inline: auto;
  }

  .product-scene {
    width: 100%;
    aspect-ratio: 1.15;
  }

  .solution {
    padding-bottom: 1.5rem;
  }

  .solution + .cable-management {
    padding-top: 1.5rem;
  }

  .cable-management__figure {
    position: relative;
    aspect-ratio: 4 / 5;
  }

  .cable-management__image {
    position: absolute;
    bottom: 0;
    left: 0;
    /* Preserve the original 4:3 crop; extend only the backdrop above it. */
    height: 60%;
  }

  .solution__story {
    /* Sticky top (1rem) + section spacing (3rem) leaves a 2rem title peek. */
    height: max(calc(100svh - 6rem), calc((100vw - 2 * var(--page-padding)) * 1.25 + 2rem));
  }

  .js .solution + .cable-management .cable-management__header.scroll-reveal {
    /* The first letters must be visible before the reveal observer triggers. */
    opacity: 1;
    transform: none;
  }

  .solution__stage {
    top: 1rem;
    width: 100%;
    aspect-ratio: 4 / 5;
    margin-left: 0;
    border-radius: var(--radius);
  }

  .solution__module {
    /* Extend the backdrop upwards, keeping the render's bottom at the frame. */
    top: auto;
    bottom: 0;
    width: 140%;
    height: auto;
    left: -20%;
  }

  .variants__story {
    height: auto;
  }

  .variants {
    padding-bottom: 1.5rem;
  }

  .variants + .corner {
    padding-top: 1.5rem;
  }

  .js .variants + .corner .corner__title.scroll-reveal {
    opacity: 1;
    transform: none;
  }

  .variants__stage {
    top: auto;
    width: 100%;
    aspect-ratio: 4 / 5;
    margin-left: 0;
    border-radius: var(--radius);
  }
}

@media (max-width: 29.99rem) {
  .hero__title {
    font-size: clamp(2.65rem, 13.2vw, 4rem);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .scroll-reveal {
    opacity: 1;
    transform: none;
  }

  .solution__story,
  .variants__story {
    height: auto;
  }

  .solution__stage,
  .variants__stage {
    position: relative;
    top: auto;
  }
}

/* Contents disappear behind the opening, while the holder images stay intact. */
.variants__contents {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  transform: translateX(var(--variant-contents-x, 0px));
  clip-path: inset(var(--variant-accessory-entry-top, 0px) 0 53.8% 0);
}
.variants__accessory {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 0 0;
}
.variants__accessory--charger {
  visibility: var(--variant-charger-visibility, hidden);
  transform: var(--variant-charger-transform, none);
}
.variants__accessory--tray {
  visibility: var(--variant-tray-visibility, hidden);
  transform: var(--variant-tray-transform, none);
}
.variants__accessory--brush {
  visibility: var(--variant-brush-visibility, hidden);
  transform: var(--variant-brush-transform, none);
}

/* The grid and its four heads occupy the left compartment of the double module. */
.variants__head-contents,
.variants__shaver-contents {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  clip-path: inset(var(--variant-accessory-entry-top, 0px) 0 53.8% 0);
}
.variants__accessory--grid {
  z-index: 1;
  visibility: var(--variant-grid-visibility, hidden);
  transform: var(--variant-grid-transform, none);
}
.variants__accessory--head {
  transform-origin: 49.13793% 29.90741%; /* head base: 1710 × 646 */
  visibility: var(--head-visibility, hidden);
  transform: var(--head-transform, none);
}

.variants__accessory--shaver-charger {
  visibility: var(--variant-shaver-charger-visibility, hidden);
  transform: var(--variant-shaver-charger-transform, none);
}
.variants__accessory--shaver {
  visibility: var(--variant-shaver-visibility, hidden);
  transform: var(--variant-shaver-transform, none);
}

.variants__scene {
  position: absolute;
  inset: 0;
  isolation: isolate;
  transform-origin: 51.72414% 88.14815%;
  transform: translateX(var(--variant-scene-x, 0px)) scale(var(--variant-scene-scale, 1));
}
@media (max-width: 47.99rem) {
  .variants__scene {
    top: auto;
    bottom: 0;
    height: auto;
    aspect-ratio: 3480 / 2160;
  }
}
.variants__head-contents,
.variants__shaver-contents {
  transform: translateX(var(--variant-extension-x, 0px));
}
.variants__module--center-three,
.variants__shadow--center-three {
  visibility: var(--variant-center-three-visibility, hidden);
  --variant-transform: var(--variant-center-three-transform, none);
  transform-origin: 48.75% 88.14815%;
}
.variants__module--center-three {
  z-index: var(--variant-center-three-layer, 4);
}
.variants__shadow--center-three {
  z-index: 2;
  translate: 0 -1px;
  /* Preserve the rendered shadow across the closed right-hand joint. */
  opacity: 1;
  mask-image: none;
  -webkit-mask-image: none;
}

.variants__kids-contents {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  clip-path: inset(var(--variant-kids-entry-top, 0px) 0 53.8% 0);
}
.variants__accessory--kids {
  visibility: var(--kids-visibility, hidden);
  transform: var(--kids-transform, none);
}

/* Generated cutout: centered in the last slot (x=3020) of the triple module. */
.variants__toothpaste {
  position: absolute;
  top: 0;
  left: 78.87931%;
  width: 15.80460%;
  height: auto;
  visibility: var(--variant-toothpaste-visibility, hidden);
  transform: translateY(var(--variant-toothpaste-y, 0px));
}

.variants__controls {
  display: flex;
  justify-content: center;
  min-height: 2.75rem;
  margin-top: 1rem;
}
.variants__control {
  font: inherit;
  font-size: 0.9rem;
  color: var(--color-ink);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 2rem;
  padding: 0.65rem 1.2rem;
  cursor: pointer;
}
.variants__control[hidden] { display: none; }
.variants__control:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Section 6: corner module, freestanding and wall-mounted configurations. */
.corner {
  padding: var(--section-gap) var(--page-padding);
  background: var(--color-paper);
}
.corner__inner {
  width: min(100%, var(--container-width));
  margin-inline: auto;
}
.corner__title {
  max-width: 20ch;
  margin: 0 0 1.5rem;
  font-size: clamp(2.8rem, 8.6vw, 7rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.96;
}
.corner__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}
.corner__card { margin: 0; min-width: 0; }
.corner__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 70% center;
  border-radius: var(--radius);
  border: 1px solid #d6d3cd;
}
.corner__caption { margin-top: 1.5rem; }
.corner__caption h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 560;
  letter-spacing: -0.035em;
}
.corner__caption p,
.corner__description {
  color: var(--color-muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}
.corner__caption p { margin: 0; }
.corner__description {
  max-width: 72ch;
  margin: 0 0 clamp(3rem, 6vw, 5rem);
}
@media (max-width: 47.99rem) {
  .corner__grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* Floating navigation appears only after the original header has left view. */
.shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  gap: .75rem;
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: .9rem;
  font-weight: 500;
}
.shop-link:hover { border-color: var(--color-ink); }
.shop-link > span { font-size: 1.15em; }

.floating-nav {
  position: fixed;
  z-index: 60;
  top: calc((var(--header-height) - 48px) / 2);
  right: calc(max(0px, (100vw - var(--container-width)) / 2) + var(--page-padding));
}
.floating-nav__toggle {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.floating-nav.is-visible .floating-nav__toggle {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.floating-nav__actions { display: flex; justify-content: flex-end; gap: 10px; }
.floating-nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-paper);
  color: var(--color-ink);
  cursor: pointer;
}
.floating-nav__toggle span { width: 18px; height: 1px; background: currentColor; transition: transform 200ms ease; }
.floating-nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.floating-nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.floating-nav__menu {
  position: absolute;
  right: 0;
  width: min(280px, calc(100vw - 32px));
  max-height: calc(100dvh - 104px);
  overflow-y: auto;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: var(--color-paper);
  box-shadow: 0 12px 36px rgb(0 0 0 / 10%);
}
.floating-nav__menu a { display: block; padding: 12px; border-radius: 10px; }
.floating-nav__menu a[href]:hover { background: var(--color-surface); }
.floating-nav__legal { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--color-line); font-size: .8rem; color: var(--color-muted); }
[data-nav-destination][aria-disabled="true"] { cursor: default; }
section[id], .faq__item[id] { scroll-margin-top: 6rem; }
@media (max-width: 47.99rem) {
  .floating-nav { top: calc((var(--header-height) - 44px) / 2); }
  .floating-nav__toggle { width: 44px; height: 44px; }
  .shop-link { min-height: 44px; padding-inline: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-nav__toggle, .floating-nav__toggle span { transition: none; }
}

/* Section 7 shares the two-image layout of the corner section. */
.electrical .corner__image { object-position: center; }

.electrical__studio-image {
  background:
    radial-gradient(circle at 50% 38%, #fafafa 0 18%, rgb(250 250 250 / 0%) 53%),
    linear-gradient(135deg, #d6d5d5 0%, #f4f3f3 52%, #dad9d9 100%);
}

/* FAQ: native disclosure works with keyboard and without JavaScript. */
.faq {
  padding: var(--section-gap) var(--page-padding);
  background: var(--color-paper);
}
.faq__inner {
  width: min(100%, var(--container-width));
  margin-inline: auto;
}
.faq__title {
  margin: 0 0 clamp(3rem, 6vw, 5rem);
  font-size: clamp(2.8rem, 8.6vw, 7rem);
  font-weight: 560;
  letter-spacing: -.065em;
  line-height: .96;
}
.faq__item { border-bottom: 1px solid var(--color-line); }
.faq__item:first-of-type { border-top: 1px solid var(--color-line); }
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 560;
  line-height: 1.4;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: 0 0 20px; height: 20px; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 20px;
  height: 1px;
  background: currentColor;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { display: none; }
.faq__answer {
  max-width: 72ch;
  padding-bottom: 1.75rem;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}
.faq__answer p { margin: 0; }
.faq__answer p + p { margin-top: 1rem; }

/* Footer */
.site-footer {
  padding: clamp(3rem, 6vw, 6rem) var(--page-padding) 2rem;
  border-top: 1px solid var(--color-line);
  background: var(--color-paper);
}
.site-footer__inner { width: min(100%, var(--container-width)); margin-inline: auto; }
.site-footer__groups {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(4rem, 16vw, 16rem);
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.site-footer__heading { text-transform: uppercase; margin: 0 0 1rem; font-size: .8rem; letter-spacing: .12em; font-weight: 700; }
.site-footer__links, .site-footer__legal { list-style: none; padding: 0; margin: 0; }
.site-footer__links a { display: inline-block; padding-block: .3rem; line-height: 1.4; }
.site-footer a[href]:hover { text-decoration: underline; text-underline-offset: .25em; }
.site-footer__bottom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .75rem 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: .85rem;
  line-height: 1.8;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 0; }
.site-footer__legal li::before { content: "·"; margin-inline: .75rem; }
.site-footer__cookie { padding: 0; border: 0; background: none; font: inherit; color: inherit; }
.site-footer__cookie:disabled { opacity: 1; cursor: default; }
@media (max-width: 47.99rem) {
  .site-footer__groups { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .site-footer__groups { width: fit-content; }
  .site-footer__legal { justify-content: center; }
  .site-footer__legal li:first-child::before { content: none; }
}

/* Contact page */
.contact-page { padding: calc(var(--header-height) + 4rem) var(--page-padding) var(--section-gap); }
.contact-page__inner { max-width: 58rem; margin-inline: auto; }
.contact-page__intro { max-width: 52ch; color: var(--color-muted); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.6; }
.contact-form { position: relative; margin-top: 3rem; }
.contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.contact-form__field { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.contact-form label { font-weight: 500; }
.contact-form input:not([type="hidden"]), .contact-form textarea {
  width: 100%; padding: .9rem 1rem; border: 1px solid #d6d3cd; border-radius: 12px;
  background: var(--color-paper); color: var(--color-ink); font: inherit; line-height: 1.5;
}
.contact-form textarea { resize: vertical; min-height: 10rem; }
.contact-form [aria-invalid="true"] { border-color: #8b342b; }
.contact-form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-form__note { color: var(--color-muted); font-size: .9rem; line-height: 1.5; }
.contact-form__submit { font-family: inherit; cursor: pointer; }
.contact-status { padding: 1rem 1.25rem; margin-top: 2rem; border: 1px solid var(--color-line); border-radius: 12px; line-height: 1.6; scroll-margin-top: 7rem; }
.contact-status p { margin: .25rem 0; }
.contact-status--error { border-color: #8b342b; }
@media (max-width: 47.99rem) { .contact-form__row { grid-template-columns: 1fr; gap: 0; } }

/* Success feedback: circle first, then check; no JavaScript or external assets. */
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin: 0 0 2rem;
  padding: 1rem;
  text-align: center;
  line-height: 1.6;
  scroll-margin-top: 7rem;
}
.contact-success p { margin: 0; }
.contact-success__icon { color: #28765a; flex-shrink: 0; }
.contact-success__circle, .contact-success__tick {
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  animation: contact-success-draw .55s ease-in-out both;
}
.contact-success__tick { animation-duration: .35s; animation-delay: .45s; }
@keyframes contact-success-draw {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-success__circle, .contact-success__tick { animation: none; }
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  margin-bottom: 2.5rem;
  font-size: .9rem;
}
.language-switcher a { padding-block: .65rem; color: var(--color-muted); }
.language-switcher a:hover, .language-switcher a[aria-current="page"] {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: .3em;
}
.language-switcher a[aria-current="page"] { font-weight: 600; }

/* Withdrawal is a dedicated declaration/review/receipt flow. */
.floating-nav__menu .withdrawal-link,
.site-footer a[aria-current="page"] { font-weight: 650; text-decoration: underline; text-underline-offset: .25em; }
.withdrawal-steps { display: flex; flex-wrap: wrap; gap: .75rem 2rem; padding: 0; margin: 2rem 0; list-style: none; color: var(--color-muted); }
.withdrawal-steps [aria-current="step"] { color: var(--color-ink); font-weight: 650; }
.withdrawal-scope { border: 1px solid var(--color-line); border-radius: 12px; padding: 1rem; margin: 0 0 1.5rem; }
.withdrawal-scope legend { padding-inline: .35rem; font-weight: 500; }
.withdrawal-scope label { display: flex; align-items: baseline; gap: .75rem; padding-block: .5rem; }
.withdrawal-form .withdrawal-scope input { width: auto; flex-shrink: 0; accent-color: var(--color-ink); }
.withdrawal-form textarea { min-height: 6rem; }
.withdrawal-page h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.035em; }
.withdrawal-page p { line-height: 1.6; }
.withdrawal-summary { margin: 2rem 0; }
.withdrawal-summary > div { padding: 1rem 0; border-bottom: 1px solid var(--color-line); }
.withdrawal-summary dt { color: var(--color-muted); font-size: .9rem; }
.withdrawal-summary dd { margin: .4rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.withdrawal-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.withdrawal-actions button { font-family: inherit; cursor: pointer; }
.withdrawal-confirm { background: var(--color-ink); color: var(--color-white); }
.withdrawal-receipt__text { font: inherit; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; padding: 1.5rem; border: 1px solid var(--color-line); border-radius: 12px; }
#withdrawal-status, #withdrawal-errors { scroll-margin-top: 7rem; }


.withdrawal-order-alternative { margin-bottom: 1.5rem; }
.withdrawal-order-alternative summary { cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.withdrawal-order-alternative summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.withdrawal-order-alternative[open] summary { margin-bottom: 1rem; }

.shipping-page section { margin-top: 2.5rem; }
.shipping-page h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.25; margin-bottom: 1rem; }
.shipping-page section p { line-height: 1.7; margin: 0 0 1rem; }
.shipping-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; text-align: left; }
.shipping-table th, .shipping-table td { padding: 1rem .75rem; border-bottom: 1px solid #d6d3cd; vertical-align: top; }
.shipping-table th:first-child { text-align: left; }
.shipping-table thead { background: rgba(0, 0, 0, .035); }
.shipping-table tbody th { font-weight: 400; }
.shipping-table td, .shipping-table th:last-child { white-space: nowrap; text-align: right; }
@media (max-width: 30rem) {
  .shipping-table th, .shipping-table td { padding: .8rem .4rem; font-size: .9rem; }
}

.returns-page h3 { font-size: 1.15rem; margin: 1.75rem 0 1rem; line-height: 1.35; }

.privacy-page section ul { padding-left: 1.4rem; margin: 0 0 1.25rem; line-height: 1.7; }
.privacy-page section li + li { margin-top: .4rem; }
#cookie-einstellungen { scroll-margin-top: 6rem; }

.imprint-details {
  display: block;
  max-width: 100%;
  height: auto;
}

.consent-panel {
  position: fixed;
  inset: auto 20px 20px auto;
  z-index: 10000;
  width: min(520px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 24px;
  background: var(--color-paper);
  color: var(--color-ink);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgb(0 0 0 / 14%);
}
.consent-panel[hidden], .consent-panel button[hidden] { display: none; }
.consent-panel h2 { margin: 0 0 12px; font-size: 1.2rem; }
.consent-panel p { margin: 0 0 12px; font-size: .95rem; line-height: 1.6; }
.consent-panel > a { text-decoration: underline; }
.consent-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.consent-panel__actions button {
  flex: 1 1 160px; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--color-ink); border-radius: 24px;
  background: var(--color-paper); color: var(--color-ink); font: inherit; cursor: pointer;
}
.consent-panel__actions button:hover { background: var(--color-surface); }

.site-footer__languages {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.site-footer__languages a { padding-block: .3rem; line-height: 1.4; }
.site-footer__languages a { text-underline-offset: 4px; }
.site-footer__languages a[aria-current="page"] { font-weight: 600; text-decoration: underline; }

/* Preserve the five-line hero composition across different word lengths. */
html:lang(en) .hero__title-line--question { font-size: .42em; }
html:lang(fr) .hero__title-line--lead { font-size: 1em; }
html:lang(fr) .hero__title-line--medium { font-size: .48em; }
html:lang(it) .hero__title-line--lead { font-size: .85em; }
html:lang(it) .hero__title-line--medium { font-size: .52em; }
html:lang(nl) .hero__title-line--medium { font-size: .58em; }
html:lang(nl) .hero__title-line--accent { font-size: .65em; }

.shop-link__arrow { display: block; width: 1.15em; height: 1.15em; flex: 0 0 auto; }

.consent-panel p { white-space: pre-line; }

@media (min-width: 48rem) {
  .site-footer__groups > :first-child {
    margin-inline-end: calc(-1 * clamp(0px, 1.25vw, 20px));
  }
}
