/* Generated by scripts/scope-css.mjs from the design-system source. Do not edit. */
@font-face { font-family: 'Schibsted Grotesk'; font-weight: 400 900; font-style: normal; font-display: swap; src: url('fonts/schibsted-grotesk.woff') format('woff'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 100 900; font-style: normal; font-display: swap; src: url('fonts/hanken-grotesk.woff') format('woff'); }
/* PageStreet Energy landing: brand guidelines v1.1 (Ink, Paper, Schibsted Grotesk + Hanken Grotesk, square shapes).
   Energy is the one page with its own accent: Energy Green takes the place of Signal Yellow. */
#pse {
  --ink: #111111;
  --paper: #FDFCF9;
  --accent: #4FD08B;          /* Energy Green: highlight band, dots, rules, accents on Ink */
  --accent-deep: #1D7447;     /* the same green dark enough for text and icons on Paper */
  --accent-soft: #E3F6EB;
  --slate: #68717D;
  --n700: #3A4049;
  --n500: #525A65;
  --n300: #C9CED5;
  --n200: #E6E9ED;
  --n100: #F1F3F5;
  --warn: #9A5B12;
  --warn-soft: #FBF1E2;
  --danger: #B42318;
  --font-display: "Schibsted Grotesk", Arial, sans-serif;
  --font-text: "Hanken Grotesk", Arial, sans-serif;
  --wrap: 1392px;          /* with the gutters the page is 1440px wide, like the Finance page */
  --gutter: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

#pse *, #pse *::before, #pse *::after { box-sizing: border-box; }
#pse { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 84px; }
#pse { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-text); font-size: 17px; line-height: 1.6; }
/* The glow behind the starter field reaches past the gutter on phones; clip keeps it from causing a sideways scroll */
#pse, #pse { overflow-x: clip; }
body.lock { overflow: hidden; }
#pse img { display: block; max-width: 100%; }
#pse a { color: inherit; }
#pse h1, #pse h2, #pse h3, #pse h4, #pse p, #pse ol, #pse ul, #pse figure, #pse blockquote, #pse dl, #pse dd { margin: 0; }
#pse h1, #pse h2, #pse h3, #pse h4 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
#pse p, #pse blockquote { text-wrap: pretty; }
#pse ol, #pse ul { padding: 0; list-style: none; }
#pse button, #pse input, #pse select, #pse textarea { font: inherit; color: inherit; }
#pse :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
#pse .on-dark :focus-visible { outline-color: var(--paper); }
#pse ::selection { background: var(--accent); color: var(--ink); }
#pse .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#pse .wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { #pse { --gutter: 16px; } }

/* Brand shapes */
#pse .dot { display: inline-block; width: .16em; height: .16em; background: var(--accent); margin-left: .06em; }
#pse .mark { background: linear-gradient(transparent 60%, var(--accent) 60%, var(--accent) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .04em; }
#pse .on-dark .mark { background: none; color: var(--accent); }
#pse .label { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
#pse .label::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
#pse .on-dark .label { color: var(--n300); }
#pse .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#pse .title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.025em; max-width: 22ch; }
/* Title with its intro right below: a short intro on its own at the far right read as lost */
#pse .section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 48px; }
#pse .section-head .label { margin-bottom: 16px; }
#pse .section-head .title { max-width: 26ch; }
#pse .section-head p { color: var(--n700); max-width: 64ch; font-size: 18px; }
@media (max-width: 900px) { #pse .section-head { margin-bottom: 36px; } #pse .section-head p { font-size: 17px; } }
#pse section { padding: 104px 0; }
@media (max-width: 900px) { #pse section { padding: 72px 0; } }
#pse .band-grey { background: var(--n100); border-block: 1px solid var(--n200); }

/* Buttons: square, solid, one main action per view */
#pse .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--font-text); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
#pse .btn .icon { transition: transform .25s var(--ease); }
#pse .btn:hover .icon.arrow { transform: translateX(3px); }
#pse .btn-primary { background: var(--ink); color: var(--paper); }
#pse .btn-primary:hover { background: var(--n700); }
#pse .btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
#pse .btn-outline:hover { background: var(--ink); color: var(--paper); }
#pse .btn-light { background: var(--paper); color: var(--ink); }
#pse .btn-light:hover { background: var(--accent); }
#pse .btn-ghost-light { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(253, 252, 249, .5); }
#pse .btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }
#pse .btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
#pse .btn:disabled { background: var(--n200); color: var(--slate); cursor: not-allowed; }
#pse .link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; background: none; border: 0; padding: 0; cursor: pointer; }
#pse .link:hover { text-decoration-color: var(--ink); }

/* Header */
#pse .site-header { position: sticky; top: 0; z-index: 40; background: rgba(253, 252, 249, .96); border-bottom: 1px solid var(--n200); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#pse .site-header .wrap { height: 68px; display: flex; align-items: center; gap: 28px; }
#pse .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
#pse .brand-logo { height: 30px; width: auto; display: block; }
#pse .brand-unit { padding-left: 12px; border-left: 1px solid var(--n300); font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
#pse .site-nav { display: flex; gap: 24px; font-size: 14.5px; }
#pse .site-nav a { text-decoration: none; }
#pse .site-nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
#pse .nav-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
#pse .site-header .btn { height: 42px; padding: 0 18px; font-size: 14px; }
@media (max-width: 1180px) { #pse .site-nav { display: none; } }
@media (max-width: 640px) { #pse .nav-phone span, #pse .brand-unit { display: none; } #pse .brand-logo { height: 26px; } #pse .site-header .wrap { gap: 16px; } }

/* Hero: copy left, photo right with the example panel */
#pse .hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: calc(100svh - 68px); padding: 0; }
#pse .hero-grid { align-self: center; }
#pse .hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: stretch; padding-top: 40px; padding-bottom: 40px; }
#pse .hero-copy { align-self: center; }
#pse .hero h1 { margin-top: 20px; font-size: clamp(40px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -.035em; }
#pse .hero .lead { margin-top: 20px; font-size: 19px; color: var(--n700); max-width: 62ch; }
#pse .starter { margin-top: 32px; max-width: 600px; }
#pse .starter-label { display: block; margin-bottom: 10px; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
#pse .starter-field { position: relative; display: flex; border: 3px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, var(--ink) 0 10%, var(--accent) 25%, var(--ink) 40% 60%, var(--accent) 75%, var(--ink) 90%) border-box; background-size: 100% 100%, 300% 100%; animation: frame 4s linear infinite; }
#pse .starter-field::before { content: ""; position: absolute; inset: -12px; z-index: -1; background: linear-gradient(90deg, rgba(79, 208, 139, .12), var(--accent), rgba(79, 208, 139, .12), var(--accent), rgba(79, 208, 139, .12)); background-size: 300% 100%; animation: glow 4s linear infinite; filter: blur(18px); opacity: .7; pointer-events: none; }
@keyframes frame { from { background-position: 0 0, 0% 50%; } to { background-position: 0 0, 150% 50%; } }
@keyframes glow { from { background-position: 0% 50%; } to { background-position: 150% 50%; } }
#pse .starter select { flex: 1; min-width: 0; height: 62px; padding: 0 44px 0 18px; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; appearance: none; font-size: 17px; font-weight: 500; cursor: pointer; }
#pse .starter select:focus { outline: none; }
#pse .starter .btn { height: auto; margin: 6px; }
#pse .starter-hint { margin-top: 14px; font-size: 14px; color: var(--slate); }
#pse .hero-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
#pse .experts { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--n200); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
#pse .experts-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-right: 6px; }
#pse .experts-label .icon { color: var(--accent-deep); }
#pse .chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; font-size: 13px; font-weight: 500; background: var(--n100); border: 1px solid var(--n200); }
#pse .hero-media { position: relative; min-height: 0; align-self: center; }
/* Hero panel: a day's load profile; the green line shaves the peaks the grey one shows */
#pse .load-panel { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--ink); color: var(--paper); }
#pse .load-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; }
#pse .load-legend { display: flex; gap: 18px; font-size: 13px; color: var(--n300); }
#pse .load-legend li { display: flex; align-items: center; gap: 8px; }
#pse .load-legend i { width: 18px; height: 2px; }
#pse .lg-before { background: #8A929C; }
#pse .lg-after { background: var(--accent); height: 3px !important; }
#pse .load-chart { flex: none; width: 100%; height: auto; overflow: visible; }
#pse .load-chart text { font-family: var(--font-text); font-size: 11px; fill: var(--n300); font-variant-numeric: tabular-nums; }
#pse .load-chart .lp-grid { stroke: rgba(253, 252, 249, .1); stroke-width: 1; }
#pse .load-chart .lp-before { fill: none; stroke: #8A929C; stroke-width: 1.5; stroke-linejoin: round; }
#pse .load-chart .lp-after { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
#pse .load-chart .lp-area { fill: var(--accent); opacity: .2; }
#pse .load-chart .lp-cap { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 4 4; }
#pse .load-chart .lp-peak { fill: #8A929C; }
#pse .load-chart .lp-cap-label { fill: var(--accent); font-weight: 600; }
#pse.js .load-chart .lp-before, #pse.js .load-chart .lp-after { stroke-dasharray: 1; stroke-dashoffset: 1; }
#pse.js .load-chart .lp-area, #pse.js .load-chart .lp-mark { opacity: 0; }
#pse.js .in .load-chart .lp-before { animation: lp-draw 1.8s var(--ease) .3s forwards; }
#pse.js .in .load-chart .lp-after { animation: lp-draw 1.8s var(--ease) 1.6s forwards; }
#pse.js .in .load-chart .lp-area { animation: lp-fade .8s ease 2.9s forwards; }
#pse.js .in .load-chart .lp-mark { animation: lp-fade .6s ease 1.2s forwards; }
#pse.js .in .load-chart .lp-mark.after { animation-delay: 3.1s; }
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
@keyframes lp-fade { to { opacity: 1; } }
#pse .estimate { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: end; padding: 16px 18px; background: var(--paper); color: var(--ink); }
#pse .estimate-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
#pse .estimate-head em { font-style: normal; color: var(--accent-deep); }
#pse .estimate dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2px 22px; }
#pse .estimate dl div { display: flex; flex-direction: column-reverse; font-size: 14px; }
#pse .estimate dt { font-size: 12.5px; color: var(--slate); }
#pse .estimate dd { font-weight: 600; white-space: nowrap; }
#pse .estimate-total { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; box-shadow: inset 0 -6px 0 var(--accent); justify-self: start; }
#pse .estimate small { grid-column: 1 / -1; font-size: 12px; color: var(--slate); }
/* Laptops: everything down to the client band fits the first screen */
@media (max-height: 960px) and (min-width: 1061px) {
  #pse .hero h1 { margin-top: 16px; font-size: clamp(38px, 3.7vw, 52px); }
  #pse .hero .lead { margin-top: 14px; font-size: 17px; }
  #pse .starter { margin-top: 22px; }
  #pse .starter-label { font-size: 16px; margin-bottom: 8px; }
  #pse .starter select { height: 56px; }
  #pse .starter-hint { margin-top: 10px; }
  #pse .hero-links { margin-top: 12px; }
  #pse .experts { margin-top: 16px; padding-top: 14px; }
  #pse .experts .chip { display: none; }
  #pse .load-panel { padding: 20px; gap: 10px; }
}
/* Laptops around 720px tall: the lead keeps its first sentence, the expert line and the field note step back */
@media (max-height: 780px) and (min-width: 1061px) {
  #pse .hero-grid { padding-top: 24px; padding-bottom: 24px; }
  #pse .hero h1 { font-size: clamp(36px, 3.3vw, 46px); }
  #pse .hero .lead .lead-more, #pse .starter-hint, #pse .experts { display: none; }
  #pse .load-panel { padding: 14px 16px; gap: 8px; }
  #pse .load-head { display: none; }
  #pse .estimate { padding: 12px 14px; }
  #pse .estimate small { display: none; }
  #pse .estimate-total { font-size: 21px; }
  #pse .clients { padding: 16px 0; }
}
@media (max-width: 1060px) {
  #pse .hero { min-height: 0; }
  #pse .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 56px; }

}
@media (max-width: 560px) {
  #pse .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  #pse .hero .lead { font-size: 16.5px; }
  #pse .starter-field { flex-wrap: wrap; }
  #pse .starter select { flex-basis: 100%; height: 58px; }
  #pse .starter .btn { flex-basis: 100%; height: 52px; margin: 0; }
  #pse .load-panel { padding: 18px 14px 14px; }
  #pse .estimate { grid-template-columns: 1fr; }
  #pse .estimate dl { grid-template-columns: repeat(3, minmax(0, auto)); gap: 2px 14px; }
  #pse .estimate dd { white-space: normal; }
}

/* Clients: marquee at the foot of the hero, as on the Forschungszulage page */
#pse .clients { background: var(--n100); border-block: 1px solid var(--n200); padding: 22px 0; }
#pse .clients .wrap { display: flex; align-items: center; gap: 32px; }
#pse .clients-label { flex: none; font-size: 14px; font-weight: 600; line-height: 1.3; max-width: 19ch; }
/* The mask isolates blending, so marquee and tracks carry the band colour for the logos' white to multiply away */
#pse .client-marquee { flex: 1; min-width: 0; display: flex; overflow: hidden; contain: inline-size; background: var(--n100); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
#pse .client-track { flex: none; display: flex; align-items: center; gap: 56px; padding-right: 56px; background: var(--n100); animation: client-scroll 50s linear infinite; }
#pse .client-marquee:hover .client-track { animation-play-state: paused; }
#pse .client-track li { flex: none; display: flex; align-items: center; height: 56px; }
#pse .client-track img { width: auto; max-width: none; filter: grayscale(1); mix-blend-mode: multiply; opacity: .75; transition: filter .2s ease, opacity .2s ease; }
#pse .client-track li:hover img { filter: none; opacity: 1; }
@keyframes client-scroll { to { transform: translateX(-100%); } }
@media (max-width: 640px) { #pse .clients .wrap { flex-direction: column; align-items: stretch; gap: 12px; } #pse .clients-label { max-width: none; } #pse .client-track { gap: 36px; padding-right: 36px; } }
#pse .numbers { padding: 56px 0 8px; }
#pse .numbers dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
#pse .numbers dl > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 0 28px; border-left: 1px solid var(--accent); }
#pse .numbers dl > div:first-child { padding-left: 0; border-left: 0; }
#pse .numbers dd { font-family: var(--font-display); font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
#pse .numbers dt { font-size: 14.5px; color: var(--slate); }
@media (max-width: 900px) {
  #pse .numbers dl { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  #pse .numbers dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* Services */
#pse .services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#pse .service { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; background: #fff; border: 1px solid var(--n300); transition: border-color .2s ease; }
#pse .service:hover { border-color: var(--ink); }
#pse .service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
#pse .service-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--accent); }
#pse .service-icon .icon { width: 22px; height: 22px; }
#pse .service-tag { font-size: 12.5px; font-weight: 600; padding: 4px 10px; background: var(--accent-soft); color: var(--accent-deep); }
#pse .service-norm { font-family: var(--font-display); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
#pse .service h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
#pse .service > p { font-size: 15px; color: var(--n700); }
#pse .service details { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--n200); }
#pse .service summary { cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
#pse .service summary::-webkit-details-marker { display: none; }
#pse .service summary::after { content: "+"; font-size: 20px; line-height: 1; transition: transform .2s ease; }
#pse .service details[open] summary::after { transform: rotate(45deg); }
#pse .service details ul { margin-top: 12px; display: grid; gap: 8px; }
#pse .service details li, #pse .ticks li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.45; }
#pse .service details li::before, #pse .ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; background: var(--accent); }
#pse .service-bill { margin-top: 12px; padding: 10px 12px; font-size: 13.5px; color: var(--n700); background: var(--n100); }
#pse .service .link { margin-top: 14px; align-self: flex-start; font-size: 14.5px; }
#pse .feature { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 44px; background: var(--ink); color: var(--paper); }
#pse .feature .service-norm { color: var(--accent); }
#pse .feature h3 { margin-top: 10px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.02em; }
#pse .feature p { margin-top: 14px; color: var(--n300); }
#pse .feature blockquote { margin-top: 20px; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--accent); }
#pse .feature .ticks { display: grid; gap: 12px; align-content: start; }
#pse .feature .ticks li { font-size: 15.5px; color: var(--paper); }
#pse .feature-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
#pse .notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; background: var(--warn-soft); color: var(--ink); border-left: 4px solid var(--warn); }
#pse .notice .icon { color: var(--warn); margin-top: 2px; }
#pse .feature .notice { background: rgba(253, 252, 249, .08); color: var(--paper); border-left-color: var(--accent); }
#pse .feature .notice .icon { color: var(--accent); }
#pse .industries { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--n300); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
#pse .industries h3 { grid-column: 1 / -1; }
#pse .industry { display: flex; gap: 14px; align-items: flex-start; }
#pse .industry .icon { width: 26px; height: 26px; color: var(--accent-deep); margin-top: 2px; }
#pse .industry b { display: block; font-size: 16px; }
#pse .industry span { font-size: 14px; color: var(--slate); }
@media (max-width: 1060px) { #pse .services { grid-template-columns: 1fr 1fr; } #pse .feature { grid-template-columns: 1fr; gap: 28px; padding: 32px; } #pse .industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { #pse .services, #pse .industries { grid-template-columns: 1fr; } #pse .feature { padding: 28px 20px; } }

/* Why a person checks: two columns on Ink */
#pse .why { background: var(--ink); color: var(--paper); }
#pse .why .section-head p { color: var(--n300); }
#pse .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(253, 252, 249, .16); border: 1px solid rgba(253, 252, 249, .16); }
#pse .compare > div { padding: 32px; background: var(--ink); }
#pse .compare h3 { font-size: 20px; margin-bottom: 18px; }
#pse .compare ul { display: grid; gap: 12px; }
#pse .compare li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
#pse .compare .no li { color: var(--n300); }
#pse .compare .no .icon { color: var(--n500); }
#pse .compare .yes { box-shadow: inset 4px 0 0 var(--accent); }
#pse .compare .yes .icon { color: var(--accent); }
@media (max-width: 760px) { #pse .compare { grid-template-columns: 1fr; } #pse .compare > div { padding: 24px 20px; } }

/* Check: estimate card and steps */
#pse .check-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; }
#pse .calc { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: #fff; border: 1px solid var(--n300); }
#pse .calc h3 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
#pse .calc > p { font-size: 15.5px; color: var(--n700); }
#pse .calc-box { margin-top: auto; padding: 20px; background: var(--n100); }
#pse .calc-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--slate); }
#pse .calc-row b { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
#pse .calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 16px 0 6px; background: linear-gradient(90deg, var(--ink) var(--p, 45%), var(--n300) var(--p, 45%)); outline: none; cursor: pointer; }
#pse .calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; background: var(--accent); border: 3px solid var(--ink); cursor: pointer; }
#pse .calc input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 0; background: var(--accent); border: 3px solid var(--ink); }
#pse .calc-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--slate); }
#pse .calc-total { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--n300); }
#pse .calc-total b { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
#pse .calc-typ { margin-top: 6px; font-size: 14px; color: var(--n700); }
#pse .calc small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--slate); }
#pse .calc .btn { align-self: flex-start; }
#pse .how { display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--ink); color: var(--paper); }
#pse .how .label { color: var(--n300); }
#pse .how h3 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
#pse .how ol { display: grid; gap: 20px; margin: 6px 0 4px; }
#pse .how li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
#pse .how li > b { width: 40px; height: 40px; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-family: var(--font-display); font-size: 15px; }
#pse .how strong { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
#pse .how li span { font-size: 15px; color: var(--n300); }
#pse .how-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1060px) { #pse .check-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { #pse .calc, #pse .how { padding: 24px 20px; } }

/* Process: five steps on one rule */
#pse .journey { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
#pse .journey::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--n300); }
#pse .journey li { position: relative; }
#pse .journey .step-num { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--accent); font-family: var(--font-display); font-size: 15px; font-weight: 700; }
#pse .journey h3 { margin-top: 18px; font-size: 19px; }
#pse .journey p { margin-top: 6px; font-size: 14.5px; color: var(--n700); }
@media (max-width: 900px) {
  #pse .journey { grid-template-columns: 1fr; gap: 22px; }
  #pse .journey::before { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  #pse .journey li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; }
  #pse .journey h3 { margin-top: 8px; }
  #pse .journey p { grid-column: 2; }
}

/* References */
#pse .projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--n300); }
#pse .project { padding: 22px 22px 22px 0; display: flex; flex-direction: column; gap: 6px; }
#pse .project + .project { padding-left: 22px; border-left: 1px solid var(--n300); }
#pse .project small { font-family: var(--font-display); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
#pse .project b { font-size: 16px; line-height: 1.35; }
#pse .project-value { margin-top: auto; padding-top: 10px; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
#pse .project-value span { display: block; font-family: var(--font-text); font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--slate); }
#pse .ref-grid { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
#pse .volume { padding: 32px; background: var(--ink); color: var(--paper); }
#pse .volume h3 { font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--n300); }
#pse .volume-total { margin: 8px 0 24px; font-family: var(--font-display); font-size: 48px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
#pse .volume-total em { font-style: normal; color: var(--accent); }
#pse .bar { margin-bottom: 16px; }
#pse .bar-label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 6px; color: var(--n300); }
#pse .bar-label b { color: var(--paper); font-variant-numeric: tabular-nums; white-space: nowrap; }
#pse .bar-track { height: 8px; background: rgba(253, 252, 249, .12); }
#pse .bar-track i { display: block; height: 100%; width: var(--w); background: var(--accent); transform-origin: left; }
#pse.js .bar-track i { transform: scaleX(0); transition: transform 1.4s var(--ease); }
#pse.js .in .bar-track i { transform: none; }
#pse .volume small, #pse .case-note { display: block; margin-top: 10px; font-size: 12.5px; color: var(--slate); }
#pse .volume small { color: var(--n300); }
#pse .case { padding: 32px; background: #fff; border: 1px solid var(--n300); }
#pse .case h3 { margin: 12px 0 20px; font-size: 24px; line-height: 1.2; letter-spacing: -.015em; }
#pse .timeline { position: relative; display: grid; gap: 16px; padding-left: 30px; }
#pse .timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--n300); }
#pse .timeline li { position: relative; }
#pse .timeline li::before { content: ""; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; background: #fff; border: 2px solid var(--ink); }
#pse .timeline li:last-child::before { background: var(--accent); }
#pse .timeline b { display: block; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
#pse .timeline span { font-size: 15px; color: var(--n700); }
#pse .case-kpis { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#pse .case-kpis div { display: flex; flex-direction: column-reverse; padding: 14px; background: var(--n100); }
#pse .case-kpis dd { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
#pse .case-kpis dt { font-size: 12.5px; color: var(--slate); }
#pse .quotes { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* Testimonials: white cards on the grey band, a green rule on top, the quote set larger; they lift a little on hover */
#pse .quote { display: flex; flex-direction: column; gap: 22px; padding: 34px 32px 28px; background: #fff; border: 1px solid var(--n200); border-top: 3px solid var(--accent); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
#pse .quote:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17, 17, 17, .08); }
#pse .quote blockquote { flex: 1; font-size: 17px; line-height: 1.6; color: var(--ink); }
#pse .quote figcaption { padding-top: 18px; border-top: 1px solid var(--n200); font-size: 14px; line-height: 1.45; }
#pse .quote figcaption strong { display: block; font-family: var(--font-display); font-size: 15.5px; font-weight: 700; }
#pse .quote figcaption span { color: var(--slate); }
@media (prefers-reduced-motion: reduce) { #pse .quote, #pse .quote:hover { transition: none; transform: none; } }
@media (max-width: 1060px) { #pse .projects { grid-template-columns: 1fr 1fr; } #pse .project:nth-child(3) { padding-left: 0; border-left: 0; } #pse .project:nth-child(n+3) { border-top: 1px solid var(--n300); } #pse .ref-grid, #pse .quotes { grid-template-columns: 1fr; } }
@media (max-width: 640px) { #pse .projects { grid-template-columns: 1fr; } #pse .project, #pse .project + .project { padding: 18px 0; border-left: 0; } #pse .project + .project { border-top: 1px solid var(--n300); } #pse .case-kpis { grid-template-columns: 1fr; } #pse .volume, #pse .case { padding: 24px 20px; } }

/* Checklist download */
/* Ink band with a green field; the checklist breaks out of the band above and below, a second sheet behind it.
   On hover (band or button) the sheet lifts and straightens and the one behind fans out. */
#pse .checklist { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); background: var(--ink); color: var(--paper); margin-block: 72px; }
#pse .checklist-doc { position: relative; display: grid; place-items: center; padding: 0 40px; background: var(--accent); }
#pse .doc-stack { position: relative; width: min(100%, 330px); margin: -56px 0; }
#pse .doc-stack::before, #pse .doc-stack::after { content: ""; position: absolute; inset: 0; background: var(--paper); box-shadow: 0 1px 0 rgba(17, 17, 17, .08); transition: transform .5s var(--ease); }
#pse .doc-stack::before { transform: rotate(5deg) translate(10px, 4px); background: #E9EEEA; }
#pse .doc-stack::after { transform: rotate(2.5deg) translate(4px, 2px); background: #F4F6F4; }
#pse .doc-stack img { position: relative; z-index: 1; display: block; width: 100%; height: auto; transform: rotate(-2deg); box-shadow: 0 30px 60px -30px rgba(17, 17, 17, .7); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
#pse .doc-tag { position: absolute; z-index: 2; right: -18px; top: 28px; padding: 6px 10px; background: var(--ink); color: var(--accent); font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transform: rotate(4deg); transition: transform .5s var(--ease); }
#pse .checklist:hover .doc-stack img, #pse .checklist:focus-within .doc-stack img { transform: rotate(0) translateY(-12px); box-shadow: 0 44px 70px -30px rgba(17, 17, 17, .75); }
#pse .checklist:hover .doc-stack::before, #pse .checklist:focus-within .doc-stack::before { transform: rotate(9deg) translate(26px, 8px); }
#pse .checklist:hover .doc-stack::after, #pse .checklist:focus-within .doc-stack::after { transform: rotate(4.5deg) translate(12px, 4px); }
#pse .checklist:hover .doc-tag, #pse .checklist:focus-within .doc-tag { transform: rotate(0) translateY(-12px); }
#pse .checklist-copy { align-self: center; padding: 56px 64px; }
#pse .checklist .label { color: var(--n300); }
#pse .checklist h2 { margin: 14px 0 12px; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -.025em; max-width: 20ch; }
#pse .checklist p { margin-bottom: 26px; max-width: 52ch; color: var(--n300); }
#pse .checklist .btn .icon { transition: transform .3s var(--ease); }
#pse .checklist .btn:hover .icon { transform: translateY(2px); }
@media (max-width: 760px) {
  #pse .checklist { grid-template-columns: 1fr; margin-block: 40px 0; }
  #pse .checklist-doc { padding: 0 20px 32px; }
  #pse .doc-stack { width: min(70%, 220px); margin: -40px 0 0; }
  #pse .doc-tag { right: -10px; }
  #pse .checklist-copy { padding: 28px 20px 32px; }
}

/* About */
#pse .about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
#pse .about h2 { margin: 16px 0 20px; }
#pse .about p { color: var(--n700); margin-bottom: 14px; max-width: 60ch; }
#pse .about .ticks { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
/* Fördermittel-Check page: the text on the left, the map of the group's offices on the right (top aligned with the title),
   and the group's facts as a full-width strip below; the counts run up when they scroll in */
#pse .about.about-offices { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 0 72px; }
#pse .about-side { padding-top: 40px; }
#pse .regions.regions-solo { display: block; margin: 0; }
#pse .regions-solo .regions-map { max-width: 340px; margin: 0 auto; }
#pse .rm-region .rm-dot { fill: var(--paper); stroke: var(--accent-deep); stroke-width: 1.5; }
#pse .rm-region text { font-family: var(--font-text); font-size: 11px; font-weight: 500; fill: var(--slate); }
#pse .rm-office .rm-dot { fill: var(--accent-deep); stroke: var(--paper); stroke-width: 1.5; }
#pse .rm-tail { fill: none; stroke: var(--accent-deep); stroke-width: 1.4; stroke-dasharray: 3 3; opacity: .7; }
#pse.js .regions .rm-tail { opacity: 0; transition: opacity .6s ease 2.6s; }
#pse.js .regions.in .rm-tail { opacity: .7; }
#pse .map-legend { display: flex; justify-content: center; gap: 22px; margin-top: 14px; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
#pse .map-legend span { display: inline-flex; align-items: center; gap: 8px; }
#pse .map-legend span::before { content: ""; width: 9px; height: 9px; }
#pse .map-legend .lg-office::before { background: var(--accent-deep); }
#pse .map-legend .lg-region::before { border: 1.5px solid var(--accent-deep); width: 6px; height: 6px; }
#pse .offices span { transition: color .2s ease; text-decoration: underline 2px transparent; text-underline-offset: 6px; }
#pse .offices span.is-active { text-decoration-color: var(--accent); }
#pse .office-hq { display: inline-block; width: 11px; height: 11px; margin: 0 3px; background: var(--accent); box-shadow: 0 0 0 1.5px var(--ink); }
#pse .facts { grid-column: 1 / -1; margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
#pse .facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 28px 32px 8px; border-left: 1px solid var(--n300); }
#pse .facts div:first-child { padding-left: 0; border-left: 0; }
#pse .facts dd { font-family: var(--font-display); font-size: clamp(40px, 3.4vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1; white-space: nowrap; color: var(--ink); }
#pse .facts dd::after { content: ""; display: inline-block; width: .16em; height: .16em; margin-left: .06em; background: var(--accent); }
#pse .facts dd small { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; letter-spacing: 0; color: var(--slate); margin-right: 2px; }
#pse .facts dt { font-size: 14.5px; color: var(--slate); max-width: 20ch; }
@media (max-width: 1060px) {
  #pse .about.about-offices { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  #pse .about-side { padding-top: 0; }
  #pse .regions-solo .regions-map { max-width: 300px; margin: 0; }
  #pse .map-legend { justify-content: flex-start; }
  #pse .facts { margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #pse .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  #pse .facts div:nth-child(n+3) { border-top: 1px solid var(--n300); }
}
@media (max-width: 560px) {
  #pse .facts div { padding: 22px 16px 14px; }
  #pse .facts div:nth-child(odd) { padding-left: 0; }
  #pse .facts dd { font-size: 30px; }
}
#pse .regions { margin-top: 24px; }
#pse .regions h3 { font-size: 17px; margin-bottom: 12px; }
#pse .regions ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
#pse .regions li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
#pse .regions li .icon { color: var(--accent-deep); margin-top: 3px; }
#pse .regions li span { color: var(--slate); }
#pse .regions .group { margin-top: 14px; font-size: 13.5px; color: var(--slate); }
@media (max-width: 1060px) { #pse .about { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { #pse .about .ticks, #pse .regions ul { grid-template-columns: 1fr; } }

/* FAQ */
#pse .faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
#pse .faq-intro p { margin: 16px 0 24px; color: var(--n700); }
#pse .faq-list details { border-top: 1px solid var(--n300); }
#pse .faq-list details:last-child { border-bottom: 1px solid var(--n300); }
#pse .faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
#pse .faq-list summary::-webkit-details-marker { display: none; }
#pse .faq-list summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; color: var(--accent-deep); transition: transform .2s ease; }
#pse .faq-list details[open] summary::after { transform: rotate(45deg); }
#pse .faq-list details p { padding-bottom: 20px; color: var(--n700); font-size: 15.5px; }
#pse .newsletter { margin-top: 80px; padding: 40px 0; border-block: 1px solid var(--n300); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
#pse .newsletter h3 { margin: 14px 0 8px; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; }
#pse .newsletter p { color: var(--n700); font-size: 15.5px; }
#pse .nl-form { display: flex; flex-wrap: wrap; gap: 10px; }
#pse .nl-form input[type=email] { flex: 1 1 240px; height: 52px; padding: 0 14px; border: 1.5px solid var(--n300); border-radius: 0; background: #fff; font-size: 16px; }
#pse .nl-form input[type=email]:focus { outline: none; border-color: var(--ink); }
#pse .nl-ok { display: none; flex-basis: 100%; font-weight: 600; color: var(--accent-deep); }
@media (max-width: 1060px) { #pse .faq-grid, #pse .newsletter { grid-template-columns: 1fr; gap: 28px; } }

/* Closing call to action on the landscape photo */
#pse .closing { position: relative; color: var(--paper); background: var(--ink) center / cover no-repeat; }
#pse .closing::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(17, 17, 17, .94) 0%, rgba(17, 17, 17, .84) 50%, rgba(17, 17, 17, .45) 100%); }
#pse .closing .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
#pse .closing h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.025em; max-width: 20ch; }
#pse .closing p { margin-top: 14px; color: var(--n300); font-size: 18px; max-width: 48ch; }
#pse .closing-actions { display: grid; gap: 12px; }
#pse .closing-actions .btn { width: 100%; }
#pse .closing-actions span { text-align: center; font-size: 14px; color: var(--n300); }
#pse .closing-actions a:not(.btn) { color: var(--paper); font-weight: 600; }
@media (max-width: 900px) { #pse .closing .wrap { grid-template-columns: 1fr; } }

/* Footer */
#pse .site-footer { background: var(--ink); color: var(--n300); padding: 64px 0 32px; font-size: 14.5px; }
#pse .site-footer .brand-logo { --logo-fg: var(--paper); --logo-bg: var(--ink); }
#pse .site-footer a.brand { display: inline-flex; padding: 0; }
#pse .site-footer .brand-unit { color: var(--accent); border-color: var(--n700); }
#pse .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
#pse .footer-grid p { margin-top: 16px; max-width: 34ch; }
#pse .footer-title { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); margin-bottom: 12px; }
#pse .site-footer a, #pse .site-footer button.link-plain { display: block; padding: 3px 0; text-decoration: none; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; font-size: 14.5px; }
#pse .site-footer a:hover, #pse .site-footer button.link-plain:hover { color: var(--paper); }
#pse .footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--n700); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 900px) { #pse .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { #pse .footer-grid { grid-template-columns: 1fr; } #pse .site-footer { padding-bottom: 104px; } }

/* Mobile bar */
#pse .mobile-bar { display: none; }
@media (max-width: 760px) {
  #pse .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: block; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 2px solid var(--accent); transform: translateY(110%); transition: transform .35s var(--ease); }
  #pse .mobile-bar.show { transform: none; }
  #pse .mobile-bar .btn { width: 100%; }
}

/* Dialog: Fördermittel-Check and the short forms */
#pse .overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: max(48px, 6vh) 16px; overflow-y: auto; background: rgba(17, 17, 17, .6); }
#pse .overlay.on { display: flex; }
/* Centred when it fits; a taller dialog starts at the top and the overlay scrolls, so nothing is cut off */
#pse .dialog { width: 100%; max-width: 640px; margin: auto 0; background: var(--paper); }
#pse .dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--n200); }
#pse .dialog-top .label { font-size: 11.5px; }
#pse .dialog-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
#pse .dialog-close:hover { background: var(--n100); }
#pse .dialog-body { padding: 28px 32px 32px; }
/* Booking: the Demodesk calendar needs more room than the forms */
#pse .dialog.dialog-wide { max-width: 820px; }
#pse .booking-frame { margin-top: 18px; border: 1px solid var(--n200); background: #fff; }
#pse .booking-frame iframe { display: block; width: 100%; height: min(600px, calc(100svh - 280px)); min-height: 440px; border: 0; }
#pse .booking-alt { font-size: 14px !important; }
#pse .booking-alt a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
#pse .dialog-body h2 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
#pse .dialog-body .hint { margin-top: 8px; color: var(--n700); font-size: 15.5px; }
#pse .progress { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 13px; color: var(--slate); }
#pse .progress-track { flex: 1; height: 4px; background: var(--n200); }
#pse .progress-track i { display: block; height: 100%; background: var(--ink); transition: width .3s var(--ease); }
#pse .options { margin-top: 20px; display: grid; gap: 8px; }
#pse .options.two { grid-template-columns: 1fr 1fr; }
#pse .option { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 14px 16px; text-align: left; background: #fff; border: 1.5px solid var(--n300); cursor: pointer; font-size: 15.5px; font-weight: 500; line-height: 1.35; transition: border-color .15s ease; }
#pse .option:hover { border-color: var(--ink); }
#pse .option .box { flex: none; width: 18px; height: 18px; margin-top: 1px; border: 1.5px solid var(--n500); background: #fff; }
#pse .option.sel { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
#pse .option.sel .box { background: var(--accent); border-color: var(--ink); }
#pse .option small { display: block; margin-top: 2px; font-size: 13px; color: var(--slate); font-weight: 400; }
#pse .field { display: grid; gap: 6px; margin-top: 14px; }
#pse .field label { font-size: 14px; font-weight: 600; }
#pse .field :is(input, select, textarea) { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--n300); border-radius: 0; background: #fff; font-size: 16px; }
#pse .field textarea { height: 110px; padding: 12px 14px; resize: vertical; }
#pse .field :is(input, select, textarea):focus { outline: none; border-color: var(--ink); }
#pse .dialog-body > select, #pse .dialog-body > textarea { margin-top: 20px; width: 100%; height: 52px; padding: 0 14px; border: 1.5px solid var(--n300); border-radius: 0; background: #fff; font-size: 16px; }
#pse .dialog-body > textarea { height: 130px; padding: 12px 14px; resize: vertical; }
#pse .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
#pse .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 13px; line-height: 1.45; color: var(--n700); cursor: pointer; }
#pse .consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); }
#pse .consent a { color: var(--ink); }
#pse .dialog-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
#pse .ghost { display: inline-flex; align-items: center; gap: 8px; padding: 10px 2px; background: none; border: 0; color: var(--slate); font-weight: 600; font-size: 15px; cursor: pointer; }
#pse .ghost:hover { color: var(--ink); }
#pse .ghost .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
#pse .ghost:hover .icon { transform: translateX(-3px); }
#pse .warn { display: none; margin-top: 16px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; background: var(--warn-soft); border-left: 4px solid var(--warn); }
#pse .drop { display: grid; place-items: center; gap: 6px; margin-top: 20px; padding: 28px 18px; text-align: center; border: 1.5px dashed var(--n500); background: #fff; cursor: pointer; }
#pse .drop.over { border-color: var(--ink); background: var(--accent-soft); }
#pse .drop input { display: none; }
#pse .drop .icon { width: 26px; height: 26px; color: var(--accent-deep); margin: 0 auto; }
#pse .drop b { display: block; font-size: 15.5px; }
#pse .drop span { font-size: 13px; color: var(--slate); }
#pse .files { display: grid; gap: 6px; margin-top: 10px; }
#pse .files div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--n100); font-size: 14px; }
#pse .files span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#pse .files small { color: var(--slate); }
#pse .files button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; background: none; cursor: pointer; }
#pse .file-error { display: none; margin-top: 8px; font-size: 13.5px; color: var(--danger); }
#pse .safe { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; background: var(--n100); font-size: 13.5px; line-height: 1.45; }
#pse .safe .icon { color: var(--accent-deep); margin-top: 1px; }
#pse .safe b { display: block; font-size: 14px; }
#pse .gift { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; background: var(--accent-soft); font-size: 14px; line-height: 1.45; }
#pse .gift .icon { color: var(--accent-deep); margin-top: 1px; }
#pse .result-head { display: flex; gap: 16px; align-items: center; }
#pse .result-ok { flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--accent); }
#pse .result-ok .icon { width: 24px; height: 24px; stroke-width: 2.25; }
#pse .panel { margin-top: 18px; padding: 18px 20px; background: var(--ink); color: var(--paper); }
#pse .panel .label { color: var(--n300); margin-bottom: 10px; }
#pse .panel ul { display: grid; gap: 8px; }
#pse .panel li { position: relative; padding-left: 18px; font-size: 14.5px; }
#pse .panel li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--accent); }
#pse .next-steps { margin-top: 18px; display: grid; gap: 10px; }
#pse .next-steps div { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 14.5px; }
#pse .next-steps b { width: 28px; height: 28px; display: grid; place-items: center; background: var(--ink); color: var(--accent); font-family: var(--font-display); font-size: 13px; }
#pse .offer-box { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--n300); }
#pse .offer-box b { display: block; font-size: 14.5px; }
#pse .offer-box span { font-size: 13px; color: var(--slate); }
#pse .fine-print { margin-top: 16px; font-size: 12.5px; color: var(--slate); }
#pse .test-note { margin-bottom: 16px; padding: 10px 12px; font-size: 13px; background: var(--warn-soft); border-left: 4px solid var(--warn); }
@media (max-width: 640px) {
  #pse .overlay { padding: 0; }
  #pse .dialog { min-height: 100%; }
  #pse .dialog-body { padding: 22px 18px 28px; }
  #pse .options.two, #pse .grid2 { grid-template-columns: 1fr; }
}

/* ---------- Energy site additions ---------- */
#pse .hero-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
#pse .hero-links .or { color: var(--slate); }
#pse .load-claim { font-size: 14px; color: var(--n300); }
#pse .load-claim b { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--accent); margin-right: 6px; }
#pse .estimate dl { grid-template-columns: repeat(2, auto); }
#pse .estimate-check { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--n200); font-size: 13px; color: var(--n700); }
#pse .estimate-check .icon { color: var(--accent-deep); }
#pse .checklist-wrap { margin-top: 104px; }
#pse .project-text { font-size: 14px; color: var(--slate); }
#pse .regions { margin-top: 0; }
#pse .regions ul { grid-template-columns: 1fr; gap: 14px; }
#pse .regions li { padding-bottom: 14px; border-bottom: 1px solid var(--n200); }
#pse .regions li div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
#pse .regions li b { font-size: 17px; }
#pse .regions li em { font-style: normal; font-size: 12px; font-weight: 600; padding: 2px 8px; background: var(--accent-soft); color: var(--accent-deep); }
/* Regions: a map of Germany (make_energy_map.py) beside the list. When the section scrolls in, the outline draws itself,
   the cities appear one by one and the lines run from the Energy headquarters in Hamburg to each region */
#pse .regions { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: 8px 36px; align-items: center; }
#pse .regions .group { grid-column: 1 / -1; }
#pse .regions-map { display: block; width: 100%; height: auto; overflow: visible; }
#pse .rm-land { fill: var(--n100); stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
#pse .rm-link { fill: none; stroke: var(--accent-deep); stroke-width: 1.4; stroke-linecap: square; opacity: .7; }
#pse .rm-dot { fill: var(--accent-deep); stroke: var(--paper); stroke-width: 2; transform-box: fill-box; transform-origin: center; transition: transform .25s var(--ease), fill .25s ease; }
#pse .rm-hq .rm-dot { fill: var(--accent); stroke: var(--ink); stroke-width: 1.5; }
#pse .rm-pulse { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: rm-pulse 2.6s ease-out infinite; }
@keyframes rm-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
#pse .regions-map text { font-family: var(--font-display); font-size: 12.5px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
#pse .rm-city { cursor: default; }
#pse .rm-city.is-active .rm-dot { transform: scale(1.6); fill: var(--ink); }
#pse .rm-hq.is-active .rm-dot { fill: var(--accent); }
#pse .regions li { transition: border-color .2s ease; }
#pse .regions li.is-active { border-bottom-color: var(--accent); }
#pse .regions li.is-active b { color: var(--accent-deep); }
#pse.js .regions .rm-land { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; transition: stroke-dashoffset 2s var(--ease) .2s, fill-opacity .8s ease 1.4s; }
#pse.js .regions.in .rm-land { stroke-dashoffset: 0; fill-opacity: 1; }
#pse.js .regions .rm-city { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s var(--ease); transition-delay: calc(1.4s + var(--i) * .16s); }
#pse.js .regions.in .rm-city { opacity: 1; transform: none; }
#pse.js .regions .rm-link { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); transition-delay: calc(1.9s + var(--i) * .16s); }
#pse.js .regions.in .rm-link { stroke-dashoffset: 0; }
@media (max-width: 560px) {
  #pse .regions { grid-template-columns: minmax(0, 1fr); }
  #pse .regions-map { max-width: 290px; margin: 0 auto 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #pse .rm-pulse { animation: none; opacity: 0; }
  #pse.js .regions .rm-land, #pse.js .regions .rm-city, #pse.js .regions .rm-link { transition: none; stroke-dashoffset: 0; fill-opacity: 1; opacity: 1; transform: none; }
}
#pse .footer-small { font-size: 13px; }
#pse .link-inline { padding: 0; border: 0; background: none; color: var(--paper); font: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; cursor: pointer; }
/* Desktop quick contact, from the second screen on (the consultant's sticky box) */
#pse .quick { position: fixed; right: max(22px, env(safe-area-inset-right, 0px)); bottom: 22px; z-index: 45; display: flex; gap: 8px; align-items: center; padding: 8px; background: var(--paper); border: 1px solid var(--n300); box-shadow: 0 18px 40px -20px rgba(17, 17, 17, .45); transform: translateY(160%); transition: transform .35s var(--ease); }
#pse .quick.show { transform: none; }
#pse .quick .btn { height: 44px; padding: 0 16px; font-size: 14px; }
#pse .quick-call { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--n300); background: #fff; cursor: pointer; }
#pse .quick-call:hover { border-color: var(--ink); }
@media (max-width: 760px) { #pse .quick { display: none; } }

/* ---------- Fördermittel-Check page ---------- */
#pse .usps { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#pse .usps li { display: flex; gap: 12px; align-items: flex-start; padding-top: 12px; border-top: 1px solid var(--n300); }
#pse .usp-icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: var(--accent); }
#pse .usps b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
#pse .usps li > div > span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--slate); }
#pse .hero-stats { margin-top: 22px; display: flex; flex-wrap: wrap; }
#pse .hero-stats div { display: flex; flex-direction: column-reverse; padding: 0 22px; border-left: 1px solid var(--accent); }
#pse .hero-stats div:first-child { padding-left: 0; border-left: 0; }
#pse .hero-stats dd { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; white-space: nowrap; }
#pse .hero-stats dt { font-size: 13px; color: var(--slate); }
#pse .check-visual { position: relative; min-height: 520px; align-self: stretch; }
#pse .check-photo { position: absolute; inset: 0 0 0 48px; background: var(--ink) center / cover no-repeat; }
#pse .badge-card { position: absolute; left: 0; top: 32px; display: flex; gap: 12px; align-items: flex-start; max-width: 300px; padding: 14px 16px; background: var(--ink); color: var(--paper); }
#pse .badge-icon { flex: none; width: 36px; height: 36px; display: grid; place-items: center; background: var(--accent); color: var(--ink); }
#pse .badge-card b { display: block; font-family: var(--font-display); font-size: 15px; }
#pse .badge-card div > span { display: block; font-size: 13px; color: var(--n300); }
#pse .badge-card em { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent); }
#pse .badge-card em .icon { width: 14px; height: 14px; }
#pse .calc-card { position: absolute; right: 24px; bottom: 24px; width: min(340px, 86%); gap: 8px; padding: 20px; box-shadow: 0 24px 48px -28px rgba(17, 17, 17, .6); }
#pse .calc-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
#pse .calc-head em { font-style: normal; padding: 2px 8px; background: var(--accent); color: var(--ink); letter-spacing: .08em; }
#pse .calc-card .calc-total { margin-top: 6px; padding-top: 10px; }
#pse .calc-card .calc-total b { font-size: 28px; }
#pse .calc-card .btn { align-self: stretch; }
#pse .client-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px; }
#pse .client-row img { width: auto; filter: grayscale(1); mix-blend-mode: multiply; opacity: .75; }
#pse .clients-more { font-size: 14px; color: var(--slate); }
#pse .strip { background: var(--ink); color: var(--paper); padding: 18px 0; }
#pse .strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; font-size: 14px; }
#pse .strip b { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--n300); }
#pse .strip span { display: inline-flex; align-items: center; gap: 8px; }
#pse .strip .icon { color: var(--accent); }
#pse .service-hl { background: var(--ink); color: var(--paper); border-color: var(--ink); }
#pse .service-hl .service-icon { background: var(--accent); color: var(--ink); }
#pse .service-hl > p { color: var(--n300); }
#pse .service-hl .service-tag { background: var(--accent); color: var(--ink); }
#pse .measure-chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
#pse .steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#pse .steps3 li { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--n300); }
#pse .steps3 .step-num { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--accent); font-family: var(--font-display); font-size: 15px; font-weight: 700; }
#pse .steps3 h3 { font-size: 20px; margin-top: 6px; }
#pse .steps3 p { font-size: 15px; color: var(--n700); }
#pse .step-meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--n200); display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
#pse .step-meta .icon { color: var(--accent-deep); }
#pse .proof-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; }
#pse .big-stats { display: grid; gap: 1px; background: var(--n700); }
#pse .big-stats div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 28px 32px; background: var(--ink); color: var(--paper); }
#pse .big-stats dd { font-family: var(--font-display); font-size: 48px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
#pse .big-stats dd em { font-style: normal; color: var(--accent); }
#pse .big-stats dt { font-size: 14px; color: var(--n300); }
#pse .proj-list { border-top: 1px solid var(--n300); }
#pse .proj { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--n300); }
#pse .proj small { display: block; font-family: var(--font-display); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
#pse .proj b { font-size: 16px; line-height: 1.35; }
#pse .proj p { text-align: right; }
#pse .proj p b { display: block; font-family: var(--font-display); font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
#pse .proj p span { font-size: 13px; color: var(--slate); }
#pse .case-wide { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; }
#pse .case-lead { margin: -8px 0 20px; color: var(--n700); font-size: 15.5px; }
#pse .case-side dl { display: grid; gap: 1px; background: var(--n300); border: 1px solid var(--n300); }
#pse .case-side dl div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 18px 20px; background: var(--n100); }
#pse .case-side dd { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
#pse .case-side dt { font-size: 13px; color: var(--slate); }
#pse .offices { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 14.5px; font-weight: 600; }
#pse .offices span { display: inline-flex; align-items: center; gap: 6px; }
#pse .offices .icon { color: var(--accent-deep); }
#pse .expert-box { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 18px; border: 1px solid var(--n300); background: #fff; }
#pse .expert-box div { flex: 1; }
#pse .expert-box b { display: block; font-size: 16px; }
#pse .expert-box span:not(.usp-icon) { font-size: 14px; color: var(--slate); }
#pse .faq-center { max-width: 880px; }
#pse .faq-center .faq-intro { margin-bottom: 28px; }
@media (max-width: 1060px) {
  #pse .check-visual { min-height: 460px; }
  #pse .proof-grid, #pse .case-wide { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  #pse .usps, #pse .steps3 { grid-template-columns: 1fr; }
  #pse .usps { gap: 10px; }
  #pse .check-visual { min-height: 0; display: grid; gap: 12px; }
  #pse .check-photo { position: relative; inset: auto; height: 220px; }
  #pse .badge-card, #pse .calc-card { position: relative; left: auto; top: auto; right: auto; bottom: auto; width: auto; max-width: none; box-shadow: none; }
  #pse .calc-card { border: 1px solid var(--n300); }
  #pse .hero-stats div { padding: 0 14px; }
  #pse .hero-stats dd { font-size: 22px; }
  #pse .proj { grid-template-columns: 1fr; }
  #pse .proj p { text-align: left; }
  #pse .big-stats dd { font-size: 38px; }
  #pse .expert-box { flex-wrap: wrap; }
}
@media (max-height: 960px) and (min-width: 1061px) {
  #pse .usps li > div > span, #pse .hero-stats { display: none; }
  #pse .usps li { align-items: center; }
  #pse .hero-ctas { margin-top: 22px; }
}
@media (max-height: 780px) and (min-width: 1061px) {
  #pse .usps { display: none; }
  #pse .check-visual { min-height: 440px; }
}

/* Motion: only with JS, never for reduced motion */
#pse.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
#pse.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  #pse { scroll-behavior: auto; }
  #pse.js .reveal { opacity: 1; transform: none; transition: none; }
  #pse .starter-field, #pse .starter-field::before { animation: none; }
  #pse.js .load-chart .lp-before, #pse.js .load-chart .lp-after { stroke-dashoffset: 0; animation: none !important; }
  #pse.js .load-chart .lp-area, #pse.js .load-chart .lp-mark { opacity: 1; animation: none !important; }
  #pse .client-marquee { mask-image: none; -webkit-mask-image: none; }
  #pse .client-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 16px; }
  #pse .client-track[aria-hidden] { display: none; }
  #pse.js .bar-track i { transform: none; transition: none; }
  #pse .doc-stack::before, #pse .doc-stack::after, #pse .doc-stack img, #pse .doc-tag { transition: none; }
  #pse .mobile-bar { transition: none; }
}

/* ---------- Dark hero with the background film (energy.html) ---------- */
#pse .site-header.on-dark { background: rgba(17, 17, 17, .94); border-bottom-color: rgba(253, 252, 249, .1); color: var(--paper); --logo-fg: var(--paper); --logo-bg: var(--ink); }
#pse .site-header.on-dark .brand-unit { color: var(--accent); border-left-color: rgba(253, 252, 249, .25); }
#pse .site-header.on-dark .btn-primary { background: var(--accent); color: var(--ink); }
#pse .site-header.on-dark .btn-primary:hover { background: var(--paper); }
#pse .hero-dark { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--paper); }
#pse .hero-film { position: absolute; inset: 0; z-index: -1; }
#pse .hero-film video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; display: block; }
/* Shade: dark behind the copy on the left, the film stays readable on the right */
#pse .hero-film::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(17, 17, 17, .92) 0%, rgba(17, 17, 17, .72) 38%, rgba(17, 17, 17, .15) 70%, rgba(17, 17, 17, .05) 100%),
  linear-gradient(0deg, rgba(17, 17, 17, .6) 0%, transparent 30%); }
#pse .hero-dark .hero-grid { align-items: end; }
#pse .hero-dark .lead { color: var(--n300); }
#pse .hero-dark .btn-primary { background: var(--accent); color: var(--ink); }
#pse .hero-dark .btn-primary:hover { background: var(--paper); }
#pse .hero-dark .btn-outline { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(253, 252, 249, .5); }
#pse .hero-dark .btn-outline:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--paper); }
#pse .hero-dark .link:hover { text-decoration-color: var(--paper); }
#pse .hero-dark .hero-links .or { color: #8A929C; }
#pse .hero-dark .experts { border-top-color: rgba(253, 252, 249, .14); }
#pse .hero-dark .experts-label .icon { color: var(--accent); }
#pse .hero-dark .chip { background: rgba(253, 252, 249, .06); border-color: rgba(253, 252, 249, .16); color: var(--n300); }
/* The example card sits low on the right, so the roof and the heat pumps stay in view above it */
#pse .hero-dark .hero-media { align-self: end; justify-self: end; width: min(100%, 440px); }
#pse .hero-dark .estimate { box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
#pse .hero-dark .estimate :focus-visible { outline-color: var(--ink); }
@media (max-width: 1060px) {
  #pse .hero-dark .hero-media { justify-self: start; }
  #pse .hero-film::after { background: linear-gradient(0deg, rgba(17, 17, 17, .9) 0%, rgba(17, 17, 17, .75) 55%, rgba(17, 17, 17, .45) 100%); }
}
/* The client band at the foot of the dark hero keeps its light look */
#pse .hero-dark .clients { color: var(--ink); }
#pse .hero-dark .clients :focus-visible { outline-color: var(--ink); }

/* Uncode's custom CSS hides page content that is not a WPBakery row; the row wrapper also limits width and adds padding */
.post-content > .row-container:has(#pse) { display: block !important; }
.row-container:has(#pse) > .row { display: block !important; max-width: none !important; width: auto !important; padding: 0 !important; margin: 0 !important; }
.row-container:has(#pse) .post-title-wrapper { display: none !important; }
/* Full width whatever column the theme puts page content in; clip keeps the scrollbar width from causing a sideways scroll */
#pse { display: block; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; text-align: left; }
html:has(#pse), body:has(#pse) { overflow-x: clip; }
html:has(#pse) { scroll-padding-top: 84px; }
/* Uncode's .box-wrapper has overflow: hidden, which stops the page's sticky header; clip keeps the clipping without that */
.box-wrapper:has(#pse) { overflow: clip !important; }
/* The site's footer is shown below the page, so the page's own footer steps back */
#pse > .site-footer { display: none; }
/* The sticky header sits below the admin bar for logged-in users */
.admin-bar #pse .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #pse .site-header { top: 46px; } }
/* Uncode sets heading colours and fonts for light sections with high specificity */
#pse :is(h1, h2, h3, h4, blockquote) { color: inherit !important; text-transform: none; }
#pse :is(h1, h2, h3, h4) { font-family: var(--font-display) !important; }
#pse blockquote { padding: 0; border: 0; background: none; font-style: normal; quotes: none; }
#pse blockquote::before, #pse blockquote::after { content: none; }
/* Uncode gives every input a top margin, an inset shadow, rounded corners and hides checkboxes */
#pse :is(input, select, textarea, button) { margin: 0; box-shadow: none; border-radius: 0; font-family: inherit; letter-spacing: normal; text-transform: none; }
#pse input[type="checkbox"] { -webkit-appearance: checkbox !important; appearance: auto !important; opacity: 1 !important; }
/* Uncode marks its button padding and type !important */
#pse .btn { padding: 0 24px !important; font-family: var(--font-text) !important; font-style: normal !important; font-weight: 600 !important; letter-spacing: normal !important; text-align: center !important; transform: none !important; margin: 0; }
#pse :is(.btn-sm, .site-header .btn) { padding: 0 18px !important; }
#pse form p { font-weight: inherit !important; }
/* Uncode colours links in page text with its blue accent (!important) and bold text black */
#pse a:not(.btn) { color: inherit !important; }
#pse :is(b, strong) { color: inherit; }
/* On pagestreet.com the Superchat button sits bottom right, where the desktop quick contact box would cover it */
#pse [data-quick] { display: none !important; }
/* Uncode's own .overlay class (style-utils.css) hides every element with that name; the page's dialog shows when open,
   above the site's chat button */
#pse .overlay { z-index: 100000; opacity: 1; visibility: visible; transition: none; }
#pse a { text-decoration-thickness: auto; }
