﻿/*
  eHive One Shop – Minimal UI (light)
  Ziel: weniger Effekte, klare Typo, viel Weißraum, konsistente Komponenten
*/

:root{
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --hero-bg: #f8fafc;
  --text: #0b1220;
  --muted: #5b6472;
  --border: #e6e8ec;
  --accent: #088178;
  --header-h: 32px;
  --header-gap: 0px;

  --radius: 12px;
  --max: 1080px;

  --shadow: 0 1px 2px rgba(0,0,0,.05);
}


*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scrollbar-gutter: stable; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: #f8fafc;
  line-height: 1.55;
  padding-top: var(--header-h);
  overflow-y: scroll;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; height:auto; }
button, input, select{ font:inherit; }

.nowrap{ white-space: nowrap; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Nav */
.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
    border-bottom: 1px solid var(--border);
  backdrop-filter: none;
  box-shadow: none;
}
/* TEMP: hide header for testing */

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
  white-space: nowrap;
}

.brand-stack{
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.brand-tagline{
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--muted);
  font-weight: 700;
  margin-top: 0;
}

.brand-badge{
  width: 176px;
  aspect-ratio: 1933 / 789;
  height: auto;
  background: transparent url("img/eHiveWhite.png") left center/contain no-repeat;
  border: none;
  display: block;
  image-rendering: auto;
}
.brand-badge::after{
  content: none;
}

.brand small{
  display:block;
  margin-top: -2px;
  font-weight: 700;
  color: var(--muted);
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 14px;
}

.nav-links a{
  color: var(--muted);
  font-weight: 700;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover{
  color: var(--text);
  border-bottom-color: rgba(0,0,0,.12);
}

.nav-links a[aria-current="page"]{
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

.paypal-cart-wrap{
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 180px;
  flex: 0 0 auto;
}

.paypal-cart-wrap paypal-cart-button,
[data-paypal-view-cart] paypal-cart-button{
  display: inline-block;
  min-width: 160px;
  width: max-content;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.paypal-slot paypal-add-to-cart-button{
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.nav-actions .icon-btn{
  border: none;
  padding: 8px;
}


.icon-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  cursor:pointer;
  transition: background .15s ease, border-color .15s ease;
}

.icon-btn:hover{
  background: var(--bg-soft);
  border-color: rgba(0,0,0,.12);
}

.icon{
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mobile-toggle{ display:none; }
.mobile-toggle{
  border: none;
  padding: 8px;
}
.mobile-panel{
  display:none;
  padding: 8px 0 12px;
  border-top: 1px solid var(--border);
}
.mobile-panel a{
  display:block;
  padding: 12px 8px;
  border-radius: 0;
  margin-top: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
}

/* Sections */
.section{ padding: 56px 0; }

.section-title{
  margin-bottom: 18px;
}

.section-title h2{
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: .2px;
}

.section-title p{
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 70ch;
}

.shop-title{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.shop-cart{
  flex: 0 0 auto;
}


/* Hero */
.hero{
  padding: 58px 0 44px;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items:center;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}
.kdot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  opacity: .35;
}

.hero h1{
  margin: 0 0 14px;
  line-height: 1.08;
  font-size: clamp(30px, 3.6vw, 48px);
}

.hero p{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 72ch;
}

.cta-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Product intro video */
.hero-product-video{
  padding: 20px 0 26px;
  background: #fff;
  position: relative;
  z-index: 4;
  overflow: hidden;
}

.hero-product-video-stage{
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-product-video-stage::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #fff;
  pointer-events: none;
  z-index: 40;
}

.hero-video-qr-trigger{
  position: absolute;
  left: var(--x, 12px);
  top: var(--y, 12px);
  transform: translate(-50%, -50%);
  z-index: 45;
  width: clamp(45px, 6.9%, 122px);
  height: clamp(57px, 13.9%, 151px);
  border: 2px solid rgba(15,23,42,.44);
  border-radius: 8px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, border-color .2s ease, box-shadow .2s ease;
  animation: heroQrPulse 1.15s ease-in-out infinite;
}

.hero-video-qr-trigger::after{
  content: "\1F446";
  position: absolute;
  right: -14px;
  bottom: -16px;
  transform: translate(0, 0);
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(15,23,42,.18));
  pointer-events: none;
  animation: heroFingerBlink 1.15s ease-in-out infinite;
}

.hero-product-video-stage.is-ended .hero-video-qr-trigger{
  opacity: 1;
  pointer-events: auto;
}

.hero-video-qr-trigger-inner{
  display: block;
  position: absolute;
  inset: 12%;
  background:
    linear-gradient(#0f172a, #0f172a) left top / 34% 2px no-repeat,
    linear-gradient(#0f172a, #0f172a) left top / 2px 34% no-repeat,
    linear-gradient(#0f172a, #0f172a) right top / 34% 2px no-repeat,
    linear-gradient(#0f172a, #0f172a) right top / 2px 34% no-repeat,
    linear-gradient(#0f172a, #0f172a) left bottom / 34% 2px no-repeat,
    linear-gradient(#0f172a, #0f172a) left bottom / 2px 34% no-repeat,
    linear-gradient(#0f172a, #0f172a) right bottom / 34% 2px no-repeat,
    linear-gradient(#0f172a, #0f172a) right bottom / 2px 34% no-repeat;
  opacity: .78;
}

.hero-video-qr-trigger:hover{
  border-color: rgba(8,129,120,.72);
  box-shadow: 0 0 0 3px rgba(8,129,120,.16);
}

.hero-video-qr-trigger:focus-visible{
  outline: 2px solid rgba(8,129,120,.45);
  outline-offset: 2px;
}

@keyframes heroQrPulse{
  0%, 100%{
    border-color: rgba(15,23,42,.44);
    box-shadow: 0 0 0 0 rgba(8,129,120,0);
  }
  50%{
    border-color: rgba(8,129,120,.78);
    box-shadow: 0 0 0 3px rgba(8,129,120,.16);
  }
}

@keyframes heroFingerBlink{
  0%, 100%{
    opacity: 1;
    transform: translate(0, 0);
  }
  50%{
    opacity: .45;
    transform: translate(-2px, -2px);
  }
}

.hero-product-video-media{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-product-video-media::-webkit-media-controls{
  display: none !important;
}

.hero-product-video-media::-webkit-media-controls-start-playback-button{
  display: none !important;
  -webkit-appearance: none;
}

.hero-demo-window{
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.hero-demo-window.is-open{
  opacity: 1;
  pointer-events: auto;
}

.hero-demo-window-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(8,12,18,.24);
}

.hero-demo-window-panel{
  position: relative;
  --demo-scale: 1;
  --demo-offset-x: 0px;
  --demo-offset-y: 0px;
  width: min(929px, 95vw);
  height: min(81vh, 660px);
  background: #fff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(12,18,32,.16);
}

.hero-demo-window-close{
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: #111827;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.hero-demo-window-close:hover{
  background: #fff;
}

.hero-demo-window-frame{
  position: absolute;
  left: 0;
  top: 0;
  width: 1366px;
  height: 900px;
  border: none;
  display: block;
  transform-origin: top left;
  transform: translate(var(--demo-offset-x), var(--demo-offset-y)) scale(var(--demo-scale));
  will-change: transform;
}

.hero-video-hotspots{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.hero-product-video-stage.is-ended .hero-video-hotspots{
  opacity: 1;
  pointer-events: auto;
}

.hero-video-hotspot{
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 1;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hero-video-hotspot-dot{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: block;
  background: #088178;
  border: 2px solid #fff;
  box-shadow: 0 0 0 6px rgba(8,129,120,.18);
}

.hero-video-hotspot-card{
  position: absolute;
  left: 16px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  min-width: 210px;
  max-width: 260px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.97);
  color: #1f2937;
  text-align: left;
  box-shadow: 0 12px 26px rgba(12,18,32,.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.hero-video-hotspot-card strong{
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}

.hero-video-hotspot-card span{
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: #4b5563;
}

.hero-video-hotspot:hover .hero-video-hotspot-card,
.hero-video-hotspot:focus-visible .hero-video-hotspot-card,
.hero-video-hotspot.is-open .hero-video-hotspot-card{
  opacity: 1;
  transform: translateY(-50%) translateX(2px);
}

.hero-video-hotspot:hover,
.hero-video-hotspot:focus-visible,
.hero-video-hotspot.is-open{
  z-index: 30;
}

.hero-video-hotspot:focus-visible{
  outline: 2px solid rgba(8,129,120,.65);
  outline-offset: 4px;
  border-radius: 999px;
}

.hero-video-notes{
  position: absolute;
  right: 1.8%;
  top: 8%;
  width: min(48%, 560px);
  z-index: 20;
  padding: 6px 2px;
  border: none;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.hero-product-video-stage.is-ended .hero-video-notes{
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-product-video-stage.is-stacked{
  overflow: visible;
}

.hero-product-video-stage.is-stacked .hero-video-notes{
  left: 0;
  right: 0;
  top: calc(100% + 12px);
  bottom: auto;
  width: 100%;
  max-width: none;
  padding: 0;
  transform: translateY(10px);
}

.hero-product-video-stage.is-stacked.is-ended{
  margin-bottom: var(--hero-notes-h, 240px);
}

.hero-product-video-stage.is-stacked.is-ended .hero-video-notes{
  transform: translateY(0);
}

.hero-video-notes-title{
  margin: 0 0 16px;
  font-family: inherit;
  font-size: clamp(26px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #000;
}

.hero-video-notes-text{
  margin: 0 0 12px;
  color: var(--muted);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.hero-video-notes-list{
  margin: 0;
  padding-left: 24px;
  list-style: disc;
  display: grid;
  gap: 6px;
}

.hero-video-notes-list li{
  color: #0f172a;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .24s ease, transform .24s ease;
}

.hero-video-notes-list li::marker{ color: #111; }

.hero-video-note-trigger{
  appearance: none;
  border: none;
  background: transparent;
  margin: 0;
  padding: 1px 4px;
  border-radius: 6px;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.hero-video-note-trigger:hover,
.hero-video-note-trigger:focus-visible{
  background: rgba(15,23,42,.08);
  color: #000;
}

.hero-video-note-trigger:focus-visible{
  outline: 2px solid rgba(8,129,120,.45);
  outline-offset: 2px;
}

.hero-video-note-jump{
  display: inline-block;
}

.hero-product-video-stage.is-ended .hero-video-notes-list li{
  opacity: 1;
  transform: translateY(0);
}

.hero-product-video-stage.is-ended .hero-video-notes-list li:nth-child(1){ transition-delay: .07s; }
.hero-product-video-stage.is-ended .hero-video-notes-list li:nth-child(2){ transition-delay: .12s; }
.hero-product-video-stage.is-ended .hero-video-notes-list li:nth-child(3){ transition-delay: .17s; }
.hero-product-video-stage.is-ended .hero-video-notes-list li:nth-child(4){ transition-delay: .22s; }
.hero-product-video-stage.is-ended .hero-video-notes-list li:nth-child(5){ transition-delay: .27s; }
.hero-product-video-stage.is-ended .hero-video-notes-list li:nth-child(6){ transition-delay: .32s; }
.hero-product-video-stage.is-ended .hero-video-notes-list li:nth-child(7){ transition-delay: .37s; }
.hero-product-video-stage.is-ended .hero-video-notes-list li:nth-child(8){ transition-delay: .42s; }

/* Hero */
.hero-ehive{
  padding: 28px 0 0;
  border-bottom: 1px solid var(--border);
  --hero-copy-max-up: 24px;
  --hero-pretext-gap: 28px;
  --hero-text-top: 112px;
  --hero-headline-offset: -34px;
  --hero-copy-shift-x: -40px;
  --hero-copy-shift-y: 4px;
  --hero-content-shift-x: -28px;
  --hero-bg-shift-x: 14%;
  --hero-bg-shift: 0px;
  --hero-bg-delay: 0px;
  --hero-bg-shift-max: 90px;
  --hero-bg-shift-speed: 0.35;
  background:
    radial-gradient(1100px 420px at 15% -10%, rgba(8,129,120,.10), transparent 60%),
    radial-gradient(900px 360px at 85% 0%, rgba(15,45,90,.08), transparent 60%),
    var(--hero-bg);
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 0;
}

.hero-ehive::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  pointer-events: none;
  z-index: 2;
}

.hero-ehive .container{
  position: relative;
  z-index: 1;
}

.hero-ehive-headline{
  position: relative;
  margin: var(--hero-headline-offset) 0 18px;
  width: min(100%, 46ch);
  max-width: 46ch;
  line-height: 1.04;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.02em;
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(248,250,252,.78);
  border: 1px solid rgba(255,255,255,.68);
  box-shadow: 0 8px 22px rgba(12,18,32,.06);
  backdrop-filter: blur(2px);
  text-shadow: 0 1px 0 rgba(255,255,255,.45);
  transform: translateX(var(--hero-copy-shift-x));
}

.hero-ehive-pin{
  position: sticky;
  top: var(--header-h);
  display:flex;
  align-items: stretch;
  padding: 0;
}

.hero-ehive-frame{
  position: relative;
  width: 100%;
  border-radius: 0;
  border: none;
  background: transparent;
  overflow: hidden;
  --hero-frame-pad-top: clamp(32px, calc(104px - 4vw), 76px);
  --hero-frame-pad-bottom: 60px;
  --hero-copy-top-ratio: 0.24;
  --hero-bg-max-width: 1536px;
  --hero-bg-max-height: 1344px;
}

.hero-ehive-bg{
  width: 42%;
  max-width: var(--hero-bg-max-width);
  max-height: var(--hero-bg-max-height);
  --hero-bg-crop: 0%;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: translateX(var(--hero-bg-shift-x, 0)) translateY(calc(-1 * var(--hero-bg-crop) + var(--hero-bg-shift, 0px)));
  object-fit: contain;
  opacity: 1;
  filter: saturate(1.05) contrast(1.05);
  clip-path: inset(var(--hero-bg-crop) 0 0 0);
  -webkit-clip-path: inset(var(--hero-bg-crop) 0 0 0);
}

.hero-ehive-content{
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: var(--hero-frame-pad-top) 0 var(--hero-frame-pad-bottom);
  isolation: isolate;
}

.hero-ehive-content::before{
  content: "";
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, calc(var(--max) + 80px));
  transform: translateX(calc(-50% + var(--hero-content-shift-x, 0px)));
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(248,250,252,.985) 0%,
    rgba(248,250,252,.965) 42%,
    rgba(248,250,252,.88) 57%,
    rgba(248,250,252,.56) 68%,
    rgba(248,250,252,.14) 79%,
    rgba(248,250,252,0) 89%
  );
}

.hero-ehive-pretext{
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  max-width: 46ch;
  transform: translate(var(--hero-copy-shift-x), var(--hero-copy-shift-y));
  transition: opacity .25s ease, transform .25s ease;
  align-self: start;
}

.hero-ehive-pretext-content{
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.74);
  box-shadow: 0 5px 16px rgba(12,18,32,.09);
  backdrop-filter: blur(3px);
}

.hero-ehive-kicker{
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #2b3542;
}

.hero-ehive-pretext-title{
  margin: 0 0 10px;
  line-height: 1.12;
  font-size: clamp(22px, 2.7vw, 34px);
  letter-spacing: -0.01em;
}

.hero-ehive-pretext--title{
  color: inherit;
  text-transform: none;
}

.hero-ehive-pretext-sub{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.hero-ehive-pretext-sub + .hero-ehive-pretext-sub{
  margin-top: 8px;
}

.hero-ehive-pretext-sub-emph{
  color: #273241;
  font-weight: 700;
}


.debug-panel{
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  min-width: 180px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(8,12,18,.68);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.4;
  pointer-events: none;
  white-space: pre;
}

.debug-header{
  position: fixed;
  left: 12px;
  top: 8px;
  z-index: 300;
}
.debug-panel,
.debug-header{
  display: none;
}

body.debug-on .debug-panel,
body.debug-on .debug-header{
  display: block;
}

.hero-ehive-frame .container{
  position: relative;
  z-index: 2;
  transform: translateX(var(--hero-content-shift-x, 0px));
}

.hero-ehive-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items:start;
  margin-top: 0;
}

/* Scroll reveal */
.reveal-up{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.scroll-shift{
  opacity: 0;
  transform: translateY(40vh);
  will-change: transform, opacity;
  transition: transform .6s ease, opacity .6s ease;
}

.hero-ehive,
.logo-strip,
.story,
.capabilities{
  font-family: "SF Pro Display","Avenir Next","Segoe UI",sans-serif;
}

.hero-ehive-copy{
  margin-left: 0;
  grid-column: 1 / 2;
  display: grid;
  gap: 10px;
  position: relative;
  max-width: 46ch;
}

.hero-ehive-copy-inner{
  position: absolute;
  top: var(--hero-pretext-offset, var(--hero-text-top));
  left: 0;
  right: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.hero-ehive.hero-text-active .hero-ehive-copy-inner{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-ehive-copy{
  margin-left: 0;
  grid-column: 1 / 2;
  display: grid;
  gap: 10px;
  position: relative;
  max-width: 46ch;
}

.hero-ehive .eyebrow{
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 10px;
}

.story .eyebrow{
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 10px;
}

.story .eyebrow.story-eyebrow-mixed{
  text-transform: none;
}


.hero-ehive h1,
.hero-ehive-pretext--title{
  margin: 0 0 16px;
  line-height: 1.05;
  font-size: clamp(26px, 3.6vw, 46px);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-ehive .lead{
  transition: opacity .25s ease, transform .25s ease;
}

.hero-ehive.hide-on-scroll .lead{
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.hero-ehive .lead{
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 80%;
}

.screenshots{
  position: relative;
  height: 624px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.screenshots_container{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 16px;
}

.screenshots_inner{
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 18px 20px 20px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.screenshots-title{
  width: min(100%, var(--max));
  margin: 0 0 8px;
  padding: 0 20px;
}

.screenshots-demo-link{
  width: min(100%, var(--max));
  margin: 0 0 4px;
  padding: 0 20px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}

.screenshots-demo-link a{
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.screenshots-demo-link a:hover{
  color: #06645e;
}

.screenshot{
  flex: 0 0 auto;
  display: block;
  scroll-snap-align: start;
}

.screenshot img{
  width: auto;
  height: 500px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(12,18,32,.14);
  background: #fff;
}

.open-point-section{
  position: relative;
  padding: 0;
  border-bottom: 1px solid var(--border);
  --open-pad-top: clamp(20px, calc(72px - 3vw), 46px);
  --open-pad-bottom: 34px;
  background: #fff;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.open-point-pin{
  position: relative;
  top: auto;
  display: block;
  width: 100%;
  padding: 0;
}

.open-point-section .container{
  padding-top: var(--open-pad-top);
  padding-bottom: var(--open-pad-bottom);
}

.open-point-card{
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.open-point-card .eyebrow{
  margin: 0;
  color: #2b3542;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 800;
}

.open-point-hash{
  margin: 0 0 4px;
  color: var(--muted);
  font-size: clamp(22px, 3.2vw, 38px);
  line-height: 1.05;
  letter-spacing: .06em;
  font-weight: 700;
}

.open-point-hash--section{
  margin: 0 0 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.hash-subline{
  display: block;
  margin-top: 2px;
  font-size: 0.82em;
  line-height: 1.2;
  letter-spacing: .08em;
  font-weight: 600;
  text-transform: none;
  color: var(--muted);
}

#APPSTORE{
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.open-point-card h2{
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-size: clamp(22px, 2.7vw, 34px);
  color: #0f172a;
}

.open-point-card p{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.setup-nowrap{
  white-space: nowrap;
}

.inline-icon-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8em;
  height: 1.8em;
  margin-left: 8px;
  color: #111827;
  vertical-align: text-bottom;
  border: 1px solid #111827;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(12,18,32,.14);
  transition: color .16s ease, transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.inline-icon-link:hover{
  color: #ffffff;
  background: #111827;
  box-shadow: 0 6px 14px rgba(12,18,32,.22);
  transform: translateY(-1px) scale(1.04);
}

.inline-icon-link svg{
  width: 68%;
  height: 68%;
  display: block;
  fill: currentColor;
}

.open-point-card .open-point-hash{
  margin: 0 0 2px;
  color: var(--muted);
}

.open-point-card--with-media{
  grid-template-columns: 1.2fr auto;
  align-items: center;
  column-gap: 24px;
}

.open-point-setup-layout{
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  column-gap: 24px;
}

.open-point-nocloud-layout{
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: start;
  column-gap: 24px;
}

.open-point-card-copy{
  max-width: 56ch;
}

.open-point-media{
  width: min(200px, 100%);
  height: auto;
  display: block;
  justify-self: end;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}

.open-point-media--setup{
  width: min(320px, 42vw);
  max-width: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
}

.open-point-media--nocloud{
  width: min(340px, 46vw);
  max-width: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
}

.open-point-media--icon{
  width: min(88px, 100%);
  border: none;
  border-radius: 0;
  background: transparent;
}

.infobox{
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

#open-hersteller .infobox{
  margin-top: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.infobox > h2{
  margin: 0 0 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 11px;
  font-weight: 700;
}

.infobox_inner{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "charger vehicle inverter"
    "smartswitch heating meter";
  gap: 12px;
}

.infobox_entry{
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
}

.infobox_entry img{
  width: 52px;
  height: 52px;
  display: block;
  margin-bottom: 6px;
}

.infobox_entry h3{
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.3;
}

.infobox .products{
  display: block;
  margin: 0;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.5;
}

.brand-mark{
  width: 180px;
  margin: 6px 0 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #0d1a2b;
  border: 1px solid rgba(255,255,255,.08);
}

.brand-mark img{
  width: 100%;
  height: auto;
  display: block;
}

.micro-specs{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  color: var(--muted);
  margin-top: 16px;
  font-weight: 700;
  font-size: 13px;
}

.micro-specs span{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
}

.hero-ehive-visual{ position: relative; }

.device-card{
  position: relative;
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fff, #f2f5f9);
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px rgba(12,18,32,.12);
  animation: float 7s ease-in-out infinite;
}

.device-frame{
  padding: 16px;
  border-radius: 20px;
  background: #0d1a2b;
  color: #fff;
  min-height: 260px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap: 12px;
}

.device-screen{
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 14px;
}

.screen-title{
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .7;
}

.screen-metric{
  margin-top: 14px;
  display:flex;
  align-items:baseline;
  gap: 8px;
}

.screen-metric strong{ font-size: 28px; }

.screen-lines{
  margin-top: 12px;
  display:grid;
  gap: 6px;
}

.screen-lines span{
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(8,129,120,.9), rgba(8,129,120,.2));
}

.device-specs{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}

.device-specs span{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  font-size: 12px;
}

.device-footer{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-photo{
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 38px rgba(12,18,32,.12);
}

.hero-photo img{
  width: 100%;
  height: auto;
  display: block;
}

/* Logo strip */
.logo-strip{
  padding: 24px 0 40px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.logo-strip-title{
  margin: 0 0 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 11px;
  font-weight: 700;
}

.logo-row{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  align-items:center;
}

.logo-item{
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  min-height: 96px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.logo-item-name{
  display: inline-block;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .2px;
}

.logo-item-icon{
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #00aa0f;
}

.logo-item-icon svg{
  width: 18px;
  height: 18px;
  display: block;
}

.logo-item img{
  width: auto;
  height: 38px;
  max-width: 140px;
  object-fit: contain;
  opacity: 1;
}

.logo-item[data-video-src]{
  cursor: pointer;
}

.logo-item.logo-link .logo-item-name{
  text-transform: lowercase;
}

.logo-item:hover{
  border-color: rgba(8,129,120,.35);
  box-shadow: 0 10px 24px rgba(12,18,32,.12);
  transform: translateY(-2px);
}

.logo-item[data-video-src] img{
  display: none;
  transition: transform .2s ease;
  transform-origin: center;
}

.logo-item[data-video-src]:hover img{
  transform: scale(1.08);
}

.logo-item[data-video-src]:hover .logo-item-icon{
  background: transparent;
}

.logo-item[data-video-src]:focus-visible{
  outline: 2px solid rgba(8,129,120,.6);
  outline-offset: 2px;
}

.image-lightbox{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8,12,18,.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.image-lightbox.show{
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img{
  max-width: min(860px, 92vw);
  max-height: 72vh;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 14px;
  box-shadow: 0 30px 70px rgba(8,12,18,.35);
}

.video-lightbox{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8,12,18,.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.video-lightbox.show{
  opacity: 1;
  pointer-events: auto;
}

.video-lightbox video{
  max-width: min(960px, 92vw);
  max-height: 72vh;
  border-radius: 16px;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(8,12,18,.35);
}

.video-lightbox .video-label{
  margin: 12px 0 0;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

/* hover preview removed in favor of zoom-in-place */

.image-lightbox .lightbox-label{
  margin: 12px 0 0;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.lightbox-content{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close{
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(12,18,32,.6);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

body.lightbox-open{
  overflow: hidden;
}

/* Story */
.story{
  padding: 36px 0 64px;
  background: var(--bg-soft);
}

.story-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items:center;
}

.story-copy h2{
  margin: 6px 0 10px;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.01em;
}

.story-list{
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.story-media{
  background: linear-gradient(135deg, #f5f7fb, #eef3f8);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  min-height: 260px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.evcc-benefits{
  margin-top: 28px;
  padding: 0;
  background: transparent;
}

.benefit-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.benefit-card{
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.benefit-svg,
.benefit-card img{
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  background: transparent;
}

.benefit-card p{
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

.benefit-summary{
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
}

.benefit-summary p{
  margin: 0;
}

.benefit-highlight{
  max-width: 760px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(8,129,120,.28);
  background: linear-gradient(135deg, rgba(8,129,120,.14), rgba(8,129,120,.05));
  color: #0f172a;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 8px 20px rgba(8,129,120,.12);
}

.benefit-points{
  margin: 2px 0 0;
  width: min(100%, 560px);
  padding-left: 20px;
  text-align: left;
  color: #334155;
  display: grid;
  gap: 4px;
}

.benefit-points li{
  margin: 0;
}


.story-live{
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .01em;
}

.live-pill{
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
}

.live-items{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.live-items strong{
  color: var(--text);
  font-weight: 700;
}

.media-card{
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  width: 100%;
}


.media-tag{
  display:inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--muted);
}

.media-bars{
  display:grid;
  gap: 10px;
  margin: 18px 0 12px;
}

.media-bars span{
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(8,129,120,.9), rgba(8,129,120,.2));
}

.media-foot{
  display:flex;
  justify-content:space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.stat-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-item{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}

.stat-label{
  display:block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.stat-item strong{
  display:block;
  margin-top: 6px;
  font-size: 18px;
  letter-spacing: .2px;
}

.stat-note{
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

/* Capabilities */
.capabilities{
  padding: 64px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.cap-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.cap-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.cap-card h4{ margin: 0 0 6px; font-size: 16px; }
.cap-card p{ margin: 0; color: var(--muted); }

.spec-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.spec-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.spec-card strong{ display:block; font-size: 14px; }
.spec-card span{ color: var(--muted); font-size: 12px; }

/* Motion */
.hero-ehive [data-reveal]{ animation: rise .7s ease both; }
.hero-ehive [data-reveal="2"]{ animation-delay: .06s; }
.hero-ehive [data-reveal="3"]{ animation-delay: .12s; }
.hero-ehive [data-reveal="4"]{ animation-delay: .18s; }
.hero-ehive [data-reveal="5"]{ animation-delay: .24s; }

@keyframes rise{
  from{ opacity:0; transform: translateY(12px); }
  to{ opacity:1; transform: translateY(0); }
}

@keyframes float{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  font-weight: 800;
  cursor:pointer;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}

.btn:hover{
  background: var(--bg-soft);
  border-color: rgba(0,0,0,.12);
  transform: translateY(-1px);
}

.btn.primary{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.primary:hover{
  background: #066a63;
  border-color: #066a63;
}


.btn.link{
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: var(--accent);
  font-weight: 800;
}
.btn.link:hover{ transform:none; text-decoration: underline; }

/* Cards / blocks */
.card{
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}

.hero-card{ padding: 16px; }
.hero-card img{
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}
.hero-meta{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 10px;
  margin-top: 14px;
}
.price{
  font-weight: 900;
  font-size: 18px;
}
.price small{
  display:block;
  color: var(--muted);
  font-weight: 700;
  margin-top: 2px;
}

.pills{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.pill{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  font-weight: 800;
  font-size: 12px;
}

/* Features */
.features{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.feature-box{
  padding: 14px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  text-align:center;
}
.feature-box h4{ margin: 10px 0 0; font-size: 14px; }
.feature-box .tag{
  display:inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  font-weight: 800;
  font-size: 12px;
}

/* Products (Shop cards) */
.products{
  display:grid;
  gap: 24px;
  margin-top: 22px;
}

.products[data-layout="split"]{
  grid-template-columns: 1fr;
}

.products[data-layout="split"] .pro{
  display:grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 20px;
  align-items:start;
  min-width: 0;
}

.products[data-layout="split"] .pro img{
  width: 100%;
  max-width: 220px;
}

.products[data-layout="split"] .paypal-slot,
.products[data-layout="split"] .row{
  grid-column: 2 / 3;
}


.pro{
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  display:flex;
  flex-direction:column;
  gap: 12px;
  overflow: hidden;
}

.pro img{
  border-radius: 12px;
  border: none;
  background: transparent;
}

.pro .des{ display:flex; flex-direction:column; gap: 6px; min-width: 0; }
.pro .des span{
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  letter-spacing:.2px;
  text-transform: none;
}
.pro .des .brand-title-logo{
  display: inline-flex;
  align-items: center;
  height: 20px;
}
.pro .des .brand-title-logo img{
  height: 20px;
  width: auto;
  display: block;
  filter: none;
}
.pro .des h5{ margin:0; font-size: 16px; }
.pro .des .product-one{
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: .2px;
  color: #000;
}
.pro .des .product-rest{
  font-size: 0.9em;
  font-weight: 500;
  color: var(--text);
}
.pro .des .price-line{ font-weight: 900; color: var(--text); }
.addon-details{
  display: none;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.addon-overview{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.addon-overview p{
  margin: 6px 0 0;
}
.addon-overview p:first-child{
  margin-top: 0;
}
.addon-overview ul{
  margin: 6px 0 0;
  padding-left: 18px;
}
.addon-overview li{
  margin: 4px 0;
}
.addon-details p{
  margin: 6px 0 0;
}
.addon-details p:first-child{
  margin-top: 0;
}
.addon-details ul{
  margin: 6px 0 0;
  padding-left: 18px;
}
.addon-details li{
  margin: 4px 0;
}
.addon-specs{
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 0;
}
.addon-specs-row{
  display:grid;
  grid-template-columns: 1fr;
  align-items: flex-start;
  gap: 2px;
  border-bottom: 1px dashed rgba(0,0,0,.08);
  padding-bottom: 6px;
}
.addon-specs-row span{
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.addon-specs-row span:first-child{
  color: var(--muted);
  font-size: 13px;
}
.addon-specs-row span:last-child{
  color: var(--text);
  font-weight: 600;
  text-align: left;
  font-size: 13px;
}

@media (max-width: 980px){
  .addon-specs{ grid-template-columns: 1fr; }
}
.pro.is-open .addon-details{
  display: block;
}
.pro[data-addon-toggle]{
  cursor: pointer;
}

.pro .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}


.field{
  display:flex;
  flex-direction:column;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 160px;
}
.field label{
  font-weight: 800;
  color: var(--muted);
  font-size: 12px;
}
.field select, .field input{
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  outline: none;
}
.field select:focus, .field input:focus{
  border-color: rgba(8,129,120,.55);
  box-shadow: 0 0 0 3px rgba(8,129,120,.12);
}

.note{
  color: var(--muted);
  font-size: 13px;
}

/* Banner / newsletter (minimal) */
.banner{
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: var(--radius);
  padding: 22px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.banner h3{ margin:0; font-size: 18px; }
.banner p{ margin:6px 0 0; color: var(--muted); }

.newsletter{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  align-items:center;
}
.newsletter input{
  min-width: 240px;
  padding: 11px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
}
.newsletter input:focus{
  border-color: rgba(8,129,120,.55);
  outline:none;
  box-shadow: 0 0 0 3px rgba(8,129,120,.12);
}

/* Product detail page */
.product-grid{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 22px;
}

.product-media{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  box-shadow: none;
}
.product-media img{
  border-radius: 10px;
  border: 1px solid var(--border);
}

.product-info{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background:#fff;
  box-shadow: none;
  min-width: 0;
}
.product-info h2{ margin:0 0 10px; line-height:1.15; }
.product-info .meta{
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 14px;
}
.product-info ul{ padding-left: 18px; margin: 10px 0 0; }
.product-info li{ margin: 6px 0; color: var(--muted); }
.product-description{
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.product-description strong{ color: var(--text); }
.product-description p{ margin: 6px 0 0; }
.product-description p:first-child{ margin-top: 0; }
.product-description ul{ margin: 6px 0 0; padding-left: 18px; }
.product-description p,
.product-description li{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* PayPal slot wrapper */
.paypal-slot{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
}

.paypal-slot img{
  display: none !important;
}

.paypal-slot [id^="carousel-container-"],
.paypal-slot [id^="hero-container-"],
.paypal-slot [id^="prev-button-"],
.paypal-slot [id^="next-button-"],
.paypal-slot [id^="hero-img-"],
.paypal-slot .thumbnail-container{
  display: none !important;
}

.paypal-slot [id^="paypal-form-fields-container-"]{
  display: block !important;
  gap: 0 !important;
}

.paypal-slot [id^="form-container-"]{
  max-width: 100% !important;
}

.paypal-slot paypal-add-to-cart-button > div{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Footer */
.footer{
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 26px 0;
}
.footer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}
.footer .copy{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.footer a:hover{ color: var(--accent); }

/* Responsive */

@media (max-width: 1120px){
  .hero-ehive{
    --hero-content-shift-x: 0px;
    --hero-bg-shift-x: 0%;
  }

  .hero-ehive-pin{
    position: relative;
    top: 0;
  }

  .hero-ehive-frame{
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
    --hero-frame-pad-top: 0px;
    --hero-frame-pad-bottom: 20px;
  }

  .hero-ehive-content{
    position: relative;
    inset: auto;
    order: 1;
    padding: 22px 0 0;
    isolation: auto;
  }

  .hero-ehive-content::before{
    display: none;
  }

  .hero-ehive-bg{
    order: 2;
    width: min(100%, 720px);
    max-width: 100%;
    margin: 0 auto;
    opacity: 1;
    transform: none;
    clip-path: none;
    -webkit-clip-path: none;
  }

  .hero-ehive-frame .container{
    transform: none;
  }

  .hero-ehive-headline{
    max-width: 100%;
    margin-top: 0;
    width: 100%;
    transform: none;
  }

  .hero-ehive-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-ehive-copy{
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .hero-ehive-pretext{
    max-width: 100%;
    transform: none;
  }
}

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .features{ grid-template-columns: repeat(3, 1fr); }
  .products[data-layout="split"]{ grid-template-columns: 1fr; }
  .products[data-layout="split"] .pro{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .products[data-layout="split"] .pro img{
    max-width: 100%;
  }
  .products[data-layout="split"] .des,
  .products[data-layout="split"] .paypal-slot,
  .products[data-layout="split"] .row{
    grid-column: 1 / -1;
    min-width: 0;
  }
  .pro{
    min-width: 0;
  }
  .pro .row{
    justify-content: stretch;
    align-items: stretch;
  }
  .pro .field{
    min-width: 0;
    width: 100%;
  }
  .addon-overview,
  .addon-details,
  .product-description{
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .addon-overview ul,
  .addon-details ul,
  .product-description ul{
    padding-left: 16px;
  }
  .product-grid{ grid-template-columns: 1fr; }

  .hero-ehive{
    --hero-content-shift-x: 0px;
    --hero-bg-shift-x: 0%;
  }
  .hero-ehive-bg{
    width: min(100%, 640px);
    opacity: 1;
  }
  .hero-ehive-headline{
    max-width: 100%;
  }

  .hero-ehive-grid{ grid-template-columns: 1fr; }
  .story-grid{ grid-template-columns: 1fr; }
  .cap-grid{ grid-template-columns: repeat(2, 1fr); }
  .spec-grid{ grid-template-columns: repeat(2, 1fr); }
  .benefit-grid{ grid-template-columns: 1fr; }
  .open-point-card--with-media{
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .open-point-setup-layout{
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .open-point-nocloud-layout{
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .open-point-media{
    justify-self: start;
  }
  .infobox_inner{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "charger vehicle"
      "inverter smartswitch"
      "heating meter";
  }
}

@media (max-width: 640px){
  .container{ padding: 0 16px; }
  .section{ padding: 40px 0; }
  .hero-product-video{ padding: 10px 0 16px; }
  .hero-video-notes{
    right: 2%;
    top: auto;
    bottom: 3.2%;
    width: min(90%, 420px);
    padding: 6px 2px;
  }
  .hero-video-notes-title{
    font-size: clamp(20px, 6.2vw, 28px);
  }
  .hero-video-notes-text{
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.55;
  }
  .hero-video-notes-list{
    padding-left: 20px;
    gap: 4px;
  }
  .hero-video-notes-list li{
    font-size: 14px;
    line-height: 1.55;
  }
  .hero-video-note-trigger{
    padding: 1px 3px;
  }
  .hero-video-qr-trigger{
    border-radius: 7px;
  }
  .hero-video-qr-trigger::after{
    right: -12px;
    bottom: -14px;
    font-size: 22px;
  }
  .hero-demo-window-panel{
    width: min(97vw, 577px);
    height: min(79vh, 577px);
    border-radius: 10px;
  }
  .hero-demo-window-close{
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
  }
  .hero-video-hotspot-dot{
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 5px rgba(8,129,120,.2);
  }
  .hero-video-hotspot-card{
    left: 14px;
    min-width: 168px;
    max-width: 196px;
    padding: 7px 8px;
  }
  .hero-video-hotspot-card strong{
    font-size: 12px;
  }
  .hero-video-hotspot-card span{
    font-size: 11px;
    line-height: 1.35;
  }
  .screenshots{
    height: 446px;
  }
  .screenshots_inner{
    padding: 12px 12px 14px;
    gap: 10px;
  }
  .screenshots-title{
    padding: 0 16px;
    margin-bottom: 4px;
  }
  .screenshots-demo-link{
    padding: 0 16px;
    margin-bottom: 2px;
    font-size: 13px;
  }
  .screenshot img{
    height: 330px;
    border-radius: 10px;
  }
  .open-point-section{
    padding: 0;
    --open-pad-top: 16px;
    --open-pad-bottom: 22px;
  }
  .open-point-card{
    padding: 10px 11px;
    border-radius: 10px;
    gap: 8px;
  }
  .open-point-hash{
    font-size: clamp(22px, 8.2vw, 34px);
  }
  .open-point-hash--section{
    margin: 0 0 14px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .24em;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
  }
  .open-point-card h2{
    font-size: clamp(20px, 5vw, 28px);
  }
  .open-point-card p{
    font-size: 14px;
    line-height: 1.5;
  }
  .setup-nowrap{
    white-space: normal;
  }
  .open-point-media{
    width: min(180px, 100%);
  }
  .open-point-media--setup{
    width: min(260px, 100%);
  }
  .open-point-media--nocloud{
    width: min(280px, 100%);
  }
  .open-point-media--icon{
    width: min(88px, 100%);
  }
  .infobox{
    margin-top: 14px;
    padding: 10px 11px;
    border-radius: 10px;
  }
  .infobox > h2{
    font-size: 11px;
    margin-bottom: 10px;
  }
  .infobox_inner{
    grid-template-columns: 1fr;
    grid-template-areas:
      "charger"
      "vehicle"
      "inverter"
      "smartswitch"
      "heating"
      "meter";
    gap: 8px;
  }
  .infobox_entry{
    padding: 10px 11px;
    border-radius: 10px;
  }
  .infobox_entry img{
    width: 46px;
    height: 46px;
    margin-bottom: 6px;
  }
  .infobox_entry h3{
    font-size: 14px;
    margin-bottom: 4px;
  }
  .infobox .products{
    font-size: 11px;
    line-height: 1.45;
  }
  .nav-links{ display:none; }
  .mobile-toggle{ display:inline-flex; }
  .mobile-panel.show{ display:block; }
  .nav{ gap: 10px; }
  .nav-actions{ gap: 6px; }
  .nav-actions .icon-btn{ padding: 8px 10px; }
  .nav-actions .icon-btn span{ display:none; }
  .paypal-cart-wrap{
    min-width: 152px;
  }
  .paypal-cart-wrap paypal-cart-button{
    min-width: 144px;
  }
  .features{ grid-template-columns: repeat(2, 1fr); }
  .products{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }

  .cap-grid{ grid-template-columns: 1fr; }
  .spec-grid{ grid-template-columns: 1fr; }

  .brand-badge{
    width: 132px;
    height: auto;
    background-size: contain;
  }
  .brand-tagline{
    font-size: 12px;
  }

  .hero-ehive{ padding-top: 16px; }
  .hero-ehive{
    --hero-text-top: 72px;
    --hero-headline-offset: -12px;
    --hero-copy-shift-x: -4px;
    --hero-copy-shift-y: 0px;
    --hero-content-shift-x: 0px;
    --hero-bg-shift-x: 0%;
  }
  .hero-ehive-pin{
    position: relative;
    top: 0;
  }
  .hero-ehive-headline{
    font-size: clamp(24px, 8vw, 34px);
    line-height: 1.08;
    max-width: 100%;
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 10px;
  }
  .hero-ehive-frame{
    --hero-frame-pad-top: 0px;
    --hero-frame-pad-bottom: 20px;
    overflow: visible;
  }
  .hero-ehive-bg{
    width: 100%;
    max-width: 100%;
    opacity: 1;
    transform: none;
    max-height: none;
  }
  .hero-ehive-content{
    position: relative;
    inset: auto;
    padding: 10px 0 0;
    overflow: visible;
    isolation: auto;
  }
  .hero-ehive-content::before{
    display: none;
  }
  .hero-ehive-pretext{
    max-width: 100%;
    transform: none;
  }
  .hero-ehive-pretext-content{
    padding: 10px 11px;
    border-radius: 10px;
  }
  .hero-ehive-kicker{
    margin-bottom: 6px;
    font-size: 10px;
  }
  .hero-ehive-pretext-title{
    font-size: clamp(18px, 5.8vw, 24px);
    margin-bottom: 8px;
  }
  .hero-ehive-pretext-sub{
    font-size: 14px;
  }
  .hero-ehive-grid{ gap: 18px; }
  .hero-ehive-copy{
    margin-left: 0;
    grid-column: 1 / -1;
  }
  .hero-ehive-copy-inner{
    transform: translateY(6px) !important;
    top: var(--hero-pretext-offset, var(--hero-text-top)) !important;
  }
  .hero-ehive h1,
  .hero-ehive-pretext--title{
    font-size: clamp(20px, 6.2vw, 28px);
  }
  .hero-ehive .lead{
    font-size: 15px;
    margin-bottom: 20px;
  }
  .hero-ehive .cta-row .btn{
    width: 100%;
    justify-content: center;
  }
  .micro-specs{
    gap: 8px;
  }
  .micro-specs span{
    width: 100%;
    text-align: center;
  }

  .shop-title{
    flex-direction: column;
    align-items: flex-start;
  }
  .shop-cart{
    align-self: flex-end;
    margin-top: 8px;
  }

  .products[data-layout="split"] .pro{
    grid-template-columns: 1fr;
  }
  .products[data-layout="split"] .pro img{
    max-width: 100%;
  }
  .products[data-layout="split"] .paypal-slot,
  .products[data-layout="split"] .row{
    grid-column: 1 / -1;
  }

  .logo-row{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .logo-item{
    padding: 10px 10px;
  }
  .logo-item-name{
    font-size: 12px;
  }
  .logo-item-icon{
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 9px;
  }
  .logo-item-icon svg{
    width: 16px;
    height: 16px;
  }
  .logo-item img{
    height: 30px;
    max-width: 120px;
  }

  .story-live{
    flex-direction: column;
    align-items: flex-start;
  }

  body.debug-on .debug-panel,
  body.debug-on .debug-header{
    display: block !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; }
  .reveal-up{ opacity: 1; transform: none; }
}









































.preorder-card{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
}

.preorder-card .note{
  margin: 0;
}

.cart-btn,
.shop-cart{
  border: none;
  background: transparent;
  padding: 8px;
}
.cart-btn .icon,
.shop-cart .icon{
  width: 24px;
  height: 24px;
}
