/* =========================================================
   Prémium Tető — stylesheet
   Palette is driven entirely by the :root variables below.
   Swap those values and the whole site recolours.
   ========================================================= */

:root {
  /* --- base ink / surfaces --- */
  --ink:          #0C151D;
  --ink-2:        #16222E;
  --ink-3:        #223243;
  --surface:      #FFFFFF;
  --surface-2:    #F4F6F8;
  --surface-3:    #E8ECF0;
  --line:         #DCE3E9;
  --line-dark:    #2A3B4D;

  /* --- brand accent: copper --- */
  --brand-700:    #94501F;
  --brand-600:    #B9622A;
  --brand-500:    #D4792F;
  --brand-400:    #E89A4F;
  --brand-100:    #FBEEE1;

  /* --- energy accent: used only in energy-efficiency context --- */
  --energy-700:   #14604A;
  --energy-600:   #1E7A5A;
  --energy-500:   #2A9670;
  --energy-400:   #35A97E;
  --energy-100:   #E4F3EC;

  /* --- semantic text --- */
  --text:         #0C151D;
  --text-muted:   #55636F;
  --text-faint:   #7C8A96;
  --on-dark:      #EAF0F5;
  --on-dark-muted:#9DB0C0;

  /* --- shape & motion --- */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12,21,29,.06), 0 2px 8px rgba(12,21,29,.05);
  --shadow:    0 2px 6px rgba(12,21,29,.06), 0 12px 32px rgba(12,21,29,.09);
  --shadow-lg: 0 8px 24px rgba(12,21,29,.10), 0 28px 64px rgba(12,21,29,.14);
  --ease: cubic-bezier(.22,.61,.36,1);

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
button { font: inherit; }

/* Icons are always sized by their wrapper — never let a bare SVG expand. */
.icon { display: inline-flex; width: 1.15rem; height: 1.15rem; flex: none; }
.icon svg, .icon > * { width: 100%; height: 100%; display: block; }
.icon-lg { width: 1.6rem; height: 1.6rem; }
.icon-xl { width: 2.1rem; height: 2.1rem; }

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

.skip-link {
  position: absolute; left: 0; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0; transition: top .18s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* =========================================================
   Layout helpers
   ========================================================= */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 4rem); }
.section--alt { background: var(--surface-2); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: var(--on-dark-muted); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-muted); max-width: 62ch; }
.section--ink .lede { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand-600); margin: 0 0 .9rem;
}
.eyebrow--energy { color: var(--energy-600); }
.section--ink .eyebrow { color: var(--brand-400); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
.section > .wrap > :last-child, .card > :last-child { margin-bottom: 0; }

.grad-text {
  background: linear-gradient(100deg, var(--brand-500), var(--brand-700) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem; min-height: 48px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 6px 18px rgba(185,98,42,.3); }
.btn-primary:hover { background: var(--brand-700); color: #fff; box-shadow: 0 10px 26px rgba(185,98,42,.36); }

.btn-energy { background: var(--energy-600); color: #fff; box-shadow: 0 6px 18px rgba(30,122,90,.28); }
.btn-energy:hover { background: var(--energy-700); color: #fff; }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--text-faint); }

.btn-on-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-on-dark:hover { background: rgba(255,255,255,.16); color: #fff; }

/* Prose link styling must never repaint a button label. */
.prose a:not(.btn) { color: var(--brand-600); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(4px)) { .site-header { background: #fff; } }
/* While the mobile panel is open the filter must go: it would create a
   containing block and trap the fixed panel inside the header strip. */
.site-header.nav-open { backdrop-filter: none; background: #fff; }

.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); margin-right: auto; }
.brand:hover { color: var(--text); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-tag { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: .45rem .72rem; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 550; font-size: .94rem;
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a[aria-current="page"] { color: var(--brand-700); background: var(--brand-100); }
.nav > a:not(.btn) { white-space: nowrap; }
@media (min-width: 1041px) { .nav > .btn { display: none; } }
@media (min-width: 1041px) and (max-width: 1340px) {
  .brand-tag { display: none; }
  .nav a, .sub-toggle { padding-inline: .5rem; font-size: .9rem; }
}

.has-sub { position: relative; }
.sub-toggle {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 40px;
  padding: .45rem .72rem; border-radius: 999px; border: 0; background: transparent;
  color: var(--text); font-weight: 550; font-size: .94rem; cursor: pointer;
}
.sub-toggle:hover { background: var(--surface-2); }
.sub-menu {
  position: absolute; top: calc(100% + 2px); left: 0; min-width: 270px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .4rem; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
/* hover bridge so the menu survives the gap under the trigger */
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: block; width: 100%; padding: .55rem .75rem; border-radius: var(--radius-sm); font-size: .92rem; }

.header-cta { display: inline-flex; white-space: nowrap; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--text);
  position: relative; z-index: 120;
}

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 72px 0 0 0; z-index: 110;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: #fff; padding: 1.25rem var(--gutter) 2.5rem;
    overflow-y: auto;
    visibility: hidden; opacity: 0; pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav a, .sub-toggle { min-height: 50px; font-size: 1.02rem; width: 100%; justify-content: flex-start; }
  .has-sub { position: static; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 0 0 .5rem .75rem; padding: 0 0 0 .5rem;
    max-height: 0; overflow: hidden; transition: max-height .25s var(--ease);
  }
  .has-sub.open .sub-menu { max-height: 640px; }
  .has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
  .sub-toggle .icon { transition: transform .2s var(--ease); }
  .nav .btn { margin-top: 1rem; }
}


/* ---- phone links ---- */
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: .4rem .8rem; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 650; font-size: .95rem;
  white-space: nowrap;
}
.header-phone .icon { color: var(--brand-600); }
.header-phone:hover { background: var(--surface-2); color: var(--text); }
.nav-phone { display: none; }
@media (max-width: 1040px) {
  .header-phone { display: none; }
  .nav-phone {
    display: inline-flex; align-items: center; gap: .55rem;
    min-height: 52px; padding: .5rem .72rem; margin-top: .5rem;
    border-top: 1px solid var(--line); border-radius: 0;
    color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.05rem;
  }
  .nav-phone .icon { color: var(--brand-600); }
}
@media (min-width: 1041px) and (max-width: 1320px) {
  .header-phone span { display: none; }
  .header-phone {
    padding: 0; width: 44px; min-width: 44px; justify-content: center;
    border: 1px solid var(--line); border-radius: 12px;
  }
}
/* ---------- language switcher ---------- */
/* Lives inside the nav, so on mobile it drops into the open panel and on
   desktop it sits at the end of the nav row. Tap targets are 44px tall at
   every size, which is what WCAG 2.2 asks for. */
.lang-switch { display: flex; align-items: center; gap: .5rem; }
.lang-switch-label {
  font-size: .78rem; font-weight: 650; letter-spacing: .02em;
  text-transform: uppercase; color: var(--text-faint);
}
.lang-switch ul {
  display: flex; align-items: center; gap: .15rem;
  list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: .35rem .6rem;
  border-radius: 10px; text-decoration: none;
  color: var(--text-muted); font-weight: 600; font-size: .9rem;
  white-space: nowrap;
}
.lang-switch a:hover { background: var(--surface-2); color: var(--text); }
.lang-switch a.on { background: var(--surface-2); color: var(--text); font-weight: 700; }

@media (max-width: 1040px) {
  /* In the open mobile panel the switcher becomes a full-width row under the
     phone number, rather than a cramped inline list. */
  .lang-switch {
    flex-direction: column; align-items: flex-start; gap: .35rem;
    margin-top: .6rem; padding-top: .75rem;
    border-top: 1px solid var(--line); width: 100%;
  }
  .lang-switch a { padding: .35rem .75rem; font-size: 1rem; }
}
/* Full names in the mobile panel, short codes on desktop: five full names
   would push the nav row onto a second line. The code is aria-hidden and the
   full name stays in the accessibility tree either way. */
.lang-code { display: none; }
@media (min-width: 1041px) {
  .lang-switch { margin-left: .35rem; }
  .lang-switch-label { display: none; }
  .lang-switch a { padding: .3rem .45rem; min-width: 40px; font-size: .86rem; }
  .lang-full { position: absolute; width: 1px; height: 1px; overflow: hidden;
               clip-path: inset(50%); white-space: nowrap; }
  .lang-code { display: inline; }
}

.footer-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; color: #fff !important; }
.footer-phone .icon { color: var(--brand-400); }

.call-card {
  display: flex; align-items: center; gap: 1rem; min-width: 0;
  background: var(--ink); color: #fff; text-decoration: none;
  border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-bottom: 1.75rem;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.call-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.call-card-icon {
  width: 46px; height: 46px; flex: none; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(232,154,79,.18); color: var(--brand-400);
}
.call-card-text { display: flex; flex-direction: column; min-width: 0; }
.call-card-label { font-size: .85rem; color: var(--on-dark-muted); }
.call-card-number {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.45rem); color: #fff; overflow-wrap: break-word;
}

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.02); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(104deg, rgba(12,21,29,.95) 0%, rgba(12,21,29,.88) 42%, rgba(12,21,29,.55) 100%),
    linear-gradient(180deg, rgba(12,21,29,.35), rgba(12,21,29,.8));
}
.hero-inner { padding-block: clamp(3.5rem, 9vw, 7rem); max-width: 48rem; }
.hero h1 { color: #fff; margin-bottom: .55em; }
.hero h1 .grad-text { background: linear-gradient(100deg, var(--brand-400), var(--brand-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #D6E0E9; font-size: clamp(1.05rem, 1.8vw, 1.22rem); max-width: 54ch; }
.hero .eyebrow { color: var(--brand-400); }

.hero-points { display: flex; flex-wrap: wrap; gap: .5rem .55rem; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.hero-points li {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: .4rem .85rem; border-radius: 999px; font-size: .88rem; color: #E6EDF3;
  backdrop-filter: blur(4px);
}

/* page hero (sub-pages, no video) */
.page-hero { background: var(--ink); color: var(--on-dark); padding-block: clamp(2.75rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -8%; top: -40%; width: 46rem; height: 46rem;
  background: radial-gradient(circle, rgba(212,121,47,.22), transparent 62%); pointer-events: none;
}
.page-hero h1 { color: #fff; position: relative; }
.page-hero p { color: var(--on-dark-muted); max-width: 60ch; position: relative; }
.page-hero--energy::before { background: radial-gradient(circle, rgba(42,150,112,.26), transparent 62%); }

/* =========================================================
   Breadcrumbs
   ========================================================= */
.crumbs { font-size: .85rem; color: var(--on-dark-muted); margin-bottom: .9rem; position: relative; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: rgba(255,255,255,.3); }

/* =========================================================
   Cards
   ========================================================= */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.4vw, 1.75rem); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  display: flex; flex-direction: column; min-width: 0;
}
.card h2, .card h3 { margin-bottom: .45rem; }
.card h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.card p { color: var(--text-muted); font-size: .96rem; }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.card-link:hover .card, .card-link:focus-visible .card { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-400); }
.card-media { margin: calc(-1 * clamp(1.25rem, 2.4vw, 1.75rem)); margin-bottom: 1.1rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; background: var(--surface-3); }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; height: auto; }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 1rem; flex: none;
  background: var(--brand-100); color: var(--brand-700);
}
.card-icon--energy { background: var(--energy-100); color: var(--energy-700); }
.card-more { margin-top: auto; padding-top: 1rem; font-weight: 650; font-size: .93rem; color: var(--brand-600); display: inline-flex; align-items: center; gap: .4rem; }

/* feature list */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.ticks li { display: flex; align-items: flex-start; gap: .65rem; min-width: 0; }
.ticks .icon { color: var(--brand-600); margin-top: .22rem; }
.ticks--energy .icon { color: var(--energy-600); }
.section--ink .ticks .icon { color: var(--brand-400); }
.ticks span { min-width: 0; overflow-wrap: break-word; }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(218px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.trust-item { background: #fff; padding: 1.4rem 1.25rem; min-width: 0; }
.trust-item .icon { color: var(--brand-600); margin-bottom: .6rem; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.02rem; margin-bottom: .2rem; overflow-wrap: break-word; }
.trust-item span { font-size: .9rem; color: var(--text-muted); }

/* stat tiles */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.4rem; min-width: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: #fff; line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--on-dark-muted); }

/* =========================================================
   Split / media blocks
   ========================================================= */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.5rem, 4vw, 3.25rem); align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; height: auto; }
.split-media--tall img { aspect-ratio: 3 / 4; }

.photo-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2px; }
.photo-band img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; height: auto; }

/* =========================================================
   Compare table (us vs. the usual)
   ========================================================= */
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare caption { text-align: left; color: var(--text-muted); padding-bottom: .9rem; }
.compare th, .compare td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.compare thead th { font-family: var(--font-display); font-size: .92rem; }
.compare tbody th { font-weight: 550; color: var(--text); }
.compare .yes { color: var(--energy-700); font-weight: 600; }
.compare .no  { color: var(--text-faint); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* =========================================================
   Reviews marquee
   ========================================================= */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 1.1rem; width: max-content; animation: marquee 95s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review {
  width: 320px; flex: none; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm);
}
.review-stars { color: var(--brand-500); letter-spacing: .12em; font-size: .9rem; margin-bottom: .5rem; }
.review p { font-size: .93rem; color: var(--text-muted); margin-bottom: .75rem; }
.review cite { font-style: normal; font-weight: 650; font-size: .9rem; color: var(--text); }
.review small { display: block; color: var(--text-faint); font-size: .8rem; }
/* The animation must keep running even when the OS asks for reduced motion;
   slow it right down instead of freezing it. */
@media (prefers-reduced-motion: reduce) { .marquee-track { animation-duration: 240s; } }

/* =========================================================
   Wekerle calculator
   ========================================================= */
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.calc-head { background: var(--energy-700); color: #fff; padding: 1.15rem clamp(1.1rem, 2.5vw, 1.75rem); }
.calc-head h3 { color: #fff; margin: 0; font-size: 1.12rem; }
.calc-head p { margin: .3rem 0 0; color: #CFE7DC; font-size: .9rem; }
.calc-body { padding: clamp(1.1rem, 2.5vw, 1.75rem); display: grid; gap: 1.4rem; }
.calc-field > legend, .calc-label { font-weight: 650; font-size: .95rem; margin-bottom: .6rem; display: block; padding: 0; }
.calc-hint { font-size: .85rem; color: var(--text-muted); margin: .45rem 0 0; }
fieldset.calc-field { border: 0; padding: 0; margin: 0; min-width: 0; }

.pills { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill { position: relative; display: inline-flex; min-width: 0; }
.pill input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill > span {
  display: inline-flex; align-items: center; min-height: 46px; padding: .5rem 1.05rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font-size: .93rem; font-weight: 550; cursor: pointer;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease);
  overflow-wrap: break-word;
}
.pill input:checked + span { border-color: var(--energy-600); background: var(--energy-100); color: var(--energy-700); font-weight: 650; }
.pill input:focus-visible + span { outline: 3px solid var(--energy-500); outline-offset: 2px; }

.calc-out { background: var(--energy-100); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: .9rem; }
.calc-row { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; justify-content: space-between; border-bottom: 1px dashed rgba(20,96,74,.22); padding-bottom: .6rem; }
.calc-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.calc-row dt { color: var(--energy-700); font-size: .9rem; min-width: 0; flex: 1 1 9rem; opacity: .85; }
.calc-row dd { margin: 0 0 0 auto; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--energy-700); white-space: nowrap; }
.calc-row--big dd { font-size: 1.45rem; }
.calc-note { font-size: .83rem; color: var(--text-muted); margin: 0; }


/* ---- calculator: building-type pills with icons ---- */
.pills--type .pill > span { gap: .55rem; padding: .7rem 1.1rem; }
.pill--type .icon { color: var(--text-faint); flex: none; }
.pill--type input:checked + span .icon { color: var(--energy-600); }

/* ---- calculator: flats stepper ---- */
.stepper { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.stepper-btn {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font-size: 1.35rem; line-height: 1; color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
}
.stepper-btn:hover { border-color: var(--energy-500); color: var(--energy-700); }
.stepper input {
  width: 6.5rem; flex: none; min-height: 48px; text-align: center;
  padding: .7rem .6rem; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 1.15rem; font-weight: 650; color: var(--text); background: #fff;
}
.stepper input:focus { border-color: var(--energy-500); outline: none; box-shadow: 0 0 0 3px rgba(42,150,112,.18); }
.stepper-unit { color: var(--text-muted); font-size: .95rem; }

/* ---- calculator: headline total ---- */
.calc-headline {
  background: linear-gradient(118deg, var(--energy-700), var(--energy-500));
  color: #fff; border-radius: var(--radius); padding: 1.4rem 1.5rem; min-width: 0;
}
.calc-headline-label {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  margin: 0 0 .35rem; font-size: .88rem; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 650; color: #CFE7DC;
}
.calc-headline-label .icon { color: #fff; }
.calc-headline-value {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.1; color: #fff;
  overflow-wrap: break-word;
}
.calc-headline-sub { margin: .5rem 0 0; color: #DCEFE6; font-size: .98rem; }
.calc-headline-sub strong { color: #fff; }

/* ---- calculator: two result columns ---- */
.calc-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1rem; }
.calc-col { background: var(--energy-100); border-radius: var(--radius); padding: 1.2rem 1.25rem; min-width: 0; }
.calc-col[hidden] { display: none; }
.calc-col h4 {
  margin: 0 0 .85rem; font-family: var(--font-display); font-weight: 700;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--energy-700);
}
.calc-col dl { margin: 0; }

/* =========================================================
   Timeline
   ========================================================= */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding-bottom: 1.6rem; position: relative; min-width: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 1.25rem; top: 2.6rem; bottom: 0;
  width: 2px; background: var(--line);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline .dot {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: .85rem;
  background: var(--energy-100); color: var(--energy-700); border: 2px solid var(--energy-500); flex: none;
  font-family: var(--font-display);
}
.timeline h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.timeline p { font-size: .95rem; color: var(--text-muted); margin: 0; }

/* =========================================================
   Steps / process
   ========================================================= */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; min-width: 0; }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; margin-bottom: .85rem;
}
.steps h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.steps p { font-size: .93rem; color: var(--text-muted); margin: 0; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 1.25rem; font-weight: 650;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  min-height: 48px; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.45rem; line-height: 1; color: var(--brand-600); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-body { padding: 1.05rem 1.25rem; color: var(--text-muted); font-size: .96rem; }
.faq .faq-body > :last-child { margin-bottom: 0; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filter-btn {
  min-height: 44px; padding: .45rem 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font-size: .92rem; font-weight: 550; color: var(--text);
}
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-3); position: relative; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; height: auto; transition: transform .35s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem .9rem .75rem;
  background: linear-gradient(transparent, rgba(12,21,29,.86));
  color: #fff; font-size: .85rem; line-height: 1.35;
}
.gallery figure[hidden] { display: none; }

/* =========================================================
   Forms
   ========================================================= */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .93rem; margin-bottom: .4rem; padding: 0; }
.req { color: var(--brand-600); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem .95rem; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; color: var(--text); background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand-500); outline: none; box-shadow: 0 0 0 3px rgba(212,121,47,.18); }
.field select option { background: #fff; color: #0B1220; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 1rem; }

.consent { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; color: var(--text-muted); cursor: pointer; min-height: 44px; }
.consent input { width: 20px; height: 20px; min-height: 20px; margin-top: .22rem; flex: none; accent-color: var(--brand-600); }
.consent span { min-width: 0; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--energy-100); color: var(--energy-700); }
.form-status.err { background: #FDECEC; color: #9B2C2C; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { background: linear-gradient(118deg, var(--ink) 0%, var(--ink-3) 100%); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -12%; top: -60%; width: 34rem; height: 34rem; background: radial-gradient(circle, rgba(212,121,47,.3), transparent 62%); }
.cta-band h2, .cta-band p, .cta-band .btn-row { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-muted); max-width: 56ch; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: clamp(2.5rem, 5vw, 4rem) 1.75rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.footer-title { font-family: var(--font-display); font-weight: 650; color: #fff; font-size: .95rem; margin: 0 0 .9rem; letter-spacing: .01em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-grid a { color: var(--on-dark-muted); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: var(--text-faint); }
.footer-brand p { margin-top: .9rem; max-width: 34ch; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .85rem; color: var(--text-faint); }

/* =========================================================
   Blog
   ========================================================= */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); min-width: 0; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.post-card .cover { aspect-ratio: 16 / 9; background: linear-gradient(130deg, var(--ink-2), var(--brand-700)); display: block; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.08rem; margin-bottom: .4rem; font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.post-card p { font-size: .93rem; color: var(--text-muted); }
.post-card time { margin-top: auto; padding-top: .85rem; font-size: .83rem; color: var(--text-faint); }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose blockquote { margin: 1.8rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 3px solid var(--brand-500); color: var(--text-muted); font-size: 1.05rem; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal-item { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-item.revealed { opacity: 1; transform: none; }
.no-js .reveal-item { opacity: 1; transform: none; }

/* =========================================================
   Notes / callouts
   ========================================================= */
.note { border-left: 3px solid var(--brand-500); background: var(--surface-2); padding: 1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .94rem; color: var(--text-muted); }
.note--energy { border-left-color: var(--energy-500); background: var(--energy-100); color: var(--energy-700); }
.note strong { color: var(--text); }
.note--energy strong { color: var(--energy-700); }

.legal-meta { font-size: .85rem; color: var(--text-faint); }

@media (max-width: 420px) {
  .review { width: 268px; }
}

#calc-results[hidden], #calc-flats-field[hidden] { display: none; }
#calc-results { display: grid; gap: 1.25rem; }
