/* =========================================================
   Elektrohandel Kevin Fischer — style.css
   ========================================================= */

:root {
  --paper: #F4F5F1;
  --paper-2: #ECEEE8;
  --white: #FFFFFF;
  --ink: #15181A;
  --ink-2: #58595B;
  --ink-3: #7E8083;
  --lime: #6FBE44;
  --lime-hover: #80CA56;
  --lime-tint: #E4F2DA;
  --green: #2F7A16;
  --line: #D9DCD4;
  --line-2: #C6CAC0;

  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --wide: 112%;
  --gutter: 20px;
  --max: 1240px;
  --radius: 14px;
  --radius-s: 8px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

@media (min-width: 900px) {
  :root { --gutter: 32px; --header-h: 80px; }
}

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

html, body {
  overflow-x: hidden;
  touch-action: pan-y;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-weight: 800;
  font-stretch: var(--wide);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 1.35rem + 2.7vw, 3.5rem); }
h2 > span { display: block; color: var(--ink-2); font-weight: 700; }
h3 { font-size: 1.3rem; line-height: 1.15; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lime-fill { fill: var(--lime); }
.lime-stroke { stroke: var(--lime); }

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 6px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Eyebrow / Labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 600;
  font-stretch: 90%;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.eyebrow svg { width: 40px; height: 14px; color: var(--ink); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border-radius: var(--radius-s);
  border: 1.5px solid transparent;
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-hover); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #2A2F32; }
.btn--line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--green);
  font-weight: 600;
  text-underline-offset: 4px;
}
.link svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
}
.header.is-scrolled,
.menu-open .header {
  background: rgba(244, 245, 241, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand { display: block; margin-right: auto; }
.brand img { height: 34px; width: auto; }

.nav { display: none; }

.header__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px; height: 44px;
  border-radius: var(--radius-s);
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: .95rem;
  transition: background-color .25s var(--ease);
}
.header__call:hover { background: var(--lime-hover); }
.header__call svg { width: 20px; height: 20px; }
.header__call span { display: none; }

.burger {
  width: 44px; height: 44px;
  display: grid;
  place-content: center;
  gap: 7px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-s);
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  padding-top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; transform: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 1.85rem;
  font-weight: 800;
  font-stretch: var(--wide);
  letter-spacing: -0.02em;
}
.menu__nav a span {
  font-size: .8rem;
  font-weight: 600;
  font-stretch: 90%;
  letter-spacing: .08em;
  color: var(--green);
  min-width: 24px;
}
.menu__foot { display: grid; gap: 14px; }
.menu__foot p { font-size: .88rem; color: var(--ink-2); text-align: center; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: var(--header-h);
  isolation: isolate;
}

.hero__visual {
  position: relative;
  height: clamp(230px, 30svh, 290px);
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  box-sizing: content-box;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(21, 24, 26, .13) 1px, transparent 1.3px);
  background-size: 22px 22px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 55%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 60% at 50% 55%, #000 15%, transparent 72%);
  opacity: .8;
}

.hero__word {
  position: absolute;
  left: 50%;
  bottom: -0.14em;
  transform: translateX(-50%);
  font-size: clamp(5.5rem, 27vw, 11rem);
  font-weight: 900;
  font-stretch: 100%;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--line-2);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  transition: -webkit-text-stroke-color 1.2s var(--ease);
}
.is-lit .hero__word {
  -webkit-text-stroke-color: #B3DA98;
}

.hero__halo {
  position: absolute;
  left: 50%;
  top: calc(var(--header-h) + var(--cable) + var(--bulb-w) * .98);
  width: calc(var(--bulb-w) * 3.6);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.6);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 216, 120, .55) 0%, rgba(111, 190, 68, .22) 35%, rgba(111, 190, 68, 0) 68%);
  opacity: 0;
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease);
  pointer-events: none;
}
.is-lit .hero__halo { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Pendant (cable + bulb) */
.hero { --cable: clamp(36px, 6svh, 80px); --bulb-w: 120px; }

.pendant {
  position: absolute;
  left: 50%;
  top: var(--header-h);
  width: var(--bulb-w);
  margin-left: calc(var(--bulb-w) / -2);
  transform-origin: 50% 0;
  z-index: 2;
}
.pendant::before {
  content: "";
  display: block;
  width: 46px;
  height: 7px;
  margin: 0 auto;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #1C2124, #4A5256 30%, #15181A);
}
.pendant__cable {
  display: block;
  width: 3px;
  height: calc(var(--cable) - 7px);
  margin: 0 auto;
  background: linear-gradient(90deg, #0E1113, #3A4246 50%, #15181A);
  border-radius: 2px;
}
.pendant.is-swinging { animation: swing 2.4s var(--ease); }

@keyframes swing {
  0%   { transform: rotate(0); }
  14%  { transform: rotate(2.6deg); }
  34%  { transform: rotate(-1.8deg); }
  54%  { transform: rotate(1.1deg); }
  74%  { transform: rotate(-.5deg); }
  100% { transform: rotate(0); }
}

.bulb {
  display: block;
  width: 100%;
  margin-top: -2px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 50% 50% 46% 46% / 30% 30% 70% 70%;
}
.bulb__svg { width: 100%; height: auto; overflow: visible; }

.bulb__glass { stroke: #B9BFB4; stroke-width: 1.4; transition: stroke .9s var(--ease); }
.bulb__shine { opacity: .7; }
.bulb__tube {
  stroke: #A3AA9F;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke .7s var(--ease);
}
.bulb__glow, .bulb__halo-s { stroke: var(--lime); opacity: 0; transition: opacity 1s var(--ease); }
.bulb__core { stroke: #F6FFEA; opacity: 0; transition: opacity .8s var(--ease); }

.is-lit .bulb__glass { stroke: #9ACB7C; }
.is-lit .bulb__tube { stroke: var(--lime); }
.is-lit .bulb__glow { opacity: .75; }
.is-lit .bulb__halo-s { opacity: .9; }
.is-lit .bulb__core { opacity: .95; }

.hero.is-igniting .bulb__tube { animation: draw 1s var(--ease) both; }
@keyframes draw {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}

.hero__legend { display: none; }

/* Hero content */
.hero__content { position: relative; z-index: 3; padding-top: 8px; pointer-events: none; }
.hero__text { pointer-events: auto; }
.hero__title {
  font-size: clamp(2.15rem, .9rem + 6vw, 4rem);
  line-height: .98;
  font-stretch: 106%;
  margin-bottom: 20px;
}
.hero__title span { display: block; color: var(--ink-2); font-weight: 700; }
.hero__lead {
  font-size: 1.06rem;
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 28px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cta .btn { flex: 1 1 auto; }

/* Label strip */
.strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}
.strip li {
  padding: 18px 14px 18px 0;
  border-bottom: 1px solid var(--line);
}
.strip a { display: grid; gap: 2px; text-decoration: none; }
.strip a:hover strong,
.strip a:focus-visible strong { color: var(--green); }
.strip strong { transition: color .2s var(--ease); }
.strip li:nth-child(odd) { border-right: 1px solid var(--line); }
.strip li:nth-child(even) { padding-left: 16px; }
.strip strong {
  font-weight: 750;
  font-stretch: 105%;
  font-size: .98rem;
  line-height: 1.2;
}
.strip strong::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: .12em;
}
.strip span { font-size: .84rem; color: var(--ink-2); line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }

.section-head { max-width: 46rem; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--ink-2); font-size: 1.06rem; }

/* ---------- Leistungen / Board ---------- */
.leistungen { padding-top: 64px; }

.board {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 8px 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.board__plate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 12px;
  font-size: .72rem;
  font-weight: 600;
  font-stretch: 90%;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.board__plate-r::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 8px;
  vertical-align: .1em;
  box-shadow: 0 0 0 3px rgba(111, 190, 68, .25);
}

.board__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.brk {
  order: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 116px;
  padding: 10px 8px 10px;
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.brk:hover { border-color: var(--line-2); }
.brk:active { transform: scale(.985); }

.brk__top { display: flex; justify-content: space-between; align-items: center; }
.brk__id {
  font-size: .74rem;
  font-weight: 700;
  font-stretch: 90%;
  letter-spacing: .08em;
  color: var(--ink-3);
  transition: color .3s;
}
.brk__led {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #D3D7CF;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .15);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}

.brk__mid { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.brk__lever {
  --travel: -13px;
  position: relative;
  width: 24px; height: 40px;
  border-radius: 7px;
  background: var(--paper-2);
  border: 1.5px solid var(--line-2);
  flex: none;
}
.brk__lever::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 1.5px;
  margin-left: -5px;
  background: var(--line-2);
}
.brk__lever i {
  position: absolute;
  left: 3px; right: 3px;
  top: 19px;
  height: 16px;
  border-radius: 4px;
  background: #CDD1C8;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .08);
  transition: transform .45s cubic-bezier(.5, 1.6, .4, 1), background-color .3s var(--ease);
  z-index: 1;
}

.brk__sym { display: none; width: 42px; height: 42px; color: var(--ink-3); transition: color .3s var(--ease); }

.brk__label {
  margin-top: auto;
  font-weight: 700;
  font-stretch: 88%;
  font-size: .74rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.brk__full {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.brk.is-on { border-color: var(--ink); box-shadow: 0 10px 24px -16px rgba(21, 24, 26, .45); }
.brk.is-on .brk__id { color: var(--green); }
.brk.is-on .brk__led { background: var(--lime); box-shadow: 0 0 0 3px rgba(111, 190, 68, .25), 0 0 10px rgba(111, 190, 68, .8); }
.brk.is-on .brk__lever i { transform: translateY(var(--travel)); background: var(--ink); }
.brk.is-on .brk__sym { color: var(--ink); }

.panel {
  order: 5;
  grid-column: 1 / -1;
  display: grid;
  gap: 20px;
  margin: 4px 0 0;
  padding: 22px 20px 24px;
  background: var(--white);
  border-radius: 10px;
  border: 1.5px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--lime);
}
.panel[hidden] { display: none; }
.panel.is-entering { animation: panelIn .5s var(--ease) both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.panel__kicker {
  font-size: .74rem;
  font-weight: 650;
  font-stretch: 90%;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.panel h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); margin-bottom: 12px; }
.panel__text > p:not(.panel__kicker) { color: var(--ink-2); margin-bottom: 16px; max-width: 36em; }

.panel__sym {
  display: none;
}

.ticks { display: grid; gap: 8px; }
.ticks li {
  position: relative;
  padding-left: 28px;
  line-height: 1.4;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .2em;
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--lime-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%232F7A16' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Extra list */
.extra {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.extra h3 {
  font-size: .78rem;
  font-weight: 650;
  font-stretch: 90%;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.extra ul { display: flex; flex-wrap: wrap; gap: 8px; }
.extra ul { gap: 6px; }
.extra li {
  padding: 6px 11px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 500;
  background: rgba(255, 255, 255, .55);
}

/* Split: Bild + Text */
.split {
  display: grid;
  gap: 32px;
}
.leistungen .split { margin-top: 72px; }
.split__img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}
.split__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.split__text h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 3rem); margin-bottom: 18px; }
.split__text > p:not(.eyebrow):not(.cert) { color: var(--ink-2); margin-bottom: 24px; }
.ticks--lg { gap: 12px; margin-bottom: 30px; }
.ticks--lg li { font-weight: 500; }

/* Handel */
.handel__grid { display: grid; gap: 36px; }
.handel__intro h2 { margin-bottom: 18px; }
.handel__intro > p:not(.eyebrow) { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 28px; max-width: 34em; }
.handel__side .ticks--lg { margin-bottom: 0; }
.handel .extra { margin-top: 32px; }

/* Inspektion */
.inspektion__grid { display: grid; gap: 32px; }
.inspektion__head h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 3rem); margin-bottom: 18px; }
.inspektion__head > p:not(.eyebrow) { color: var(--ink-2); }
.inspektion__more .ticks--lg { margin-bottom: 28px; }
.leistungen { background: var(--white); }
.leistungen .board { background: var(--paper); }

/* Zertifikat */
.cert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 8px 14px 8px 10px;
  border: 1.5px solid var(--lime);
  border-radius: 999px;
  background: var(--lime-tint);
  font-size: .9rem;
  font-weight: 700;
  font-stretch: 104%;
  line-height: 1.2;
}
.cert svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.cert--lg {
  margin-top: 4px;
  padding: 16px 20px 16px 16px;
  border-radius: var(--radius);
  gap: 14px;
}
.cert--lg svg { width: 34px; height: 34px; }
.cert--lg span { display: grid; gap: 2px; font-weight: 500; font-stretch: 100%; color: var(--ink-2); font-size: .9rem; }
.cert--lg strong { font-weight: 800; font-stretch: var(--wide); font-size: 1.05rem; color: var(--ink); }

/* KNX-Bus */
.bus {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 48px;
  padding-left: 30px;
}
.bus::before {
  content: "";
  position: absolute;
  left: 8px; top: 10px; bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-tint);
}
.bus li {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  align-items: baseline;
  align-content: start;
  padding: 14px 16px 15px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.bus li::before {
  content: "";
  position: absolute;
  left: -20px; top: 24px;
  width: 20px; height: 2px;
  background: var(--ink-2);
}
.bus li::after {
  content: "";
  position: absolute;
  left: -27px; top: 19.5px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--ink);
}
.bus li:hover { border-color: var(--ink); }
.bus__addr {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  padding: 3px 7px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--paper);
  font-size: .72rem;
  font-weight: 700;
  font-stretch: 90%;
  letter-spacing: .08em;
  color: var(--green);
}
.bus h3 { grid-column: 1; grid-row: 1; font-size: 1.08rem; margin-bottom: 4px; }
.bus p { grid-column: 1 / -1; color: var(--ink-2); font-size: .92rem; line-height: 1.45; }

/* Solarinspektion: Wärmebild-Vergleich */
.thermo { width: min(100%, 1040px, calc((100svh - 190px) * 1.5)); min-width: min(100%, 560px); margin: 0 auto; }
.thermo__frame {
  --x: 50%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #2A1550;
  isolation: isolate;
  touch-action: pan-y;
}
.thermo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thermo__ir {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--x));
}
.thermo__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--x);
  width: 2px;
  margin-left: -1px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(21, 24, 26, .18);
  pointer-events: none;
  z-index: 3;
}
.thermo__handle i {
  position: absolute;
  left: 50%; top: 50%;
  width: 52px; height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 18px -6px rgba(21, 24, 26, .5);
}
.thermo__handle i::before,
.thermo__handle i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  border: solid var(--ink);
  border-width: 0 0 2px 2px;
}
.thermo__handle i::before { left: 14px; transform: rotate(45deg); }
.thermo__handle i::after { right: 14px; transform: rotate(-135deg); }
.thermo__range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  -webkit-appearance: none;
  appearance: none;
}
.thermo__frame:has(.thermo__range:focus-visible) { outline: 2.5px solid var(--green); outline-offset: 3px; }
.thermo__tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  font-size: .7rem;
  font-weight: 700;
  font-stretch: 90%;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none;
}
.thermo__tag--l { left: 14px; }
.thermo__tag--r { right: 14px; background: rgba(21, 24, 26, .78); color: var(--white); }
.thermo__spot {
  position: absolute;
  z-index: 2;
  width: 30px; height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  border: 2px solid var(--white);
  color: transparent;
  font-size: 0;
  pointer-events: none;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.thermo__spot.is-shown { opacity: 1; transform: none; }
.thermo__spot::before {
  content: attr(data-n);
  position: absolute;
  left: 100%; bottom: 100%;
  margin: 0 0 -6px -6px;
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
}
.thermo__spot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .7);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(.7); opacity: 1; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
.thermo__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 16px;
  font-size: .9rem;
  color: var(--ink-2);
}
.thermo__legend span { display: inline-flex; align-items: center; gap: 8px; }
.thermo__legend b {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: .7rem;
}
.thermo__legend small {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 600;
  font-stretch: 90%;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Photovoltaik ---------- */
.pv { background: var(--white); }
.pv__grid { display: grid; gap: 44px; }

.pv__media { position: relative; }
.pv__main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}
.pv__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.pv__text header { margin-bottom: 36px; }
.pv__text header h2 { margin-bottom: 18px; }
.pv__text header p { color: var(--ink-2); font-size: 1.06rem; }

.flow {
  --p: 0;
  position: relative;
  display: grid;
  gap: 28px;
  padding-left: 44px;
}
.flow::before,
.flow::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
}
.flow::before { background: var(--line); }
.flow::after {
  background: var(--lime);
  transform-origin: top;
  transform: scaleY(var(--p));
}
.flow__step { position: relative; }
.flow__node {
  position: absolute;
  left: -44px;
  top: 2px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line-2);
  z-index: 1;
  transition: border-color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.flow__node::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background-color .4s var(--ease);
}
.flow__step.is-live .flow__node { border-color: var(--ink); box-shadow: 0 0 0 5px rgba(111, 190, 68, .22); }
.flow__step.is-live .flow__node::after { background: var(--lime); }
.flow__no {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  font-stretch: 90%;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: 4px;
}
.flow h3 { font-size: 1.25rem; margin-bottom: 6px; }
.flow p { color: var(--ink-2); }

/* ---------- Über mich ---------- */
.about__grid { display: grid; gap: 48px; }
.about__media { position: relative; }
.about { border-top: 1px solid var(--line); }
.about__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.about__mark {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 92px;
  height: auto;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .92);
  border-radius: 8px;
  box-sizing: content-box;
}

.about__text h2 { margin-bottom: 22px; }
.about__lead { font-size: 1.22rem; line-height: 1.5; font-weight: 500; margin-bottom: 16px; }
.about__text > p:not(.about__lead):not(.eyebrow) { color: var(--ink-2); }

.pillars {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}
.pillars > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.pillars dt { font-weight: 800; font-stretch: var(--wide); }
.pillars dd { color: var(--ink-2); line-height: 1.45; }

/* ---------- Kontakt ---------- */
.contact { background: var(--white); }
.contact__grid { display: grid; gap: 48px; }
.contact__info h2 { margin-bottom: 18px; font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem); }
.contact__info > p { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 32px; max-width: 30em; }

.person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.person img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 4.5px var(--lime);
}
.person p { display: grid; line-height: 1.3; }
.person strong { font-weight: 800; font-stretch: var(--wide); }
.person span { font-size: .9rem; color: var(--ink-2); }

.terminals { display: grid; gap: 10px; }
.terminals li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  transition: border-color .25s var(--ease);
}
.terminals li:hover { border-color: var(--line-2); }
.terminals__x {
  font-size: .72rem;
  font-weight: 700;
  font-stretch: 90%;
  letter-spacing: .08em;
  color: var(--ink-3);
  padding: 4px 6px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--white);
}
.terminals__i {
  width: 38px; height: 38px;
  padding: 9px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}
.terminals__body { display: grid; min-width: 0; }
.terminals__k {
  font-size: .74rem;
  font-weight: 650;
  font-stretch: 90%;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.terminals__v {
  font-weight: 650;
  font-size: 1.04rem;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.terminals__s { font-size: .86rem; color: var(--ink-2); }
a.terminals__v:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.request {
  display: grid;
  gap: 16px;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.request h3 { font-size: 1.4rem; margin-bottom: 4px; }

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--white);
}
.seg legend {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: block;
  padding: 10px;
  border-radius: 7px;
  text-align: center;
  font-weight: 650;
  font-size: .95rem;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.seg input:checked + span { background: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 2.5px solid var(--green); outline-offset: 2px; }

.field { display: grid; gap: 6px; }
.field label { font-size: .86rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-s);
  background: var(--white);
  font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2315181A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(111, 190, 68, .3);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #B3261E; }

.request__note { font-size: .82rem; color: var(--ink-2); line-height: 1.45; }
.request__note.is-error { color: #B3261E; }

/* ---------- Footer ---------- */
.footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 56px 0 calc(40px + env(safe-area-inset-bottom));
}
.footer__top {
  display: grid;
  gap: 18px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-2);
}
.footer__logo { height: 36px; width: auto; }
.footer__addr { color: var(--ink-2); font-size: .92rem; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { font-weight: 600; font-size: .92rem; text-underline-offset: 4px; }
.footer__links a:hover { color: var(--green); }

.footer__bottom {
  display: grid;
  gap: 20px;
  padding-top: 26px;
  font-size: .84rem;
  color: var(--ink-2);
}
.footer-credit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-credit-logo { width: 96px; height: auto; opacity: .85; transition: opacity .2s; }
.footer-credit a:hover .footer-credit-logo { opacity: 1; }
.footer-credit p { font-size: .8rem; }
.footer-credit p a { text-underline-offset: 3px; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   ≥ 640px
   ========================================================= */
@media (min-width: 640px) {
  .hero { --bulb-w: 150px; }
  .hero__cta .btn { flex: 0 0 auto; }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .strip li { border-right: 1px solid var(--line); padding: 20px 16px; }
  .strip li:nth-child(even) { padding-left: 16px; }
  .strip li:first-child { padding-left: 0; }
  .strip li:last-child { border-right: 0; }
  .header__call { width: auto; padding: 0 16px; }
  .header__call span { display: inline; }
  .brand img { height: 38px; }
  .board { padding: 16px; }
  .board__grid { gap: 8px; }
  .brk { gap: 12px; min-height: 150px; padding: 12px 12px 14px; }
  .brk__sym { display: block; }
  .brk__lever { --travel: -17px; width: 30px; height: 50px; }
  .brk__lever i { top: 23px; height: 21px; }
  .brk__label { font-size: .98rem; font-stretch: 104%; font-weight: 750; overflow-wrap: normal; }
  .brk__full { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .brk__short { display: none; }
  .extra ul { gap: 8px; }
  .extra li { padding: 8px 13px; font-size: .92rem; }
  .panel {
    grid-template-columns: 1fr 200px;
    align-items: center;
    padding: 30px 30px 32px 34px;
  }
  .panel__sym {
    display: grid;
    justify-items: center;
    gap: 12px;
    align-self: stretch;
    align-content: center;
    border-left: 1px dashed var(--line-2);
    padding-left: 24px;
  }
  .panel__sym svg { width: 120px; height: 120px; color: var(--ink); }
  .panel__sym figcaption {
    font-size: .72rem;
    font-weight: 600;
    font-stretch: 90%;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-3);
    text-align: center;
  }
  .ticks { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .ticks--lg { grid-template-columns: 1fr; }
  .request { padding: 32px; }
  .footer__bottom { grid-template-columns: auto 1fr; align-items: center; }
  .footer-credit { justify-content: flex-end; }
}

/* =========================================================
   ≥ 960px — Desktop
   ========================================================= */
@media (min-width: 960px) {
  body { font-size: 1.125rem; }

  .nav { display: flex; gap: 4px; margin-right: 12px; }
  .nav a {
    position: relative;
    padding: 10px 14px;
    font-size: .95rem;
    font-weight: 550;
    text-decoration: none;
    color: var(--ink);
    border-radius: 6px;
    transition: color .2s var(--ease);
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
  }
  .nav a:hover::after,
  .nav a.is-active::after { transform: scaleX(1); }
  .burger { display: none; }
  .brand img { height: 42px; }
  .header__call { min-height: 46px; padding: 0 20px; }

  /* Hero desktop */
  .hero {
    --bulb-w: clamp(200px, 16vw, 260px);
    --cable: clamp(80px, 14svh, 170px);
    min-height: min(100svh, 940px);
    display: grid;
    grid-template-rows: 1fr auto;
    padding-top: var(--header-h);
  }
  .hero__visual {
    position: absolute;
    inset: 0;
    height: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    z-index: 0;
  }
  .hero__visual .pendant,
  .hero__visual .hero__halo { left: 72%; }
  .hero__grid {
    -webkit-mask-image: radial-gradient(ellipse 30% 48% at 72% 48%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 30% 48% at 72% 48%, #000 10%, transparent 75%);
  }
  .hero__word {
    left: auto;
    right: calc((100vw - min(100vw - 2 * var(--gutter), var(--max))) / 2 - 0.03em);
    bottom: calc(98px - .2em);
    transform: none;
    font-size: min(13vw, 11.5rem);
  }

  .hero__legend {
    position: absolute;
    right: max(28px, (100vw - var(--max)) / 2 - 90px);
    top: 50%;
    transform: translateY(-40%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: .7rem;
    font-weight: 600;
    font-stretch: 90%;
    letter-spacing: .34em;
    text-indent: .34em;
    text-transform: uppercase;
    color: var(--ink-2);
    z-index: 4;
  }
  .hero__legend i {
    display: block;
    width: 1px;
    height: 84px;
    margin-top: 14px;
    background: linear-gradient(var(--ink-2), rgba(88, 89, 91, .1));
  }
  .hero__legend a {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    color: var(--ink);
    text-indent: 0;
    transition: border-color .25s var(--ease), background-color .25s var(--ease);
  }
  .hero__legend a:hover { border-color: var(--ink); background: var(--white); }
  .hero__legend a svg { width: 16px; height: 16px; }
  .hero__legend small {
    font-size: .62rem;
    letter-spacing: .2em;
    text-indent: .2em;
    color: var(--ink-3);
  }

  .hero__content {
    display: flex;
    align-items: center;
    padding: 40px 0 56px;
  }
  .hero__text { max-width: 720px; width: 54%; }
  .hero__title { font-size: clamp(3rem, 4.9vw, 4.75rem); font-stretch: var(--wide); margin-bottom: 26px; }
  .hero__lead { font-size: 1.2rem; margin-bottom: 36px; }
  .btn { --h: 58px; padding: 0 28px; }

  .strip { margin-top: 0; position: relative; z-index: 3; background: linear-gradient(rgba(244,245,241,0), var(--paper) 40%); }
  .strip li { padding: 24px 22px; }
  .strip strong { font-size: 1.05rem; }
  .strip span { font-size: .9rem; }

  /* Sections */
  .section { padding: 112px 0; }
  .leistungen { padding-top: 104px; }
  .section-head { margin-bottom: 52px; }

  /* Board desktop: 6 modules in one rail */
  .board { padding: 20px; border-radius: 18px; }
  .board__plate { padding: 2px 6px 16px; }
  .board__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .brk { min-height: 178px; padding: 14px 14px 16px; }
  .brk__mid { flex-direction: column; align-items: flex-start; gap: 14px; }
  .brk__sym { width: 38px; height: 38px; }
  .panel {
    margin: 8px 0 0;
    grid-template-columns: 1fr 240px;
    padding: 40px 40px 42px 48px;
  }
  .panel__sym svg { width: 128px; height: 128px; }
  .panel h3 { margin-bottom: 14px; }

  .extra { display: grid; grid-template-columns: 12rem 1fr; align-items: baseline; gap: 24px; margin-top: 44px; }
  .extra h3 { margin: 0; }

  .split {
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: 72px;
  }
  .split--rev .split__img { order: 2; }
  .leistungen .split { margin-top: 112px; }
  .split__img { aspect-ratio: 5 / 4.4; }
  .handel__grid { grid-template-columns: 1.1fr 1fr; gap: 88px; align-items: end; }
  .handel .extra { display: block; margin-top: 36px; }
  .handel .extra h3 { margin-bottom: 14px; }
  .inspektion__grid {
    grid-template-columns: 1.3fr 1fr;
    grid-template-areas: "img head" "img more";
    grid-template-rows: auto 1fr;
    column-gap: 72px;
    row-gap: 32px;
    align-items: start;
  }
  .inspektion__head { grid-area: head; }
  .inspektion__grid .thermo { grid-area: img; width: 100%; min-width: 0; }
  .inspektion__more { grid-area: more; }
  .bus {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    column-gap: 16px;
    row-gap: 72px;
    margin-top: 88px;
    padding-left: 0;
  }
  .bus::before { left: 0; right: 0; top: calc(50% - 2px); bottom: auto; width: auto; height: 4px; }
  .bus li { padding: 22px 24px 24px; }
  .bus li::before { left: 34px; top: auto; bottom: -36px; width: 2px; height: 36px; }
  .bus li::after { left: 28.5px; top: auto; bottom: -42.5px; }
  .bus li:nth-child(n+4)::before { bottom: auto; top: -36px; }
  .bus li:nth-child(n+4)::after { display: none; }
  .thermo__spot { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .thermo__spot::before { width: 24px; height: 24px; font-size: .78rem; }

  .pv__grid { grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; }
  .pv__media { position: sticky; top: calc(var(--header-h) + 32px); }
  .pv__main { aspect-ratio: 1 / 1; }
  .pv__main img { object-position: 52% 50%; }
  .pv__text { padding-top: 8px; }
  .flow { gap: 40px; }
  .flow h3 { font-size: 1.4rem; }

  .about__grid { grid-template-columns: .95fr 1fr; gap: 88px; align-items: center; }
  .about__photo { aspect-ratio: 4 / 5; max-height: 720px; }

  .contact__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .request { padding: 40px; }

  .footer { padding-bottom: 40px; }
  .footer__top { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
  .footer__addr { text-align: center; }

}

@media (min-width: 1280px) {
  .hero__text { width: 58%; max-width: 760px; }
}

/* Hover only on real pointers */
@media (hover: none) {
  .btn:hover svg { transform: none; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .pendant.is-swinging { animation: none; }
}

/* =========================================================
   Rechtstexte (Impressum / Datenschutz)
   ========================================================= */
.legal-page .header { background: rgba(244, 245, 241, .9); }
.legal { padding: calc(var(--header-h) + 48px) 0 88px; }
.legal__inner { max-width: 780px; }
.legal h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); margin-bottom: 14px; }
.legal__stand { color: var(--ink-2); font-size: .92rem; margin-bottom: 8px; }
.legal h2 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.15;
  margin: 48px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legal h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal p, .legal ul { margin-bottom: 14px; }
.legal ul li { position: relative; padding-left: 24px; margin-bottom: 6px; }
.legal ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .78em;
  width: 12px; height: 2px;
  background: var(--lime);
}
.legal a { color: var(--green); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal strong { font-weight: 650; }
.legal__box {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime);
  border-radius: var(--radius-s);
  padding: 18px 22px;
  margin: 18px 0;
}
.legal__box p:last-child { margin-bottom: 0; }
.footer__links a[aria-current="page"] { color: var(--green); }

@media (min-width: 960px) {
  .legal { padding: calc(var(--header-h) + 80px) 0 120px; }
}
