/* =========================================================
   ENESWISS — Energie für die Schweiz
   Standalone stylesheet (converted from Eneswiss.dc.html)
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --accent: #D4160E;
  --radius: 28px;
  --maxw: 1280px;
  --pad: 40px;

  /* light theme (default) */
  --bg: #e7e7e7;
  --surface: #ffffff;
  --ink: #2d2d2d;
  --ink-soft: #343434;
  --muted: #828282;
  --muted-2: #9a9a9a;
  --line: #e2e2e2;
  --placeholder: #d5d5d5;
  --footer-bg: #1a1a1a;
  --glow: transparent;
  --glow-2: transparent;
  --footer-glow: radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent) 0%, transparent 68%);
  --texture-display: block;
}

:root[data-theme="dark"] {
  --bg: #161311;
  --surface: #211d18;
  --ink: #f4efe6;
  --ink-soft: #d6cebf;
  --muted: #9b9387;
  --muted-2: #8a8276;
  --line: rgba(255,255,255,.10);
  --placeholder: #46403a;
  --footer-bg: #0e0c0a;
  --glow: radial-gradient(120% 90% at 14% 8%, rgba(218,168,72,.20) 0%, rgba(218,168,72,0) 55%);
  --glow-2: radial-gradient(110% 90% at 88% 14%, rgba(218,168,72,.16) 0%, rgba(218,168,72,0) 52%);
  --footer-glow: radial-gradient(circle, rgba(218,168,72,.30) 0%, rgba(218,168,72,0) 68%);
  --texture-display: none;
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: #161311; scroll-behavior: smooth; }
body {
  background: var(--bg);
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-soft);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
::selection { background: var(--accent); color: #fff; }

.container {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.center { text-align: center; }

/* ---------- Brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.brand__mark { flex: none; }
.mark-accent { fill: var(--accent); }
.brand__text { line-height: 1; }
.brand__name {
  display: block;
  font: 600 24px 'Work Sans', sans-serif;
  color: #fff;
  letter-spacing: -.02em;
}
.brand__name--lg { font-size: 28px; }
.brand__tag {
  display: block;
  font: 400 8.5px 'Lato', sans-serif;
  color: rgba(255,255,255,.72);
  letter-spacing: .24em;
  margin-top: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 100px;
  text-decoration: none;
  font: 400 15px 'Lato', sans-serif;
  letter-spacing: .03em;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
}
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  transition: transform .18s ease;
}
.btn__icon svg { width: 12px; height: 12px; }
.btn__icon path { stroke: currentColor; }
.btn__icon--sm { width: 38px; height: 38px; }
.btn__icon--sm svg { width: 11px; height: 11px; }

/* white pill, red icon */
.btn--pill-white { background: #fff; color: #292929; padding: 8px 8px 8px 32px; }
.btn--pill-white .btn__icon { background: var(--accent); color: #fff; }
.btn--pill-white:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.btn--pill-white:hover .btn__icon { transform: translateX(3px); }

/* accent pill, white icon */
.btn--pill-accent { background: var(--accent); color: #fff; padding: 8px 8px 8px 34px; }
.btn--pill-accent .btn__icon { background: #fff; color: var(--accent); }
.btn--pill-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn--pill-accent:hover .btn__icon { transform: translateX(3px); }

/* outlined pill on light (used in glass card) */
.btn--pill-outline { background: #fff; border: 1px solid #919191; color: #404040; padding: 8px 8px 8px 28px; justify-content: space-between; }
.btn--pill-outline .btn__icon { background: var(--accent); color: #fff; }
.btn--pill-outline:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.btn--pill-outline:hover .btn__icon { transform: translateX(3px); }

/* outline on dark backgrounds */
.btn--outline-white { border: 1px solid #fff; color: #fff; padding: 18px 44px; }
.btn--outline-white:hover { background: rgba(255,255,255,.12); }

.nav__cta { padding: 7px 7px 7px 28px; gap: 12px; color: #333; }

/* ---------- Shared section bits ---------- */
.eyebrow {
  font: 400 13px 'Lato', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head h2,
.partners h2,
.energiewende h2,
.epc h2,
.cta h2,
.newsletter h2 {
  font: 400 54px/0.98 'Work Sans', sans-serif;
  letter-spacing: -.04em;
  color: var(--ink);
}
.section-head h2 strong, .partners h2 strong, .energiewende h2 strong,
.epc h2 strong, .cta h2 strong, .newsletter h2 strong { font-weight: 600; }
.section-head p {
  font: 400 18px/1.6 'Lato', sans-serif;
  color: var(--ink-soft);
  margin-top: 24px;
}
.section-lead {
  font: 400 18px/1.6 'Lato', sans-serif;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 24px auto 0;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.acc-stroke path, .acc-stroke circle, .acc-stroke rect { stroke: var(--accent); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 880px;
  padding-bottom: 120px;
  isolation: isolate;
  overflow: hidden;
}
/* parallax wrapper holding the fallback image + both videos */
.hero__media {
  position: absolute; top: -15%; left: 0; width: 100%; height: 130%; z-index: -3;
  will-change: transform;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../images/hero.webp") center/cover no-repeat,
              linear-gradient(135deg, #2c2722 0%, #18140f 60%, #221b14 100%);
}
/* background videos — anchored top-left + scaled so the bottom-right
   KlingAI watermark is cropped outside the frame */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: left top;
  transform: scale(var(--vid-scale, 1.1));
  transform-origin: left top;
}
.hero__video--night { display: none; }
:root[data-theme="dark"] .hero__video--day { display: none; }
:root[data-theme="dark"] .hero__video--night { display: block; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,.30) 45%, rgba(20,20,20,.45) 100%);
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background: var(--glow);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 50;
  --nav-pb: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--nav-pb) 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 38px;
  font: 400 15px 'Lato', sans-serif;
  letter-spacing: .04em;
  color: #fff;
}
.nav__links > a, .nav__droplink { text-decoration: none; position: relative; transition: opacity .18s ease; }
.nav__links > a::after, .nav__droplink::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width .22s ease;
}
.nav__links > a:hover::after, .has-dropdown:hover .nav__droplink::after { width: 100%; }

/* B2B Shop dropdown trigger — static so the mega positions against the full-width .nav */
.nav__item { position: static; }
.nav__droplink {
  display: inline-flex; align-items: center; gap: 7px;
  color: #fff; cursor: pointer;
}
.nav__chev { transition: transform .3s ease; }
.has-dropdown:hover .nav__chev { transform: rotate(180deg); }
/* invisible bridge under the trigger so moving down to the full-width panel doesn't close it (desktop only) */
@media (min-width: 901px) {
  .nav__droplink::before { content: ""; position: absolute; top: 100%; left: -16px; right: -16px; height: 44px; }
}

/* Mega menu — spans the full navigation width on desktop */
.mega {
  position: absolute; top: calc(100% - var(--nav-pb)); left: 0; right: 0;
  width: auto; max-width: none;
  padding-top: calc(var(--nav-pb) + 8px); z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s ease, transform .34s cubic-bezier(.2,.8,.2,1), visibility .3s;
  pointer-events: none;
}
.has-dropdown:hover .mega, .has-dropdown.open .mega {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.mega__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 36px 80px rgba(0,0,0,.30);
  padding: 24px 28px;
}
.mega__head {
  font: 600 11px 'Lato', sans-serif; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-2); padding: 2px 8px 16px;
}
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 22px; }
.mega__link {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 13px; border-radius: 15px;
  text-decoration: none; transition: background .2s ease, transform .2s ease;
}
.mega__link:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); transform: translateX(2px); }
.mega__ic {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  transition: background .2s ease, transform .25s ease;
}
.mega__ic svg { width: 21px; height: 21px; }
.mega__link:hover .mega__ic { background: var(--accent); color: #fff; transform: scale(1.06); }
.mega__txt { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.mega__txt strong { font: 600 14.5px 'Work Sans', sans-serif; color: var(--ink); letter-spacing: -.01em; }
.mega__txt em { font: 400 12px 'Lato', sans-serif; font-style: normal; color: var(--muted); }
.mega__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; padding: 16px 16px; border-radius: 16px;
  background: var(--accent); color: #fff; text-decoration: none;
  font: 600 14px 'Lato', sans-serif; letter-spacing: .01em;
  transition: filter .2s ease;
}
.mega__foot:hover { filter: brightness(1.06); }
.mega__foot:hover .mega__foot-arr { transform: translateX(4px); }
.mega__foot-arr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.18);
  transition: transform .25s ease;
}
.mega__foot-arr svg { width: 12px; height: 12px; color: #fff; }
/* compact "Alle Produkte" CTA occupying the empty 9th grid cell */
.mega__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 13px 12px 16px; border-radius: 15px;
  background: var(--accent); color: #fff; text-decoration: none;
  font: 600 14.5px 'Work Sans', sans-serif; letter-spacing: -.01em; line-height: 1.15;
  transition: filter .2s ease, transform .2s ease;
}
.mega__cta:hover { filter: brightness(1.07); transform: translateX(2px); }
.mega__cta-arr {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.2);
  transition: transform .25s ease;
}
.mega__cta:hover .mega__cta-arr { transform: translateX(3px); }
.mega__cta-arr svg { width: 12px; height: 12px; color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 16px; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.4);
  cursor: pointer; padding: 0;
  transition: background .2s ease;
}
.theme-toggle:hover { background: rgba(255,255,255,.22); }
.icon-sun { display: none; }
.icon-moon { display: block; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.4);
  cursor: pointer;
}
.hamburger span {
  display: block; width: 20px; height: 2px; margin: 0 auto;
  background: #fff; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero__content { padding-top: 150px; max-width: 660px; }
.hero__content h1 {
  font: 600 72px/0.98 'Work Sans', sans-serif;
  letter-spacing: -.035em;
  color: #fff;
}
.hero__content p {
  font: 400 18px/1.7 'Lato', sans-serif;
  color: #fff;
  margin-top: 38px;
  max-width: 560px;
}
.hero__actions { display: flex; align-items: center; gap: 18px; margin-top: 54px; flex-wrap: wrap; }

.hero__aside {
  position: absolute;
  bottom: 64px;
  right: max(40px, calc(50% - 600px));
  display: flex;
  gap: 18px;
  align-items: flex-end;
}
.glass-card {
  position: relative;
  width: 380px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 26px;
  padding: 34px 34px 30px;
}
.glass-card__badge {
  position: absolute; top: 22px; right: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.85);
}
.glass-card__badge--sm { width: 40px; height: 40px; top: 18px; right: 18px; }
.glass-card__title { font: 400 32px 'Work Sans', sans-serif; letter-spacing: -.04em; color: #fff; }
.glass-card__title--sm { font-size: 28px; }
.glass-card p { font: 400 16px/1.6 'Lato', sans-serif; color: #fff; margin-top: 14px; max-width: 300px; }
.glass-card .btn { margin-top: 26px; width: 100%; }

.hero__icons { display: flex; flex-direction: column; gap: 14px; }
.round-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 50%; background: #fff;
}

/* =========================================================
   FEATURES
   ========================================================= */
.features {
  position: relative;
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
  margin-top: -40px;
  padding: 80px 0 96px;
}
.features__glow {
  position: absolute; inset: 0;
  background: var(--glow);
  border-radius: 0 0 var(--radius) var(--radius);
  pointer-events: none;
}
.pill-badge {
  display: inline-flex; align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  border-radius: 30px;
  padding: 14px 34px;
  font: 400 15px 'Lato', sans-serif;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-top: -118px;
  margin-bottom: 64px;
}
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { padding: 0 36px; border-left: 1px solid var(--line); }
.feature:first-child { padding-left: 0; border-left: none; }
.feature:last-child { padding-right: 0; }
.feature .icon { margin-bottom: 22px; }
.feature h3 {
  font: 600 22px 'Work Sans', sans-serif;
  letter-spacing: -.03em; color: var(--ink); margin-bottom: 14px;
}
.feature p { font: 400 16px/1.5 'Lato', sans-serif; color: var(--muted); }

/* =========================================================
   PRODUCTS
   ========================================================= */
.products { position: relative; background: var(--bg); padding: 110px 0; }
.products__glow { position: absolute; inset: 0; background: var(--glow-2); pointer-events: none; }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 42px 44px;
  min-height: 188px;
  box-shadow: 0 6px 26px rgba(0,0,0,.04);
  transition: transform .28s ease, box-shadow .3s ease, background .4s ease;
}
.product-card:hover {
  background: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 22px 48px color-mix(in srgb, var(--accent) 40%, transparent);
}
.product-card .icon { margin-bottom: 22px; }
.product-card h3 {
  font: 600 28px 'Work Sans', sans-serif;
  letter-spacing: -.04em; color: var(--ink); margin-bottom: 14px;
  transition: color .3s ease;
}
.product-card p { font: 400 17px/1.5 'Lato', sans-serif; color: var(--muted); transition: color .3s ease; }
.product-card:hover h3 { color: #fff; }
.product-card:hover p { color: rgba(255,255,255,.92); }

/* product icons — accent by default, white on hover */
.pi path, .pi circle, .pi rect, .pi line, .pi polyline, .pi polygon { stroke: currentColor; }
.product-card .pi { color: var(--accent); transition: color .3s ease; }
.product-card:hover .pi { color: #fff; }
.pi-rays, .pi-blades, .pi-pop-el { transform-box: view-box; transform-origin: 12px 12px; }

@keyframes pi-spin { to { transform: rotate(360deg); } }
@keyframes pi-wave { from { transform: translateX(1.6px); } to { transform: translateX(-1.6px); } }
@keyframes pi-rise { 0% { opacity: .2; transform: translateY(3px); } 50% { opacity: 1; } 100% { opacity: .2; transform: translateY(-4px); } }
@keyframes pi-blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes pi-charge { 0%, 100% { opacity: .4; transform: scale(.88); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes pi-flick { 0%, 100% { opacity: 1; } 20% { opacity: .35; } 40% { opacity: 1; } 62% { opacity: .5; } 82% { opacity: 1; } }
@keyframes pi-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

@media (prefers-reduced-motion: no-preference) {
  .product-card:hover .pi--sun .pi-rays { animation: pi-spin 6s linear infinite; }
  .product-card:hover .pi--wind .pi-blades { animation: pi-spin 2.2s linear infinite; }
  .product-card:hover .pi--inv .pi-wave-el { animation: pi-wave .7s ease-in-out infinite alternate; }
  .product-card:hover .pi--bat .pi-bolt { animation: pi-charge 1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .product-card:hover .pi--heat .w1 { animation: pi-rise 1.3s ease-in-out infinite; }
  .product-card:hover .pi--heat .w2 { animation: pi-rise 1.3s ease-in-out .18s infinite; }
  .product-card:hover .pi--heat .w3 { animation: pi-rise 1.3s ease-in-out .36s infinite; }
  .product-card:hover .pi--fac .g1 { animation: pi-blink 1.2s ease-in-out infinite; }
  .product-card:hover .pi--fac .g2 { animation: pi-blink 1.2s ease-in-out .2s infinite; }
  .product-card:hover .pi--fac .g3 { animation: pi-blink 1.2s ease-in-out .4s infinite; }
  .product-card:hover .pi--car .pi-pop-el { animation: pi-pop 1.4s ease-in-out infinite; }
  .product-card:hover .pi--bolt .pi-flick-el { animation: pi-flick 1.1s steps(1, end) infinite; }
  .product-card:hover .pi--emob .pi-charge-el { animation: pi-charge 1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
}

/* =========================================================
   EPC
   ========================================================= */
.epc { background: var(--surface); border-radius: var(--radius); padding: 96px 0; }
.epc__media { position: relative; }
.epc__image {
  border-radius: 34px; overflow: hidden; height: 420px;
  box-shadow: 0 0 0 1px var(--line);
  background: url("../images/epc.webp") center/cover no-repeat,
              linear-gradient(135deg, #3a3631 0%, #211d18 100%);
}
.epc__overlay-card {
  position: absolute; left: 20px; bottom: -30px; width: 78%;
  background: rgba(35,35,35,.32);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 24px; padding: 26px 30px;
}
.epc__overlay-card p { font: 400 15px/1.5 'Lato', sans-serif; color: #fff; margin-top: 10px; max-width: 330px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tag {
  border: 1px solid var(--ink-soft);
  border-radius: 100px; padding: 9px 22px;
  font: 400 12px 'Lato', sans-serif; letter-spacing: .04em; color: var(--ink-soft);
}
.epc__body > p {
  font: 400 17px/1.65 'Lato', sans-serif;
  color: var(--ink-soft); margin-top: 26px;
}
.epc__body .btn { margin-top: 32px; }

/* =========================================================
   PARTNERS
   ========================================================= */
.partners { background: var(--bg); padding: 104px 0; }
.logo-track {
  display: flex; align-items: center;
  gap: 22px; margin: 60px 0 44px;
  overflow-x: auto; scroll-behavior: smooth;
  padding: 6px 2px 16px;
  scrollbar-width: none;
}
.logo-track::-webkit-scrollbar { display: none; }
.logo {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 190px; height: 106px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.logo:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,.13); }
.logo img {
  max-width: 132px; max-height: 46px;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; }
.dot-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); border: none; cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.dot-btn svg { width: 12px; height: 12px; }
.dot-btn:hover { transform: scale(1.08); filter: brightness(1.08); }

/* =========================================================
   ENERGIEWENDE
   ========================================================= */
.energiewende { position: relative; background: var(--surface); border-radius: var(--radius); padding: 96px 0; }
.energiewende__glow { position: absolute; inset: 0; background: var(--glow-2); border-radius: var(--radius); pointer-events: none; }
.energiewende__body > p { font: 400 17px/1.65 'Lato', sans-serif; color: var(--ink-soft); margin-top: 26px; }
.energiewende__body .btn { margin-top: 32px; }
.energiewende__media {
  position: relative; border-radius: 34px; overflow: hidden; height: 440px;
  background: url("../images/partner.webp") center/cover no-repeat,
              linear-gradient(135deg, #3a3631 0%, #1f1b17 100%);
}
.energiewende__brand {
  position: absolute; left: 32px; bottom: 32px;
  display: flex; align-items: center; gap: 11px;
}
.energiewende__brand span { font: 600 26px 'Work Sans', sans-serif; color: #fff; letter-spacing: -.02em; }

/* =========================================================
   CTA
   ========================================================= */
.cta { background: var(--bg); position: relative; min-height: 480px; display: flex; align-items: stretch; }
.cta__image {
  position: absolute; inset: 0;
  background: url("../images/cta.webp") center/cover no-repeat,
              linear-gradient(135deg, #2c2722 0%, #1a1611 100%);
}
.cta__panel {
  position: relative;
  margin-left: auto; width: 64%;
  background: var(--accent);
  border-radius: 116px 0 0 400px;
  padding: 96px 120px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.cta__panel h2 { color: #fff; }
.cta__panel p { font: 400 17px/1.65 'Lato', sans-serif; color: #fff; margin-top: 24px; max-width: 620px; }
.cta__actions { display: flex; align-items: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.cta__panel .btn--pill-white { color: #3b3b3b; }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter { position: relative; background: var(--bg); padding: 104px 0 120px; }
.newsletter__glow { position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.newsletter__form {
  display: flex; align-items: center; gap: 14px;
  max-width: 560px; margin: 48px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 8px 8px 30px;
}
.newsletter__form input {
  flex: 1; border: none; background: transparent; outline: none;
  font: 400 15px 'Lato', sans-serif; letter-spacing: .03em; color: var(--ink-soft);
}
.newsletter__form input::placeholder { color: var(--muted); }
.newsletter__form .btn { padding: 7px 7px 7px 28px; gap: 12px; flex: none; }
.newsletter__note { margin-top: 18px; color: var(--accent); font: 700 15px 'Lato', sans-serif; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; background: var(--footer-bg); overflow: hidden; }
.footer__glow {
  position: absolute; top: -260px; right: -180px;
  width: 620px; height: 620px; border-radius: 50%;
  background: var(--footer-glow); pointer-events: none;
}
.footer .container { position: relative; }
.footer__top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 48px;
  padding: 84px 0 56px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand { max-width: 420px; }
.footer__brand p { font: 400 16px/1.7 'Lato', sans-serif; color: rgba(255,255,255,.6); margin-top: 24px; }
.footer__social { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.footer__social-label {
  font: 400 12px 'Lato', sans-serif; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.social { display: flex; gap: 12px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  text-decoration: none; transition: all .2s ease;
}
.social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

.footer__cols {
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 48px;
  padding: 56px 0 64px;
}
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col-title {
  font: 600 13px 'Lato', sans-serif; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.footer__col a {
  color: rgba(255,255,255,.66); text-decoration: none;
  font: 400 16px 'Lato', sans-serif; transition: color .18s ease; width: fit-content;
}
.footer__col a:hover { color: #fff; }
.footer__col--contact { gap: 16px; }
.contact-line {
  display: flex; gap: 12px; align-items: flex-start;
  font: 400 16px/1.5 'Lato', sans-serif; color: rgba(255,255,255,.66);
  text-decoration: none; transition: color .18s ease; width: fit-content;
}
a.contact-line:hover { color: #fff; }
.contact-line svg { flex: none; margin-top: 2px; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0 40px; border-top: 1px solid rgba(255,255,255,.1);
  font: 400 14px 'Lato', sans-serif; color: rgba(255,255,255,.45);
}
.footer__legal { display: flex; gap: 28px; }
.footer__legal a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .18s ease; }
.footer__legal a:hover { color: #fff; }

/* =========================================================
   SERVICES FÜR GESCHÄFTSPARTNER
   ========================================================= */
.services { background: var(--bg); padding: 104px 0; }
.services .eyebrow { text-align: left; }
.services__title {
  font-family: 'Work Sans', sans-serif; font-weight: 400;
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1; letter-spacing: -.04em;
  color: var(--ink);
}
.services__title strong { font-weight: 600; }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 44px 30px; margin-top: 54px;
}
.service__img {
  height: 244px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, var(--placeholder), var(--muted-2));
  box-shadow: 0 8px 26px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service:hover .service__img { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(0,0,0,.14); }
.service:hover .service__img img { transform: scale(1.03); }
.service__img img { transition: transform .4s ease; }
.service h3 {
  font: 600 20px 'Work Sans', sans-serif; letter-spacing: -.02em;
  color: var(--ink); margin: 24px 0 12px;
}
.service p { font: 400 16px/1.65 'Lato', sans-serif; color: var(--muted); }

@media (max-width: 1024px) { .services__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; } }
@media (max-width: 640px)  { .services__grid { grid-template-columns: 1fr; gap: 36px; } .services { padding: 72px 0; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .hero__aside { position: static; margin: 56px auto 0; justify-content: center; right: auto; bottom: auto; }
  .hero { min-height: 0; padding-bottom: 80px; }
  .hero__content { padding-top: 90px; }
}

@media (max-width: 1024px) {
  :root { --pad: 28px; }
  .section-head h2, .partners h2, .energiewende h2, .epc h2, .cta h2, .newsletter h2 { font-size: 44px; }
  .hero__content h1 { font-size: 58px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .feature { padding: 0 32px; }
  .feature:nth-child(odd) { padding-left: 0; border-left: none; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 48px; }
  .cta__panel { padding: 72px 64px; border-radius: 90px 0 0 260px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .hamburger { display: flex; }

  /* mobile menu */
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 88px; left: var(--pad); right: var(--pad);
    max-height: calc(100vh - 120px); overflow-y: auto;
    background: rgba(20,18,16,.96);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px; padding: 12px; z-index: 40;
  }
  .nav__item { width: 100%; }
  .nav__links.is-open > a,
  .nav__links.is-open .nav__droplink {
    width: 100%; padding: 15px 16px; border-radius: 12px; font-size: 17px; color: #fff;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav__links.is-open > a:hover,
  .nav__links.is-open .nav__droplink:hover { background: rgba(255,255,255,.08); }
  .nav__links.is-open > a::after,
  .nav__links.is-open .nav__droplink::after { display: none; }

  /* dropdown → accordion */
  .mega,
  .has-dropdown:hover .mega {
    position: static; width: 100%; max-width: none; padding-top: 2px;
    opacity: 1; visibility: hidden; transform: none; pointer-events: none;
    max-height: 0; overflow: hidden;
    transition: max-height .42s ease, visibility .42s;
  }
  .has-dropdown.open .mega { visibility: visible; pointer-events: auto; max-height: 1100px; }
  .mega__card { background: transparent; border: none; box-shadow: none; padding: 4px 2px 8px; border-radius: 0; }
  .mega__head { display: none; }
  .mega__grid { grid-template-columns: 1fr; gap: 0; }
  .mega__link { padding: 13px 14px; }
  .mega__txt strong { color: #fff; }
  .mega__txt em { color: rgba(255,255,255,.5); }
  .mega__link:hover { background: rgba(255,255,255,.06); transform: none; }
  .mega__foot { margin-top: 8px; }
  .has-dropdown:hover .nav__chev { transform: none; }
  .has-dropdown.open .nav__chev { transform: rotate(180deg); }

  .split { grid-template-columns: 1fr; gap: 56px; }
  .epc__media { order: -1; }
  .epc__overlay-card { width: 70%; }
  .cta { min-height: 0; }
  .cta__image { position: relative; height: 220px; inset: auto; width: 100%; }
  .cta__panel { width: 100%; margin: 0; border-radius: 0; padding: 64px 40px; }
}

@media (max-width: 640px) {
  :root { --pad: 20px; }
  .nav { padding: 22px 0; }
  .hero__content { padding-top: 64px; }
  .hero__content h1 { font-size: 42px; }
  .hero__content p { font-size: 16px; margin-top: 24px; }
  .hero__actions { gap: 12px; margin-top: 36px; }
  .btn--outline-white { padding: 15px 32px; }

  .section-head h2, .partners h2, .energiewende h2, .epc h2, .cta h2, .newsletter h2 { font-size: 34px; }
  .section-head p, .section-lead { font-size: 16px; }

  .features { padding: 64px 0 72px; }
  .features__grid { grid-template-columns: 1fr; gap: 34px; }
  .feature, .feature:nth-child(odd) { padding: 0; border-left: none; }
  .pill-badge { margin-top: -96px; padding: 12px 24px; font-size: 14px; }

  .products { padding: 72px 0; }
  .products__grid { grid-template-columns: 1fr; }
  .product-card { padding: 34px 30px; }

  .epc, .energiewende { padding: 64px 0; }
  .epc__image { height: 300px; }
  .epc__overlay-card { position: static; width: 100%; margin-top: 16px; }
  .energiewende__media { height: 320px; }

  .glass-card { width: 100%; }
  .hero__aside { flex-direction: column; align-items: stretch; }
  .hero__icons { flex-direction: row; justify-content: center; }

  .logo { font-size: 40px; }
  .logo-track { gap: 28px; justify-content: flex-start; }

  .cta__panel { padding: 48px 24px; }
  .cta__panel p { font-size: 16px; }

  .newsletter { padding: 72px 0 88px; }
  .newsletter__form { flex-direction: column; gap: 10px; padding: 12px; border-radius: 24px; background: transparent; border: none; }
  .newsletter__form input { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 16px 24px; }
  .newsletter__form .btn { width: 100%; justify-content: center; padding: 12px; }

  .footer__top { flex-direction: column; }
  .footer__social { align-items: flex-start; }
  .footer__cols { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {

  /* --- scroll reveal --- */
  .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
  }
  .reveal.in { opacity: 1; transform: none; }

  .reveal-scale {
    opacity: 0;
    transform: scale(.94);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
  }
  .reveal-scale.in { opacity: 1; transform: none; }

  /* --- hero entrance --- */
  .nav { animation: fadeDown .85s .05s both ease; }
  .hero__content h1 { animation: heroUp 1s .15s both cubic-bezier(.2,.8,.2,1); }
  .hero__content p { animation: heroUp 1s .32s both cubic-bezier(.2,.8,.2,1); }
  .hero__actions { animation: heroUp 1s .48s both cubic-bezier(.2,.8,.2,1); }
  .hero__aside { animation: heroUp 1.1s .62s both cubic-bezier(.2,.8,.2,1); }

  /* --- mega menu item stagger --- */
  .has-dropdown:hover .mega__link,
  .has-dropdown.open .mega__link { animation: megaItem .45s both cubic-bezier(.2,.8,.2,1); }
  .has-dropdown:hover .mega__link:nth-child(1) { animation-delay: .03s; }
  .has-dropdown:hover .mega__link:nth-child(2) { animation-delay: .06s; }
  .has-dropdown:hover .mega__link:nth-child(3) { animation-delay: .09s; }
  .has-dropdown:hover .mega__link:nth-child(4) { animation-delay: .12s; }
  .has-dropdown:hover .mega__link:nth-child(5) { animation-delay: .15s; }
  .has-dropdown:hover .mega__link:nth-child(6) { animation-delay: .18s; }
  .has-dropdown:hover .mega__link:nth-child(7) { animation-delay: .21s; }
  .has-dropdown:hover .mega__link:nth-child(8) { animation-delay: .24s; }
  .has-dropdown:hover .mega__link:nth-child(9) { animation-delay: .27s; }

  /* --- ambient glow pulse --- */
  .footer__glow { animation: glowPulse 9s ease-in-out infinite; }
}

@keyframes heroUp { from { opacity: 0; transform: translateY(38px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes megaItem { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes glowPulse { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }

/* hover micro-interaction on section images */
.epc__image, .energiewende__media { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.epc__media:hover .epc__image, .energiewende__media:hover { transform: translateY(-6px); }

/* link arrow nudges already handled; add nav cta lift */
.nav__cta:hover { transform: translateY(-2px); }

/* =========================================================
   CURSOR  —  red/gold dot + subtle lightning trail
   (red in light mode, golden in dark mode)
   ========================================================= */
:root { --cursor-color: #d61a12; }
:root[data-theme="dark"] { --cursor-color: #e8b456; }

/* hide the native cursor only when the custom one is active */
html.cursor-custom, html.cursor-custom * { cursor: none !important; }

/* the dot = the mouse */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 10000;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--cursor-color);
  box-shadow: 0 0 8px var(--cursor-color);
  pointer-events: none; opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity .3s ease, width .2s ease, height .2s ease,
              margin .2s ease, background .2s ease, border-color .2s ease;
}
.cursor-dot.is-active { opacity: 1; }
/* grows into a ring over clickable elements */
.cursor-dot.is-hover {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  background: transparent;
  border: 2px solid var(--cursor-color);
  box-shadow: none;
}

/* tiny lightning bolts trailing behind the moving cursor */
.cursor-sparks { position: fixed; inset: 0; z-index: 9998; pointer-events: none; }
.cursor-spark {
  position: fixed; width: 11px; height: 11px;
  color: var(--cursor-color);
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  animation: spark-fade .62s ease-out forwards;
}
.cursor-spark svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 2px var(--cursor-color)); }
@keyframes spark-fade {
  0%   { opacity: 0;   transform: translate(-50%, -50%) scale(.85) rotate(var(--r, 0deg)); }
  22%  { opacity: .8;  transform: translate(-50%, -50%) scale(1)   rotate(var(--r, 0deg)); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(.45) rotate(var(--r, 0deg)) translateY(9px); }
}

/* disable on touch devices / reduced motion */
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-sparks { display: none; } }
@media (prefers-reduced-motion: reduce) { .cursor-dot, .cursor-sparks { display: none; } }

/* =========================================================
   SOLAR-RECHNER MODAL
   ========================================================= */
.calc-overlay {
  position: fixed; inset: 0; z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(12,9,7,.62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.calc-overlay.is-open { opacity: 1; visibility: visible; }

.calc {
  position: relative;
  width: 100%; max-width: 640px; max-height: 92vh;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
  overflow: hidden;
  transform: translateY(18px) scale(.98);
  transition: transform .34s cubic-bezier(.2,.8,.2,1);
}
.calc-overlay.is-open .calc { transform: none; }

.calc__close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--ink); border: none; cursor: pointer;
  transition: background .2s ease;
}
.calc__close:hover { background: color-mix(in srgb, var(--ink) 16%, transparent); }
.calc__close svg { width: 18px; height: 18px; }

.calc__head { padding: 34px 36px 20px; border-bottom: 1px solid var(--line); }
.calc__head h3 { font: 600 27px 'Work Sans', sans-serif; letter-spacing: -.03em; color: var(--ink); margin-top: 4px; }
.calc__progress { display: flex; gap: 8px; margin-top: 18px; }
.calc__pdot { width: 30px; height: 5px; border-radius: 3px; background: var(--line); transition: background .3s ease; }
.calc__pdot.is-active { background: var(--accent); }

.calc__body { padding: 26px 36px; overflow-y: auto; }
.calc__panel { display: none; animation: calcFade .35s ease both; }
.calc__panel.is-active { display: block; }
@keyframes calcFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.calc__q {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font: 600 14px 'Lato', sans-serif; color: var(--ink);
  margin: 22px 0 12px;
}
.calc__q:first-child { margin-top: 0; }
.calc__q output { font: 700 15px 'Work Sans', sans-serif; color: var(--accent); }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__opt {
  flex: 1 1 auto; min-width: fit-content;
  padding: 11px 16px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line);
  font: 400 14px 'Lato', sans-serif; color: var(--ink-soft);
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.seg__opt:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.seg__opt.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }

.calc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--line); outline: none; margin: 4px 0 6px; }
.calc__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 4px solid var(--surface); box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: pointer; }
.calc__range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 4px solid var(--surface); box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: pointer; }

/* result */
.calc__result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.kpi { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 18px 14px; text-align: center; }
.kpi__val { display: block; font: 600 24px 'Work Sans', sans-serif; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.kpi__lbl { display: block; font: 400 12px 'Lato', sans-serif; color: var(--muted); margin-top: 6px; }
.kpi--accent { background: var(--accent); border-color: var(--accent); }
.kpi--accent .kpi__val { color: #fff; }
.kpi--accent .kpi__lbl { color: rgba(255,255,255,.85); }

.calc__hint { font: 600 14px 'Lato', sans-serif; color: var(--ink); margin-bottom: 14px; }
.calc__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc__fields input {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line);
  font: 400 14px 'Lato', sans-serif; color: var(--ink); outline: none;
  transition: border-color .18s ease;
}
.calc__fields input:focus { border-color: var(--accent); }
.calc__fields input::placeholder { color: var(--muted); }
.calc__consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font: 400 12.5px/1.5 'Lato', sans-serif; color: var(--muted); cursor: pointer; }
.calc__consent input { margin-top: 2px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.calc__disclaimer { font: 400 12px/1.5 'Lato', sans-serif; color: var(--muted); margin-top: 16px; }

/* success */
.calc__done { text-align: center; padding: 20px 0 8px; }
.calc__check { width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.calc__check svg { width: 36px; height: 36px; }
.calc__done h4 { font: 600 24px 'Work Sans', sans-serif; letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px; }
.calc__done p { font: 400 16px/1.6 'Lato', sans-serif; color: var(--muted); max-width: 380px; margin: 0 auto; }

.calc__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 36px 26px; border-top: 1px solid var(--line); }
.calc__back { background: none; border: none; cursor: pointer; font: 400 15px 'Lato', sans-serif; color: var(--muted); padding: 8px 4px; transition: color .18s ease; }
.calc__back:hover { color: var(--ink); }
.calc__foot .btn { margin-left: auto; }

@media (max-width: 560px) {
  .calc__head { padding: 30px 24px 18px; }
  .calc__head h3 { font-size: 22px; }
  .calc__body { padding: 22px 24px; }
  .calc__foot { padding: 18px 24px 22px; }
  .calc__result { grid-template-columns: repeat(2, 1fr); }
  .calc__fields { grid-template-columns: 1fr; }
  .seg__opt { flex: 1 1 40%; }
}

/* =========================================================
   B2B SHOP — sub-page header, listing, filter, product cards,
   product detail, inquiry modal
   ========================================================= */

/* ---- Solid sub-page header (reuses .nav markup) ---- */
.subhead {
  position: sticky; top: 0; z-index: 100;
  background: var(--footer-bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.subhead .nav { --nav-pb: 15px; }
.subhead .brand__name { font-size: 22px; }
@media (max-width: 900px) {
  .subhead .nav__links.is-open { top: 66px; background: rgba(20,18,16,.98); }
}

/* ---- Shop intro banner ---- */
.shop-hero { background: var(--footer-bg); color: #fff; padding: 54px 0 60px; position: relative; overflow: hidden; }
.shop-hero__glow { position: absolute; inset: 0; background: var(--footer-glow); opacity: .5; pointer-events: none; }
.shop-hero .eyebrow { color: rgba(255,255,255,.55); margin-bottom: 14px; }
.shop-hero h1 { font: 600 46px/1.02 'Work Sans', sans-serif; letter-spacing: -.035em; color: #fff; }
.shop-hero h1 strong { color: var(--accent); font-weight: 600; }
.shop-hero p { font: 400 17px/1.6 'Lato', sans-serif; color: rgba(255,255,255,.72); max-width: 620px; margin-top: 18px; }

/* ---- Filter toolbar ---- */
.shop-body { background: var(--bg); padding: 40px 0 100px; position: relative; }
.shop-body__glow { position: absolute; inset: 0 0 auto; height: 420px; background: var(--glow); pointer-events: none; }
.shop-filter {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 20px; margin-bottom: 34px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  position: sticky; top: 74px; z-index: 40;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.fchip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px;
  background: transparent; border: 1px solid var(--line);
  font: 400 14px 'Lato', sans-serif; color: var(--ink-soft);
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.fchip:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.fchip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.fchip__n { font: 600 12px 'Work Sans', sans-serif; opacity: .7; }
.fchip.is-on .fchip__n { opacity: .9; }
.fchip--soon { color: var(--muted-2); cursor: not-allowed; opacity: .8; }
.fchip--soon:hover { border-color: var(--line); }
.fchip__soon { font: 600 9.5px 'Lato', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 6px; padding: 2px 5px; }

.shop-count { font: 400 14px 'Lato', sans-serif; color: var(--muted); margin: 0 0 22px 4px; }

/* ---- Product grid + cards ---- */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,0,0,.12); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.pcard__imgwrap {
  position: relative; display: block; aspect-ratio: 4 / 3; background: #fff;
  padding: 20px; overflow: hidden;
}
.pcard__imgwrap img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.pcard:hover .pcard__imgwrap img { transform: scale(1.05); }
.pcard__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font: 600 10.5px 'Lato', sans-serif; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(20,18,16,.82); color: #fff; padding: 5px 10px; border-radius: 8px;
}
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pcard__brand { font: 600 11px 'Lato', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.pcard__name {
  font: 600 18px/1.25 'Work Sans', sans-serif; letter-spacing: -.01em; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__sum {
  font: 400 14px/1.55 'Lato', sans-serif; color: var(--muted); margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcard__price { font: 400 13px 'Lato', sans-serif; color: var(--muted-2); }
.pcard__price strong { display: block; font: 600 15px 'Work Sans', sans-serif; color: var(--ink); letter-spacing: -.01em; }
.pcard__cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  font: 400 13.5px 'Lato', sans-serif; padding: 10px 16px; border-radius: 100px;
  text-decoration: none; transition: transform .18s ease, box-shadow .18s ease;
}
.pcard__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 38%, transparent); }
.pcard__cta svg { width: 12px; height: 12px; }
.pcard__cta path { stroke: currentColor; }

.shop-empty { text-align: center; color: var(--muted); font: 400 17px 'Lato', sans-serif; padding: 70px 0; grid-column: 1 / -1; }

/* ---- Breadcrumb ---- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 400 13px 'Lato', sans-serif; color: var(--muted); padding: 22px 0 4px; }
.crumbs a { color: var(--muted); text-decoration: none; transition: color .18s ease; }
.crumbs a:hover { color: var(--accent); }
.crumbs span.sep { opacity: .5; }
.crumbs .cur { color: var(--ink-soft); }

/* ---- Product detail ---- */
.pdetail { background: var(--bg); padding: 8px 0 96px; position: relative; }
.pd-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: start; padding: 26px 0 20px; }

.pd-gallery { position: sticky; top: 92px; }
.pd-main {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  aspect-ratio: 1 / 1; padding: 34px; display: flex; align-items: center; justify-content: center;
}
.pd-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.pd-thumb {
  width: 74px; height: 74px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); padding: 8px; cursor: pointer;
  transition: border-color .18s ease, transform .18s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb:hover { transform: translateY(-2px); }
.pd-thumb.is-on { border-color: var(--accent); }

.pd-info { padding-top: 6px; }
.pd-brand { font: 600 12px 'Lato', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pd-info h1 { font: 600 34px/1.12 'Work Sans', sans-serif; letter-spacing: -.03em; color: var(--ink); margin: 12px 0 16px; }
.pd-cat { display: inline-flex; align-items: center; gap: 7px; font: 400 13px 'Lato', sans-serif; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px; }
.pd-cat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pd-summary { font: 400 16px/1.65 'Lato', sans-serif; color: var(--ink-soft); margin: 22px 0; }
.pd-pricebox { display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-bottom: 22px; }
.pd-pricebox__label { font: 400 13px 'Lato', sans-serif; color: var(--muted); }
.pd-pricebox__val { font: 600 20px 'Work Sans', sans-serif; letter-spacing: -.02em; color: var(--ink); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pd-actions .btn { padding: 8px 8px 8px 30px; }
.btn--ghost {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); color: var(--ink); background: var(--surface);
  border-radius: 100px; padding: 8px 26px; font: 400 15px 'Lato', sans-serif; text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn--ghost svg { width: 17px; height: 17px; }
.btn--ghost svg path { stroke: currentColor; }

/* spec + description */
.pd-section { padding: 40px 0 0; }
.pd-section h2 { font: 600 26px 'Work Sans', sans-serif; letter-spacing: -.02em; color: var(--ink); margin-bottom: 22px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.spec-table td { padding: 14px 22px; font: 400 15px 'Lato', sans-serif; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.spec-table td.k { color: var(--muted); width: 42%; }
.spec-table td.v { color: var(--ink); font-weight: 500; }
.pd-desc { font: 400 16px/1.75 'Lato', sans-serif; color: var(--ink-soft); max-width: 820px; }
.pd-note { font: 400 12.5px/1.6 'Lato', sans-serif; color: var(--muted-2); margin-top: 18px; }

.pd-related { padding: 60px 0 0; }
.pd-related h2 { font: 600 26px 'Work Sans', sans-serif; letter-spacing: -.02em; color: var(--ink); margin-bottom: 26px; }

/* ---- Inquiry modal extras (reuses .calc-overlay/.calc) ---- */
.inq__product {
  margin-top: 12px; font: 600 15px 'Work Sans', sans-serif; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, transparent); border-radius: 10px; padding: 10px 14px;
}
.calc__field-full { margin-top: 12px; }
.inq__msg {
  width: 100%; min-height: 92px; resize: vertical; padding: 13px 16px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line); font: 400 14px/1.5 'Lato', sans-serif;
  color: var(--ink); outline: none; transition: border-color .18s ease;
}
.inq__msg:focus { border-color: var(--accent); }
.inq__msg::placeholder { color: var(--muted); }

/* ---- Shop responsive ---- */
@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-top { grid-template-columns: 1fr; gap: 34px; }
  .pd-gallery { position: static; }
  .pd-main { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .shop-hero { padding: 40px 0 44px; }
  .shop-hero h1 { font-size: 34px; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-filter { top: 62px; padding: 14px; gap: 8px; }
  .fchip { padding: 9px 14px; font-size: 13px; }
  .pd-info h1 { font-size: 27px; }
  .spec-table td { padding: 12px 16px; font-size: 14px; }
  .pd-actions { flex-direction: column; align-items: stretch; }
  .pd-actions .btn, .pd-actions .btn--ghost { justify-content: center; }
}

/* overview product cards are now links */
.product-card { text-decoration: none; }

/* =========================================================
   PARTNER / HERSTELLER PAGE
   ========================================================= */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,0,0,.12); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.partner-card__logo {
  height: 112px; margin-bottom: 22px; padding: 22px;
  background: #fff; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.partner-card__logo img { max-height: 60px; max-width: 82%; object-fit: contain; }
.partner-card h3 { font: 600 20px 'Work Sans', sans-serif; letter-spacing: -.01em; color: var(--ink); margin-bottom: 10px; }
.partner-card p { font: 400 15px/1.62 'Lato', sans-serif; color: var(--muted); }

.partner-cta {
  margin-top: 44px; padding: 34px 40px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.partner-cta p { font: 400 18px 'Work Sans', sans-serif; letter-spacing: -.01em; color: var(--ink); }

@media (max-width: 1024px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  {
  .partner-grid { grid-template-columns: 1fr; }
  .partner-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 28px 24px; }
  .partner-cta .btn { justify-content: center; }
}

/* teaser button under the homepage manufacturer carousel */
.partners__cta { margin-top: 34px; }

/* =========================================================
   DIENSTLEISTUNGEN PAGE — one service per row
   ========================================================= */
.svc-list { display: flex; flex-direction: column; gap: 26px; }
.svc-item {
  display: grid;
  grid-template-columns: 340px minmax(0, 1.5fr) minmax(0, 0.95fr);
  gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 30px;
  transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}
.svc-item:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(0,0,0,.10); border-color: color-mix(in srgb, var(--accent) 26%, var(--line)); }
.svc-item__img { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: #14100e; }
.svc-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.svc-item:hover .svc-item__img img { transform: scale(1.04); }
.svc-item__body h2 { font: 600 25px 'Work Sans', sans-serif; letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px; }
.svc-item__body p { font: 400 15.5px/1.7 'Lato', sans-serif; color: var(--muted); }
.svc-item__benefits {
  align-self: stretch; display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--line); padding-left: 34px;
}
.svc-item__benefits h3 {
  font: 600 12px 'Lato', sans-serif; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 18px;
}
.svc-benefits { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.svc-benefit { display: flex; align-items: flex-start; gap: 12px; }
.svc-benefit__ic {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.svc-benefit__ic svg { width: 12px; height: 12px; }
.svc-benefit span { font: 400 15px/1.42 'Lato', sans-serif; color: var(--ink-soft); }

@media (max-width: 1080px) {
  .svc-item { grid-template-columns: 260px 1fr; row-gap: 26px; }
  .svc-item__benefits {
    grid-column: 1 / -1; border-left: none; padding-left: 0;
    border-top: 1px solid var(--line); padding-top: 24px;
  }
  .svc-benefits { flex-direction: row; flex-wrap: wrap; gap: 14px 30px; }
  .svc-benefit { flex: 1 1 240px; }
}
@media (max-width: 620px) {
  .svc-item { grid-template-columns: 1fr; padding: 22px; gap: 22px; }
  .svc-item__body h2 { font-size: 22px; }
  .svc-benefit { flex: 1 1 100%; }
}

/* =========================================================
   KONTAKT PAGE
   ========================================================= */
.contact-layout { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 30px; align-items: start; }
.contact-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px; }
.contact-panel h2 { font: 600 24px 'Work Sans', sans-serif; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.contact-lead { font: 400 15px/1.6 'Lato', sans-serif; color: var(--muted); margin-bottom: 26px; }

.cform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform .full { grid-column: 1 / -1; }
.cform input, .cform textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line);
  font: 400 14px 'Lato', sans-serif; color: var(--ink); outline: none;
  transition: border-color .18s ease;
}
.cform textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.cform input:focus, .cform textarea:focus { border-color: var(--accent); }
.cform input::placeholder, .cform textarea::placeholder { color: var(--muted); }
.cform__consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; font: 400 12.5px/1.5 'Lato', sans-serif; color: var(--muted); cursor: pointer; }
.cform__consent input { width: 16px; height: 16px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.cform__submit { grid-column: 1 / -1; }
.cform.is-hidden { display: none; }
.cform__done { display: none; text-align: center; padding: 22px 0 8px; }
.cform__done.is-on { display: block; }
.cform__done .calc__check { margin-bottom: 18px; }
.cform__done h3 { font: 600 24px 'Work Sans', sans-serif; letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px; }
.cform__done p { font: 400 16px/1.6 'Lato', sans-serif; color: var(--muted); max-width: 400px; margin: 0 auto; }

.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-side__card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.contact-side__card h3 { font: 600 12px 'Lato', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.contact-row { display: flex; align-items: flex-start; gap: 14px; }
.contact-row + .contact-row { margin-top: 18px; }
.contact-row__ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.contact-row__ic svg { width: 19px; height: 19px; }
.contact-row__t { font: 400 11px 'Lato', sans-serif; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.contact-row a, .contact-row__v { font: 400 15px/1.5 'Lato', sans-serif; color: var(--ink); text-decoration: none; }
.contact-row a:hover { color: var(--accent); }

@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cform { grid-template-columns: 1fr; } .contact-panel { padding: 24px; } }

/* =========================================================
   NAV active state (current page)
   ========================================================= */
.nav__links > a.is-active::after, .nav__droplink.is-active::after { width: 100%; }

/* =========================================================
   ÜBER UNS PAGE
   ========================================================= */
.about-hero { position: relative; overflow: hidden; padding-bottom: 96px; }
.about-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.about-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,16,14,.66) 0%, rgba(18,16,14,.42) 45%, rgba(18,16,14,.60) 100%); }
.about-hero__glow { position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.about-hero .container { position: relative; z-index: 2; }
.about-hero__content { padding-top: 96px; max-width: 780px; }
.crumbs--light { padding: 0 0 22px; }
.crumbs--light a { color: rgba(255,255,255,.72); }
.crumbs--light a:hover { color: #fff; }
.crumbs--light .sep { color: rgba(255,255,255,.5); }
.crumbs--light .cur { color: #fff; }
.about-hero__content h1 { font: 600 68px/1.0 'Work Sans', sans-serif; letter-spacing: -.035em; color: #fff; }
.about-hero__content h1 .accent { color: var(--accent); }
.about-hero__content p { font: 400 18px/1.7 'Lato', sans-serif; color: rgba(255,255,255,.9); margin-top: 30px; max-width: 620px; }

/* shared about section headings */
.about-split__body h2, .about-epc__body h2, .about-values__head h2 {
  font: 400 44px/1.03 'Work Sans', sans-serif; letter-spacing: -.035em; color: var(--ink);
}
.about-split__body h2 strong, .about-epc__body h2 strong, .about-values__head h2 strong { font-weight: 600; }

/* split (image | text) */
.about-split { background: var(--surface); padding: 92px 0; }
.about-epc + .about-values + .about-split--alt, .about-split--alt { background: var(--surface); }
.about-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-split__media { border-radius: 30px; height: 440px; background-size: cover; background-position: center; box-shadow: 0 0 0 1px var(--line); }
.about-split__body p { font: 400 17px/1.7 'Lato', sans-serif; color: var(--ink-soft); margin-top: 22px; }
.about-split__body p + p { margin-top: 16px; }
.about-split--alt .about-split__media { position: relative; }
.about-split__logo { position: absolute; left: 30px; bottom: 30px; display: flex; align-items: center; gap: 12px; }
.about-split__logo .brand__mark { width: 34px; height: 38px; }
.about-split__logo span { font: 600 26px 'Work Sans', sans-serif; color: #fff; letter-spacing: -.02em; }

/* EPC (text + steps | image + card) */
.about-epc { background: var(--surface); padding: 20px 0 100px; }
.about-epc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-epc__body p { font: 400 17px/1.65 'Lato', sans-serif; color: var(--ink-soft); margin-top: 22px; }
.about-epc__steps { margin-top: 30px; }
.about-step { display: flex; gap: 20px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.about-step__n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 16px 'Work Sans', sans-serif; display: flex; align-items: center; justify-content: center; }
.about-step h3 { font: 600 19px 'Work Sans', sans-serif; letter-spacing: -.02em; color: var(--ink); }
.about-step p { font: 400 15px/1.5 'Lato', sans-serif; color: var(--muted); margin-top: 4px; }
.about-epc__media { position: relative; }
.about-epc__img { border-radius: 30px; height: 520px; background-size: cover; background-position: center; box-shadow: 0 0 0 1px var(--line); }
.about-epc__card { position: absolute; left: 24px; bottom: -28px; width: 74%; background: rgba(30,26,22,.55); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border: 1px solid rgba(255,255,255,.35); border-radius: 24px; padding: 24px 30px; }
.about-epc__card-t { font: 400 26px 'Work Sans', sans-serif; letter-spacing: -.03em; color: #fff; }
.about-epc__card p { font: 400 15px/1.5 'Lato', sans-serif; color: rgba(255,255,255,.9); margin-top: 8px; }

/* values (engagement) */
.about-values { background: var(--bg); padding: 100px 0; position: relative; }
.about-values__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.about-values__head p { font: 400 18px/1.6 'Lato', sans-serif; color: var(--ink-soft); margin-top: 22px; }
.about-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-value { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 40px 36px; transition: transform .22s ease, box-shadow .22s ease; }
.about-value:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,0,0,.10); }
.about-value__ic { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); margin-bottom: 24px; }
.about-value__ic svg { width: 28px; height: 28px; }
.about-value h3 { font: 600 23px 'Work Sans', sans-serif; letter-spacing: -.02em; color: var(--ink); margin-bottom: 12px; }
.about-value p { font: 400 16px/1.6 'Lato', sans-serif; color: var(--muted); }

/* about responsive */
@media (max-width: 1024px) {
  .about-hero__content h1 { font-size: 54px; }
  .about-split__body h2, .about-epc__body h2, .about-values__head h2 { font-size: 38px; }
  .about-values__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .about-split__grid, .about-epc__grid { grid-template-columns: 1fr; gap: 40px; }
  .about-epc__media { order: -1; }
  .about-epc__card { position: static; width: 100%; margin-top: 16px; }
  .about-split__media, .about-epc__img { height: 340px; }
  .about-values__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .about-hero__content { padding-top: 60px; }
  .about-hero__content h1 { font-size: 40px; }
  .about-hero__content p { font-size: 16px; }
  .about-split, .about-epc, .about-values { padding: 64px 0; }
  .about-split__body h2, .about-epc__body h2, .about-values__head h2 { font-size: 32px; }
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 5000;
  width: min(420px, calc(100vw - 40px));
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.30);
  padding: 22px 24px;
  transform: translateY(150%); opacity: 0; visibility: hidden;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease, visibility .3s;
}
.cookie-banner.is-open { transform: none; opacity: 1; visibility: visible; }
.cookie-banner__title { font: 600 16px 'Work Sans', sans-serif; letter-spacing: -.01em; color: var(--ink); margin-bottom: 8px; }
.cookie-banner p { font: 400 13.5px/1.62 'Lato', sans-serif; color: var(--muted); margin-bottom: 16px; }
.cookie-banner p a { color: var(--accent); text-decoration: none; }
.cookie-banner p a:hover { text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-btn {
  flex: 1 1 auto; padding: 11px 18px; border-radius: 100px;
  font: 400 13.5px 'Lato', sans-serif; cursor: pointer; text-align: center;
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.cookie-btn:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.cookie-btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.cookie-btn--accent:hover { filter: brightness(1.07); }
@media (max-width: 560px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px 20px; } }

/* =========================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ========================================================= */
.legal { background: var(--surface); padding: 60px 0 96px; }
.legal__wrap { max-width: 820px; margin: 0 auto; }
.legal h2 { font: 600 25px 'Work Sans', sans-serif; letter-spacing: -.02em; color: var(--ink); margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font: 600 18px 'Work Sans', sans-serif; letter-spacing: -.01em; color: var(--ink); margin: 26px 0 10px; }
.legal p { font: 400 16px/1.72 'Lato', sans-serif; color: var(--ink-soft); margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { font: 400 16px/1.7 'Lato', sans-serif; color: var(--ink-soft); margin-bottom: 8px; }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal__meta { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; margin-bottom: 8px; }
.legal__meta p { margin-bottom: 6px; }
.legal__meta p:last-child { margin-bottom: 0; }
.legal__note { font: 400 13.5px/1.65 'Lato', sans-serif; color: var(--muted); background: var(--bg); border-left: 3px solid var(--accent); padding: 15px 20px; border-radius: 0 12px 12px 0; margin-top: 30px; }
.legal__updated { font: 400 13px 'Lato', sans-serif; color: var(--muted-2); margin-top: 34px; }

/* ============================== LANGUAGE SWITCHER ============================== */
.lang-switch { position: relative; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 46px; padding: 0 12px 0 13px; border-radius: 26px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
  letter-spacing: .02em; transition: background .2s ease;
}
.lang-switch__btn:hover { background: rgba(255,255,255,.22); }
.lang-switch__cur { line-height: 1; }
.lang-switch__chev { transition: transform .2s ease; }
.lang-switch.is-open .lang-switch__chev { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  min-width: 168px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.28);
  display: none; flex-direction: column; gap: 2px;
}
.lang-switch.is-open .lang-switch__menu { display: flex; }
.lang-switch__item {
  display: flex; align-items: center; padding: 10px 14px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.lang-switch__item:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.lang-switch__item.is-current { color: var(--accent); font-weight: 700; }
.lang-switch__item.is-current::after { content: "✓"; margin-left: auto; font-size: 13px; }
@media (max-width: 900px) {
  .lang-switch__btn { height: 42px; padding: 0 10px; }
  .lang-switch__menu { right: 0; }
}

.legal-note { margin-top: 10px; font-style: italic; color: var(--muted); font-size: 14px; max-width: 60ch; }
