/* =========================================================
   energysolutions.lu — Stylesheet
   Palette: Sonnenaufgang über Navy (aus dem Logo abgeleitet)
   Fonts: Archivo Variable (Display), Public Sans Variable (Text)
   Selbst gehostet -> kein Google-Fonts-Request, DSGVO-freundlich
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Archivo v';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-var-latin.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo v';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-var-latin-ext.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans v';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/publicsans-var-latin.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans v';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/publicsans-var-latin-ext.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --deep: #0a2148;
  --deep-2: #06162f;
  --deep-3: #14315f;
  --sun: #ffc61e;
  --sun-soft: #ffe08a;
  --flare: #ff7a18;
  --signal: #e1251b;
  --sky: #1c7ed6;
  --dawn: #fff7ec;
  --dawn-2: #fdedd6;
  --paper: #ffffff;
  --ink: #12203a;
  --muted: #5a6b87;
  --line: #e6dccd;
  --line-dark: rgba(255, 255, 255, .16);

  --ramp: linear-gradient(96deg, #ffc61e 0%, #ff9b12 42%, #ff7a18 68%, #e1251b 100%);
  --ramp-soft: linear-gradient(96deg, #ffd75a 0%, #ff9b12 60%, #ff7a18 100%);

  --shadow-s: 0 1px 2px rgba(10, 33, 72, .06), 0 4px 14px rgba(10, 33, 72, .07);
  --shadow-m: 0 2px 6px rgba(10, 33, 72, .07), 0 18px 46px rgba(10, 33, 72, .12);
  --shadow-l: 0 30px 80px rgba(10, 33, 72, .22);

  --r-s: 8px;
  --r-m: 16px;
  --r-l: 26px;
  --r-xl: 38px;

  --hdrh: 76px;
  --wrap: 1200px;
  --gut: clamp(18px, 4.4vw, 44px);
  --sect: clamp(64px, 8.5vw, 120px);

  --f-display: 'Archivo v', 'Archivo', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --f-text: 'Public Sans v', 'Public Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--dawn);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: clamp(16px, .42vw + 15px, 17.5px);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, li, td, th, summary, label, figcaption {
  overflow-wrap: break-word;
}
@media (max-width: 640px) {
  h1, h2, h3, h4, p, li { hyphens: auto; -webkit-hyphens: auto; }
}
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: -.022em; font-stretch: 108%; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--deep); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--f-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-stretch: 112%;
  color: var(--flare);
  display: flex; align-items: center; gap: .7em;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--ramp); flex: none;
}
.eyebrow--light { color: var(--sun); }

.h-xl { font-size: clamp(2.35rem, 5.1vw, 3.95rem); font-stretch: 112%; letter-spacing: -.03em; }
.h-l  { font-size: clamp(2rem, 4.4vw, 3.1rem); font-stretch: 110%; }
.h-m  { font-size: clamp(1.35rem, 2.1vw, 1.72rem); font-stretch: 106%; letter-spacing: -.015em; }
.h-s  { font-size: 1.06rem; font-stretch: 104%; font-weight: 750; letter-spacing: -.005em; }

.lead { font-size: clamp(1.06rem, 1.25vw, 1.22rem); color: var(--muted); line-height: 1.58; max-width: 62ch; }
.lead--light { color: rgba(255, 255, 255, .8); }
.small { font-size: .875rem; line-height: 1.55; }
.tiny { font-size: .78rem; line-height: 1.5; color: var(--muted); }

.gl { /* gradient letters — used once per page, sparingly */
  background: var(--ramp);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  /* fallback if background-clip:text unsupported */
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-display); font-weight: 750; font-stretch: 106%;
  font-size: .97rem; letter-spacing: -.005em;
  padding: 15px 26px; border-radius: 100px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Eine Fläche, eine Farbe, kein Schein.
   Navy auf Orange statt Weiß: 6,1:1 Kontrast statt 2,6:1 — lesbar und
   nimmt die beiden Logofarben auf. */
.btn--sun {
  background: var(--flare);
  color: var(--deep);
}
.btn--sun:hover { background: #F06A08; }
.btn--sun:active { background: #E05F04; }

.btn--deep { background: var(--deep); color: #fff; }
.btn--deep:hover { background: var(--deep-3); }

.btn--ghost { border-color: currentColor; color: var(--deep); background: transparent; }
.btn--ghost:hover { background: var(--deep); color: #fff; border-color: var(--deep); }

.btn--ghost-light { border-color: rgba(255,255,255,.42); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--deep); border-color: #fff; }

.btn--wa {
  background: #1EBE5D; color: #fff; margin-top: 28px;
  box-shadow: 0 1px 2px rgba(0,60,25,.25), 0 6px 16px -8px rgba(30,190,93,.7);
}
.btn--wa:hover { background: #23D46A; box-shadow: 0 2px 4px rgba(0,60,25,.28), 0 12px 24px -10px rgba(30,190,93,.8); }
.btn--wa svg { width: 20px; height: 20px; }

.btn--sm { padding: 10px 18px; font-size: .87rem; }
.btn--wide { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--f-display); font-weight: 700; font-stretch: 105%;
  color: var(--signal); text-decoration: none; font-size: .95rem;
  border-bottom: 2px solid transparent; transition: border-color .18s, gap .18s;
}
.link-arrow:hover { border-bottom-color: currentColor; gap: .75em; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255, 247, 236, .82);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.hdr.is-stuck { background: rgba(255, 247, 236, .95); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(10,33,72,.06); }
.hdr__in { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); min-height: var(--hdrh); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand img { height: clamp(30px, 2.5vw, 38px); width: auto; max-width: 230px; object-fit: contain; }
.brand.no-logo img { display: none; }
.brand.no-logo .brand__fallback { display: block; }
.brand__fallback {
  display: none;
  font-family: var(--f-display); font-weight: 850; font-stretch: 112%;
  font-size: 1.14rem; letter-spacing: -.03em; line-height: 1; color: var(--deep);
}
.brand__fallback i { font-style: normal; color: var(--signal); }

.nav { display: flex; align-items: center; gap: clamp(10px, 1.5vw, 22px); margin-left: auto; }
.nav a {
  text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--deep);
  padding: 8px 2px; border-bottom: 2px solid transparent; white-space: nowrap;
  transition: border-color .18s, color .18s;
}
.nav a:hover { border-bottom-color: var(--flare); }

.hdr__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: flex; gap: 2px; background: rgba(10,33,72,.06); padding: 3px; border-radius: 100px; }
.lang a {
  font-family: var(--f-display); font-size: .76rem; font-weight: 750; letter-spacing: .06em;
  text-decoration: none; padding: 9px 12px; border-radius: 100px; color: var(--muted); line-height: 1;
  transition: background .18s, color .18s;
}
.lang a:hover { color: var(--deep); }
.lang a[aria-current="true"] { background: var(--deep); color: #fff; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--paper);
  border-radius: 12px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--deep); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--deep); border-radius: 2px; transition: transform .2s, top .2s; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1400px) {
  :root { --hdrh: 68px; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dawn); border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 22px; box-shadow: var(--shadow-m);
    max-height: calc(100dvh - var(--hdrh)); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav .btn { margin-top: 16px; }
  .hdr__actions { margin-left: auto; }
}

/* Kein Größensprung mehr: die Navigation behält über den gesamten
   Desktop-Bereich dieselbe Schrift, sonst passt sie ab 1460px nicht mehr. */
@media (min-width: 1401px) {
  .nav { gap: clamp(10px, 1.1vw, 18px); }
  .nav a { font-size: .885rem; }
}

@media (max-width: 560px) {
  :root { --hdrh: 62px; }
  .brand img { height: 30px; max-width: 190px; }
  .brand__fallback { font-size: .92rem; letter-spacing: -.04em; }
  .lang { padding: 2px; }
  .lang a { padding: 9px 9px; font-size: .75rem; }
  .burger { width: 42px; height: 42px; border-radius: 11px; }
  .hdr__actions { gap: 8px; }
}

/* Muss nach dem 560er-Block stehen: gleiche Spezifität, der letzte gewinnt. */
@media (max-width: 400px) {
  .wrap { padding-inline: 15px; }
  .brand img { height: 26px; max-width: 132px; }
  .brand__fallback { font-size: .8rem; }
  .lang { padding: 2px; }
  .lang a { padding: 9px 6px; font-size: .76rem; letter-spacing: .01em; }
  .hdr__in { gap: 6px; }
  .hdr__actions { gap: 6px; }
  .burger { width: 38px; height: 38px; }
}

/* ---------- Sections ---------- */
.sect { padding-block: var(--sect); position: relative; }
.sect--dawn { background: var(--dawn); }
.sect--paper { background: var(--paper); }
.sect--warm { background: linear-gradient(180deg, var(--dawn-2), var(--dawn)); }
.sect--deep { background: var(--deep); color: #fff; }
.sect--deep .lead { color: rgba(255,255,255,.78); }
.sect--deep h2, .sect--deep h3 { color: #fff; }

/* Foto-Bänder: Bild als Textur, darüber ein tiefer Navy-Schleier */
.sect--photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.sect--photo-commercial {
  background-image:
    linear-gradient(100deg, rgba(6,22,47,.92) 0%, rgba(9,30,64,.82) 55%, rgba(14,42,88,.72) 100%),
    url(/assets/img/band-commercial.jpg);
}
.sect--photo-contact {
  background-image:
    linear-gradient(180deg, rgba(6,22,47,.96) 0%, rgba(8,28,60,.93) 45%, rgba(6,22,47,.97) 100%),
    url(/assets/img/band-emobility.jpg);
}
@media (max-width: 700px) { .sect--photo { background-attachment: scroll; } }

.sect__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 58px); }
.sect__head .lead { margin-top: 18px; }
.sect__head--center { margin-inline: auto; text-align: center; }
.sect__head--center .eyebrow { justify-content: center; }
.sect__head--center .lead { margin-inline: auto; }

/* Sonnenhorizont — greift den Kreis aus dem Logo auf */
.hero__arc { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; pointer-events: none; z-index: 3; }
.hero__arc svg { width: 100%; height: clamp(40px, 5.2vw, 82px); display: block; }

.linkbtn {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 700; font-size: .78rem; font-stretch: 104%;
  color: var(--signal); border-bottom: 1.5px solid transparent; line-height: 1.2;
  transition: border-color .18s;
}
.linkbtn:hover { border-bottom-color: currentColor; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background-color: var(--deep-2);
  padding-block: clamp(48px, 7vw, 88px) clamp(96px, 11vw, 156px);
}

/* Das Banner liegt über die volle Breite oben und läuft nach unten
   in das Navy aus. Als eigene Ebene, damit sich Bild und Schleier
   unabhängig steuern lassen. */
/* Der Rahmen umschließt genau das Bild. Dadurch läuft der senkrechte
   Verlauf exakt an der Bildunterkante ins Navy aus — keine sichtbare Kante. */
.hero__banner {
  position: absolute; top: 0; left: 0; right: 0; pointer-events: none; line-height: 0;
}
.hero__banner img { width: 100%; height: auto; display: block; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1s ease;
  pointer-events: none;
}
.hero__video.is-ready { opacity: 1; }
.hero__banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(6,22,47,.16) 0%,
    rgba(6,22,47,.22) 32%,
    rgba(6,23,50,.50) 58%,
    rgba(6,22,47,.85) 81%,
    rgba(6,22,47,1) 100%);
}

/* feiner warmer Lichtsaum an der Oberkante — Übergang aus der hellen Kopfzeile */
/* Über allem: seitlicher Schleier für die Lesbarkeit der Schrift
   und ein warmer Lichtschein oben rechts, der die Sonne aus dem Logo aufgreift. */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(96deg,
    rgba(6,22,47,.74) 0%,
    rgba(6,23,50,.58) 26%,
    rgba(7,26,56,.28) 50%,
    rgba(9,30,64,.06) 70%,
    rgba(10,33,72,0) 86%);
}

/* Schmale Bildschirme: die Schrift läuft über die volle Breite,
   der waagerechte Schleier hilft dort nicht mehr. */
@media (max-width: 900px) {
  /* Auf schmalen Bildschirmen wäre das Banner in Originalproportion nur
     ein 120 Pixel hoher Streifen. Deshalb hier beschnitten statt skaliert. */
  .hero__banner img { height: 42vh; min-height: 270px; object-fit: cover; object-position: 72% 55%; }
  .hero__banner::after {
    background: linear-gradient(180deg,
      rgba(6,22,47,.34) 0%,
      rgba(6,22,47,.44) 34%,
      rgba(6,23,50,.74) 62%,
      rgba(6,22,47,.94) 84%,
      rgba(6,22,47,1) 100%);
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(6,22,47,.26) 0%, rgba(6,22,47,.06) 42%, rgba(6,22,47,0) 70%);
  }
}
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(28px, 3.6vw, 54px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 15px; border-radius: 100px; font-size: .845rem; font-weight: 600;
}
.chip b { font-family: var(--f-display); font-weight: 800; color: var(--sun); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); flex: none; box-shadow: 0 0 0 4px rgba(255,198,30,.22); }

.hero__media { position: relative; }
.hero__photo {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-l);
  background: linear-gradient(150deg, #123a72, #0a2148);
  aspect-ratio: 4 / 3.25;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -14px; bottom: -22px;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-l); padding: 18px 22px; box-shadow: var(--shadow-m);
  max-width: 250px;
}
.hero__badge .n {
  font-family: var(--f-display); font-weight: 850; font-stretch: 114%;
  font-size: 2.05rem; line-height: 1; letter-spacing: -.035em; display: block; margin-bottom: 4px;
}
.hero__badge .t { font-size: .8rem; color: var(--muted); line-height: 1.4; display: block; }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__media { order: -1; margin-bottom: 8px; }
  .hero__photo { aspect-ratio: 16 / 11; }
  /* Auf schmalen Bildschirmen unter das Foto statt darüber */
  .hero__badge {
    position: static; max-width: none; margin-top: 14px;
    display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  }
  .hero__badge .n { margin-bottom: 0; font-size: 1.75rem; flex: none; }
  .hero__badge .t { font-size: .84rem; }
}

/* ---------- Calculator (signature element) ---------- */
.calc {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 0;
  background: var(--paper); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-m); border: 1px solid var(--line);
}
.calc__in { color: var(--ink); padding: clamp(26px, 3.4vw, 44px); }
.calc__out {
  padding: clamp(26px, 3.4vw, 44px);
  background: radial-gradient(120% 130% at 88% 0%, #17417f 0%, #0d2a58 45%, var(--deep) 100%);
  color: #fff; position: relative; overflow: hidden;
}
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

.field { margin-bottom: 26px; }
.field:last-child { margin-bottom: 0; }
.field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.field__lab { font-family: var(--f-display); font-weight: 750; font-size: .95rem; font-stretch: 105%; min-width: 0; }
.field__val {
  font-family: var(--f-display); font-weight: 850; font-stretch: 112%;
  font-size: 1.28rem; letter-spacing: -.02em; color: var(--signal); font-variant-numeric: tabular-nums;
  white-space: nowrap; flex: none;
}
.field__hint { font-size: .78rem; color: var(--muted); margin-top: 8px; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 100px;
  background: linear-gradient(90deg, var(--sun) 0%, var(--flare) var(--pct, 40%), #e9e0d2 var(--pct, 40%), #e9e0d2 100%);
}
input[type="range"]::-moz-range-track { height: 8px; border-radius: 100px; background: #e9e0d2; }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 100px; background: linear-gradient(90deg, var(--sun), var(--flare)); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid var(--flare); margin-top: -9px;
  box-shadow: 0 3px 10px rgba(255,122,24,.4); transition: transform .15s;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--flare);
  box-shadow: 0 3px 10px rgba(255,122,24,.4);
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.08); }

.toggle { display: flex; gap: 8px; background: #f4ede1; padding: 4px; border-radius: 100px; }
.toggle button {
  flex: 1; border: 0; background: transparent; padding: 10px 8px; border-radius: 100px; cursor: pointer;
  font-family: var(--f-display); font-weight: 700; font-size: .88rem; color: var(--muted);
  transition: background .18s, color .18s, box-shadow .18s;
}
.toggle button[aria-pressed="true"] { background: var(--paper); color: var(--deep); box-shadow: var(--shadow-s); }

.numin { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.numin input { flex: 1; border: 0; padding: 12px 14px; width: 100%; font-variant-numeric: tabular-nums; background: transparent; }
.numin input:focus { outline: none; }
.numin:focus-within { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(28,126,214,.14); }
.numin span { padding: 0 14px; color: var(--muted); font-size: .88rem; border-left: 1px solid var(--line); align-self: stretch; display: flex; align-items: center; }

/* Sun-arc gauge */
.gauge { position: relative; margin: 0 auto 6px; max-width: 340px; }
.gauge svg { width: 100%; overflow: visible; }
.gauge__center { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; }
.gauge__n {
  font-family: var(--f-display); font-weight: 850; font-stretch: 116%;
  font-size: clamp(2.3rem, 5.2vw, 3.15rem); line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  background: var(--ramp-soft); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  display: block;
}
.gauge__l { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.62); font-weight: 700; font-family: var(--f-display); }

.res { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.res li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
.res .k { font-size: .9rem; color: rgba(255,255,255,.72); }
.res .v { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 1.1rem; font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.res .v--hl { color: var(--sun); }

.calc__note { font-size: .76rem; color: rgba(255,255,255,.55); margin-top: 20px; line-height: 1.5; }
.calc__cta { margin-top: 22px; }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: clamp(16px, 1.9vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: clamp(22px, 2.4vw, 30px); position: relative; overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ramp);
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: #f0dfc4; }
.card:hover::after { transform: scaleX(1); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }
.card__ico {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(140deg, #fff2d4, #ffe0b0); color: var(--signal); margin-bottom: 18px;
}
.card__ico svg { width: 26px; height: 26px; }
.card__tag {
  display: inline-block; font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  font-family: var(--f-display); color: var(--flare); margin-bottom: 8px;
}

/* Kachel mit Bild: ruhiger als eine Symbolfläche und zeigt, worum es geht */
.card--photo { padding: 0; overflow: hidden; }
.card--photo::after { display: none; }
.card--photo .card__img { aspect-ratio: 16 / 10; overflow: hidden; background: #f4f5f7; }
.card--photo .card__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s cubic-bezier(.2,.7,.3,1);
}
.card--photo:hover .card__img img { transform: scale(1.045); }
.card--photo .card__body { padding: clamp(20px, 2.2vw, 28px); }
.card--photo .card__body h3 { margin-bottom: 9px; }

.card--deep { color: #fff; background: rgba(255,255,255,.05); border-color: var(--line-dark); }
.card--deep p { color: rgba(255,255,255,.74); }
.card--deep .card__ico { background: rgba(255,198,30,.16); color: var(--sun); }
.card--deep:hover { border-color: rgba(255,198,30,.4); }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; gap: 4px; }
.step {
  display: grid; grid-template-columns: 78px 1fr; gap: clamp(16px, 2vw, 30px);
  padding: 26px 0; border-top: 1px solid var(--line); align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--f-display); font-weight: 850; font-stretch: 118%;
  font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: .9; letter-spacing: -.05em;
  background: var(--ramp); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; max-width: 68ch; }
@media (max-width: 620px) { .step { grid-template-columns: 54px 1fr; gap: 14px; } }

/* ---------- Systemdarstellung mit Markierungen ---------- */
.sysmap { margin: 0 0 clamp(40px, 5vw, 66px); }
.sysmap__stage { position: relative; }
.sysmap__stage img { width: 100%; height: auto; display: block; }

.hot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.96); color: var(--deep);
  border: 1.5px solid rgba(10,33,72,.20);
  font-family: var(--f-display); font-weight: 800; font-size: .84rem; line-height: 1;
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(10,33,72,.16);
  transition: transform .2s cubic-bezier(.2,.8,.3,1), background .2s, color .2s, border-color .2s;
}
.hot:hover, .hot:focus-visible, .hot.is-on {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--flare); color: #fff; border-color: var(--flare);
}

.sysmap figcaption { margin-top: clamp(18px, 2.4vw, 30px); }
.sysmap__legend {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 26px;
}
@media (max-width: 900px) { .sysmap__legend { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sysmap__legend { grid-template-columns: 1fr; } }
.sysmap__legend li {
  display: flex; align-items: center; gap: 12px; font-size: .93rem; color: var(--muted);
  padding: 6px 8px; border-radius: 10px; transition: background .2s, color .2s;
}
.sysmap__legend li b {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: #eef0f4; color: var(--deep); font-family: var(--f-display); font-size: .8rem; font-weight: 800;
  transition: background .2s, color .2s;
}
.sysmap__legend li.is-on { background: #fff6e6; color: var(--ink); }
.sysmap__legend li.is-on b { background: var(--flare); color: #fff; }
.sysmap__credit { margin-top: 14px; }

@media (max-width: 620px) {
  .hot { width: 28px; height: 28px; font-size: .76rem; }
}

/* Hinweis auf Neuheiten */
.newsline {
  margin-top: clamp(20px, 2.4vw, 30px);
  background: #fff6e6; border: 1px solid #ffdca0; border-left: 5px solid var(--flare);
  border-radius: var(--r-m); padding: 16px 22px; font-size: .93rem; color: var(--ink);
}

/* ---------- Aid table ---------- */
.tablewrap { color: var(--ink); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); -webkit-overflow-scrolling: touch; }
table.aid { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .93rem; }
table.aid caption { color: var(--muted); text-align: left; padding: 18px 20px 0; font-size: .8rem; color: var(--muted); caption-side: bottom; }
table.aid th, table.aid td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.aid thead th {
  background: var(--deep); color: #fff; font-family: var(--f-display); font-weight: 750; font-size: .82rem;
  letter-spacing: .05em; text-transform: uppercase; border-bottom: 0;
}
table.aid tbody tr:last-child td { border-bottom: 0; }
table.aid tbody tr:nth-child(even) { background: #fffdf9; }
table.aid td strong { font-family: var(--f-display); font-weight: 800; color: var(--signal); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Schmale Bildschirme: die dreispaltige Tabelle wird zu Karten.
   Seitliches Scrollen sieht man nicht — abgeschnittene Inhalte schon. */
@media (max-width: 760px) {
  .tablewrap { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  /* Flex statt block, damit die Quellenangabe unten bleibt:
     caption-side wirkt nur bei display:table. */
  table.aid { min-width: 0; display: flex; flex-direction: column; font-size: .95rem; }
  table.aid tbody { order: 1; }
  table.aid caption { order: 2; width: 100%; }
  table.aid thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.aid tbody, table.aid tr, table.aid td { display: block; width: 100%; }
  table.aid tr,
  table.aid tbody tr:nth-child(even) {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r-m); margin-bottom: 14px; padding: 6px 0 12px;
  }
  table.aid td { border-bottom: 0; padding: 8px 20px; }
  table.aid td::before {
    content: attr(data-label); display: block; margin-bottom: 4px;
    font-family: var(--f-display); font-size: .72rem; font-weight: 750;
    letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  }
  table.aid td:first-child {
    padding-top: 14px; font-family: var(--f-display); font-weight: 750;
    font-size: 1.06rem; color: var(--deep); letter-spacing: -.01em;
  }
  table.aid td:first-child::before { display: none; }
  table.aid td:nth-child(2) strong { font-size: 1.2rem; }
  table.aid caption { padding: 4px 4px 0; }
}

.notice {
  color: var(--ink);
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff5e0; border: 1px solid #ffdca0; border-left: 5px solid var(--flare);
  border-radius: var(--r-m); padding: 20px 24px; margin-top: 26px;
}
.notice svg { flex: none; color: var(--flare); margin-top: 2px; }
.notice p { font-size: .9rem; }
.notice strong { color: var(--deep); }

/* ---------- Downloads ---------- */
.dl {
  color: var(--ink);
  display: flex; flex-direction: column; gap: 14px; text-decoration: none; height: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: clamp(20px, 2.2vw, 28px);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.dl:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: #f0dfc4; }
.dl__ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--deep); color: var(--sun); }
.dl__ico svg { width: 22px; height: 22px; }
.dl h3 { font-size: 1.02rem; }
.dl p { color: var(--muted); font-size: .88rem; flex: 1; }
.dl__meta { font-size: .76rem; color: var(--flare); font-weight: 750; font-family: var(--f-display); letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: .4em; }

/* ---------- Partners ---------- */
.partner {
  color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; height: 100%;
}
.partner__brand { display: flex; align-items: center; min-height: 82px; }
.partner__brand img { height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.partner__brand--dark {
  background: var(--deep); border-radius: 16px; padding: 16px 22px; align-self: flex-start;
  max-width: 100%;
}
/* Das SOLPALUX-Logo trägt drei Textzeilen und ein Emblem — es braucht
   mehr Höhe als eine reine Wortmarke, sonst ist "powered by" unleserlich. */
.partner__brand--dark img { height: 74px; }
@media (max-width: 480px) { .partner__brand--dark img { height: 58px; } }
.partner__brand img + .partner__logo { display: none; }
.partner__brand.no-logo img { display: none; }
.partner__brand.no-logo .partner__logo { display: block; }
.partner__suffix { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; color: var(--muted); margin-top: -6px; }

.partner__logo {
  font-family: var(--f-display); font-weight: 850; font-stretch: 112%; font-size: 1.5rem;
  letter-spacing: -.03em; color: var(--deep); line-height: 1;
}
.partner__brand--dark .partner__logo { color: #fff; }
.partner__brand--dark .partner__logo i { color: var(--sun); }
.partner__logo i { font-style: normal; color: var(--signal); }
.partner__role { font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 750; color: var(--flare); font-family: var(--f-display); }
.partner ul { display: grid; gap: 10px; margin-top: 2px; }
.partner li { display: flex; gap: 11px; font-size: .93rem; color: var(--muted); }
.partner li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ramp); flex: none; margin-top: .48em; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 46px 22px 0; position: relative;
  font-family: var(--f-display); font-weight: 750; font-size: 1.04rem; font-stretch: 104%; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 13px; height: 13px;
  border-right: 2.5px solid var(--flare); border-bottom: 2.5px solid var(--flare);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--signal); }
.faq .a { padding: 0 0 24px; color: var(--muted); font-size: .96rem; max-width: 74ch; }

/* ---------- Form ---------- */
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.formgrid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .formgrid { grid-template-columns: 1fr; } }

.lbl { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 7px; font-family: var(--f-display); font-stretch: 104%; }
.lbl .req { color: var(--signal); }
.inp, select.inp, textarea.inp {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); transition: border-color .16s, box-shadow .16s;
  font-size: .96rem;
}
textarea.inp { min-height: 130px; resize: vertical; }
select.inp {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%235a6b87' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px;
}
.inp:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(28,126,214,.14); }
.inp::placeholder { color: #9aa7bb; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--flare); }
.check a { color: var(--signal); }

.formerr {
  background: #ffeceb; border: 1px solid #f6b7b2; border-left: 5px solid var(--signal);
  color: #8c1810; border-radius: 12px; padding: 14px 18px; margin: 0 0 22px; font-size: .92rem;
}

.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

.formbox {
  color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(24px, 3.2vw, 44px); box-shadow: var(--shadow-s);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: clamp(24px, 3.5vw, 52px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-side ul { display: grid; gap: 20px; margin-top: 26px; }
.contact-side li { display: flex; gap: 14px; align-items: flex-start; }
.contact-side .ci {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: rgba(255,198,30,.16); color: var(--sun);
}
.contact-side .ci svg { width: 20px; height: 20px; }
.contact-side .ck { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; font-family: var(--f-display); display: block; margin-bottom: 3px; }
.contact-side .cv { font-weight: 650; }
.contact-side .cv a { display: inline-block; padding: 4px 0; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.contact-side .cv a:hover { border-bottom-color: var(--sun); color: var(--sun); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line-dark); border-radius: var(--r-l); overflow: hidden; }
.stats div { background: rgba(255,255,255,.04); padding: clamp(22px, 2.6vw, 32px) clamp(16px, 2vw, 26px); }
.stats .n {
  font-family: var(--f-display); font-weight: 850; font-stretch: 116%; letter-spacing: -.04em;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem); line-height: 1; display: block; margin-bottom: 8px;
  background: var(--ramp-soft); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.stats .t { font-size: .84rem; color: rgba(255,255,255,.7); line-height: 1.4; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 62px); align-items: center; }
.split--rev .split__media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }
.split__media img { border-radius: var(--r-xl); box-shadow: var(--shadow-m); width: 100%; aspect-ratio: 4/3; object-fit: cover; background: linear-gradient(150deg,#ffd75a,#ff7a18); }
.ticks { display: grid; gap: 14px; margin-top: 26px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; font-size: .96rem; }
.ticks li svg { flex: none; margin-top: 3px; color: var(--flare); }

/* ---------- CTA band ---------- */
.band {
  background: var(--ramp); color: #2a1200; border-radius: var(--r-xl);
  padding: clamp(30px, 4vw, 52px); display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap; box-shadow: 0 22px 60px rgba(255,122,24,.28);
}
.band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 22ch; color: #2a1200; }
.band p { margin-top: 10px; font-size: .98rem; max-width: 46ch; color: rgba(42,18,0,.78); }

/* ---------- Footer ---------- */
.ftr { background: var(--deep-2); color: rgba(255,255,255,.72); padding-block: clamp(48px, 6vw, 74px) 30px; font-size: .9rem; }
.ftr__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px, 3vw, 44px); padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 860px) { .ftr__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__top { grid-template-columns: 1fr; } }
.ftr h4 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 750; }
.ftr ul { display: grid; gap: 4px; }
.ftr ul a { display: inline-block; padding: 6px 0; }
.ftr a { color: rgba(255,255,255,.72); text-decoration: none; }
.ftr a:hover { color: var(--sun); }
.ftr .brand__fallback { color: #fff; margin-bottom: 14px; font-size: 1.24rem; }
.ftr__logo.no-logo img { display: none; }
.ftr__logo.no-logo .brand__fallback { display: block; }
.ftr .brand__fallback i { color: var(--sun); }
.ftr__legal { padding-top: 24px; font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.6; }
.ftr__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 18px; font-size: .8rem; }
.ftr__logo img { height: 42px; width: auto; max-width: 250px; object-fit: contain; margin-bottom: 16px; }

/* ---------- Legal / text pages ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 44px 0 14px; }
.prose h3 { font-size: 1.08rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: .97rem; }
.prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; margin-bottom: 1em; }
.prose ul li { display: list-item; }
.prose a { color: var(--signal); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }

/* ---------- Thank-you ---------- */
.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: clamp(60px,8vw,110px); }
.thanks__ico { width: 88px; height: 88px; border-radius: 50%; background: var(--ramp); display: grid; place-items: center; margin: 0 auto 28px; color: #fff; box-shadow: 0 18px 46px rgba(255,122,24,.36); }

/* ---------- Auftritt beim Laden ---------- */
@keyframes riseIn   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes slideInR { from { opacity: 0; transform: translateX(52px) scale(.965); } to { opacity: 1; transform: none; } }
@keyframes popIn    { 0% { opacity: 0; transform: scale(.84) translateY(16px); }
                      62% { opacity: 1; transform: scale(1.045) translateY(0); }
                      100% { opacity: 1; transform: scale(1); } }
@keyframes settle   { from { transform: scale(1.085); } to { transform: scale(1); } }
@keyframes sheen    { from { transform: translateX(-130%) skewX(-14deg); }
                      to   { transform: translateX(340%) skewX(-14deg); } }
@keyframes haloPulse{ 0%,100% { opacity: .55; } 50% { opacity: 1; } }

.anim { opacity: 0; animation: riseIn .9s cubic-bezier(.18,.82,.24,1) var(--d, 0s) both; }
.anim--right { animation-name: slideInR; animation-duration: 1.05s; }
.anim--pop   { animation-name: popIn; animation-duration: .78s; }

.hero h1 .hl { display: block; }

/* das Banner setzt sich beim Laden weich */
.hero__banner { overflow: hidden; }
.hero__banner img { animation: settle 2.8s cubic-bezier(.16,.84,.28,1) both; transform-origin: 62% 42%; }

/* einmaliger Lichtstreif quer über den Kopfbereich */
.hero__sheen { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero__sheen::before {
  content: ""; position: absolute; top: -25%; bottom: -25%; left: 0; width: 26%;
  background: linear-gradient(96deg, rgba(255,232,180,0) 0%, rgba(255,226,160,.20) 45%, rgba(255,255,255,.13) 62%, rgba(255,232,180,0) 100%);
  filter: blur(3px);
  transform: translateX(-130%) skewX(-14deg);
  animation: sheen 2.1s cubic-bezier(.36,0,.18,1) .5s 1 both;
}

/* Sonne im Bogen atmet leicht */
#arc-halo { animation: haloPulse 3.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1 !important; animation: none !important; transform: none !important; }
  .hero__banner img { animation: none !important; }
  .hero__sheen { display: none; }
  #arc-halo { animation: none; }
}

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ---------- Print ---------- */
@media print {
  .hdr, .band, .burger, .lang, .calc__out, .ftr { display: none !important; }
  body { background: #fff; color: #000; }
}
