/* =========================================================
   ENVIEL — enviel.cz
   Brand palette (#005596 / #ffcc00) kept; everything around
   it rebuilt on a modern token system.
   ========================================================= */

:root {
  /* --- brand --- */
  --blue:        #005596;
  --yellow:      #ffcc00;

  /* --- blue ramp derived from the brand hex --- */
  --blue-950:    #001a2e;
  --blue-900:    #002a4a;
  --blue-800:    #003d6b;
  --blue-700:    #00497f;
  --blue-600:    #0a6ab2;
  --blue-200:    #b9d4e8;
  --blue-100:    #dfecf6;
  --blue-050:    #f1f7fb;

  --yellow-600:  #e0b400;
  --yellow-100:  #fff4cc;

  /* --- neutrals (cool-tinted, not flat grey) --- */
  --ink:         #101820;
  --ink-700:     #39434f;
  --ink-500:     #66707c;
  --ink-300:     #9aa3ad;
  --line:        #e3e9ef;
  --surface:     #ffffff;
  --surface-alt: #f4f7fa;
  --dark:        #23292f;
  --dark-2:      #1a1f24;

  /* --- radii --- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* --- elevation --- */
  --sh-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --sh-sm: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
  --sh-md: 0 4px 10px -2px rgba(16, 24, 40, .07), 0 12px 28px -6px rgba(16, 24, 40, .10);
  --sh-lg: 0 8px 20px -6px rgba(16, 24, 40, .10), 0 28px 56px -12px rgba(16, 24, 40, .18);
  --sh-blue: 0 18px 44px -14px rgba(0, 85, 150, .45);

  /* --- rhythm --- */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 132px);

  /* --- type --- */
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-display: clamp(3.75rem, 9vw, 7.5rem);
  --fs-h2:      clamp(2rem, 3.4vw, 3rem);
  --fs-h3:      1.0625rem;
  --fs-lead:    clamp(1.0625rem, 1.35vw, 1.25rem);
  --fs-body:    1rem;

  --ease: cubic-bezier(.22, .68, .32, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
p  { margin: 0; }

a { color: var(--blue); text-decoration: none; }

button { font: inherit; color: inherit; }

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

::selection { background: var(--yellow); color: var(--blue-900); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 3000;
  background: var(--yellow); color: var(--blue-900);
  padding: 12px 22px; font-weight: 600; border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------------------------------------------------------
   layout primitives
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section-tint { background: var(--surface-alt); }
.section-dark {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 46rem; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-lead {
  margin-top: 20px;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-500);
  text-wrap: pretty;
}
.section-dark .section-head h2 { color: #fff; }

.eyebrow {
  margin-bottom: 14px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head-center .eyebrow { justify-content: center; }
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex: none;
}
.eyebrow-yellow { color: var(--yellow); }

/* ---------------------------------------------------------
   buttons
   --------------------------------------------------------- */
.btn {
  --btn-bg: var(--yellow);
  --btn-fg: var(--blue-900);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  box-shadow: 0 10px 26px -10px rgba(255, 204, 0, .8);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(255, 204, 0, .9); }
.btn:active { transform: translateY(0); }

.btn-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------------------------------------------------------
   header
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* The frosted layer lives on a pseudo-element rather than on .site-header
   itself: a backdrop-filter would turn the header into the containing block
   for the position:fixed mobile nav, so the overlay could never cover the page. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: background-color .3s var(--ease);
}
.site-header.is-scrolled::before { background: rgba(255, 255, 255, .94); }
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -14px rgba(16, 24, 40, .5);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: clamp(150px, 16vw, 190px); }

.main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 38px);
}
.main-nav a {
  position: relative;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
  padding-block: 6px;
  transition: color .25s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after { transform: scaleX(1); }

.nav-cta a {
  padding: 11px 24px;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #fff;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.nav-cta a::after { display: none; }
.nav-cta a:hover { background: var(--blue-800); color: #fff; transform: translateY(-1px); }

.nav-toggle, .nav-close {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 500;
  padding: 10px;
}
.burger { display: grid; gap: 5px; width: 22px; }
.burger i { height: 2px; background: currentColor; border-radius: 2px; }

/* ---------------------------------------------------------
   hero
   --------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  min-height: min(88vh, 900px);
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 104px) clamp(24px, 5vw, 84px);
  background:
    radial-gradient(120% 90% at 12% 0%, var(--blue-700) 0%, transparent 60%),
    linear-gradient(155deg, var(--blue) 0%, var(--blue-900) 100%);
  overflow: hidden;
  isolation: isolate;
}
/* soft brand glow */
.hero-panel::before {
  content: "";
  position: absolute;
  width: 46vw; aspect-ratio: 1;
  right: -20vw; top: -16vw;
  background: radial-gradient(circle, rgba(120, 190, 255, .16) 0%, transparent 64%);
  z-index: -1;
}

.hero-copy { max-width: 34rem; margin-left: auto; width: 100%; }

.hero-title {
  font-size: var(--fs-display);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .92;
  color: #fff;
  margin-block: 4px 0;
}
.hero-lead {
  margin-top: clamp(20px, 2.4vw, 30px);
  max-width: 30rem;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
  text-wrap: pretty;
}
.hero .btn { margin-top: clamp(28px, 3.4vw, 42px); }

.scroll-cue {
  position: absolute;
  left: clamp(24px, 5vw, 84px);
  bottom: 34px;
  width: 24px; height: 40px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: var(--r-pill);
}
.scroll-cue span {
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--yellow);
  animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%      { transform: translateY(14px); opacity: .2; }
}

.hero-media { position: relative; overflow: hidden; background: var(--blue-900); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 72%; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 42, 74, .5) 0%, transparent 34%);
  pointer-events: none;
}

/* ---------------------------------------------------------
   koncept
   --------------------------------------------------------- */
.koncept {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.koncept-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: var(--sh-md);
}
.koncept-card h2 { margin-bottom: 22px; }
.koncept-card p { font-size: 1.0625rem; font-weight: 300; line-height: 1.75; text-wrap: pretty; }
.koncept-card p + p { margin-top: 20px; }

.pull-quote {
  margin-block: 24px;
  padding: 18px 24px;
  border-left: 3px solid var(--yellow);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--blue-050);
  color: var(--blue-800) !important;
  font-weight: 500 !important;
  font-size: 1.0625rem;
}

.koncept-media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.koncept-media img { width: 100%; }

/* ---------------------------------------------------------
   card grids (výhody, nástavby)
   --------------------------------------------------------- */
.card-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: clamp(14px, 1.6vw, 22px);
}
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.feature-card, .nastavba-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: clamp(22px, 2.4vw, 32px) 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature-card:hover, .nastavba-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--sh-md);
}
.feature-card h3, .nastavba-card h3 { color: var(--blue-800); }
.nastavba-card h3 { font-size: .875rem; font-weight: 500; color: var(--ink-700); }

.icon-well {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: var(--r-md);
  background: var(--blue-050);
  transition: background-color .3s var(--ease);
}
.icon-well-round { border-radius: var(--r-pill); }
.icon-well img { width: 40px; height: auto; }
.feature-card:hover .icon-well,
.nastavba-card:hover .icon-well { background: var(--blue-100); }

/* ---------------------------------------------------------
   video
   --------------------------------------------------------- */
.video {
  margin-top: clamp(48px, 6vw, 80px);
  margin-bottom: calc(var(--section-y) * -1 - 60px);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  z-index: 5;
  box-shadow: var(--sh-lg);
}
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* the dark stats section absorbs the overhang */
.section-dark { padding-top: calc(var(--section-y) + 120px); }

/* ---------------------------------------------------------
   stats
   --------------------------------------------------------- */
.stat-row {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: rgba(255, 255, 255, .09);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: clamp(30px, 4vw, 48px) 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  text-align: center;
}
.stat-value {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: .9375rem; color: rgba(255, 255, 255, .62); }
.stat::after {
  content: "";
  width: 34px; height: 3px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--yellow);
}

/* ---------------------------------------------------------
   spec list
   --------------------------------------------------------- */
.spec-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(8, auto);
  grid-auto-flow: column;
  column-gap: clamp(28px, 4vw, 64px);
}
.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
}
.tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: var(--r-pill);
  background: var(--blue-050);
  color: var(--blue);
}
.tick svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.blueprint {
  margin: clamp(48px, 6vw, 76px) 0 0;
  padding: clamp(24px, 4vw, 52px);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
}
.blueprint img { width: 100%; }
.blueprint figcaption {
  margin-top: 20px;
  font-size: .875rem;
  color: var(--ink-500);
  letter-spacing: .01em;
}

/* ---------------------------------------------------------
   editorial (photo) sections
   --------------------------------------------------------- */
.editorial {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(86vh, 760px);
  padding-block: clamp(72px, 9vw, 128px);
  overflow: hidden;
  isolation: isolate;
}
.editorial-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.editorial::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
}
.editorial-left::after  { background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 42%, transparent 72%); }
.editorial-right::after { background: linear-gradient(270deg, rgba(0, 42, 74, .84) 0%, rgba(0, 42, 74, .5) 42%, transparent 72%); }

.editorial .container { display: flex; }
.editorial-right .container { justify-content: flex-end; }

.editorial-card {
  max-width: 34rem;
  padding: clamp(28px, 3.6vw, 48px);
  border-radius: var(--r-lg);
  background: rgba(16, 24, 32, .52);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--sh-lg);
}
.editorial-card-blue {
  background: rgba(0, 60, 105, .58);
  border-color: rgba(255, 255, 255, .16);
}
.editorial-card h2 { color: #fff; margin-bottom: 20px; }
.editorial-card p {
  color: rgba(255, 255, 255, .86);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  text-wrap: pretty;
}
.editorial-card p + p { margin-top: 18px; }

/* ---------------------------------------------------------
   comparison table
   --------------------------------------------------------- */
.table-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.cost-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.cost-table thead th {
  padding: 22px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  color: var(--ink-500);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  vertical-align: bottom;
  line-height: 1.4;
}
.cost-table thead th:first-child { width: 48%; text-align: left; }

.cost-table tbody th,
.cost-table tbody td { padding: 16px 24px; font-size: .9375rem; }
.cost-table tbody th { text-align: left; font-weight: 500; color: var(--ink-700); }
.cost-table tbody td { text-align: center; font-weight: 600; color: var(--ink); }
.cost-table tbody tr + tr th,
.cost-table tbody tr + tr td { border-top: 1px solid var(--line); }

/* highlighted ENVIEL column */
.col-enviel { position: relative; background: var(--blue-050); }
.cost-table thead th.col-enviel {
  background: var(--blue);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .08em;
  vertical-align: middle;
  border-bottom-color: var(--blue);
}
.cost-table tbody td.col-enviel { color: var(--blue-800); }

.cost-table .row-group th {
  padding-top: 30px;
  color: var(--blue);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cost-table .row-total th { font-weight: 700; color: var(--ink); }
.cost-table .row-total td { font-size: 1.0625rem; }
.cost-table .row-total td.col-enviel { color: var(--blue); font-weight: 700; }

.tip {
  border-bottom: 1px dashed var(--ink-300);
  cursor: help;
}

/* horizontal-scroll affordance for narrow screens */
.table-hint {
  display: none;
  margin-top: 14px;
  text-align: center;
  font-size: .8125rem;
  color: var(--ink-500);
}

/* ---------------------------------------------------------
   gallery
   --------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 236px);
  gap: clamp(12px, 1.4vw, 18px);
}
.gallery-item {
  position: relative;
  display: block;
  height: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-alt);
  cursor: zoom-in;
}
.gallery-item-wide { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 42, 74, .5));
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

/* ---------------------------------------------------------
   downloads
   --------------------------------------------------------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 780px;
  margin-inline: auto;
}
.download-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.download-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-200);
  box-shadow: var(--sh-md);
}
.download-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  background: var(--blue);
  color: #fff;
}
.download-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.download-body { display: grid; gap: 2px; }
.download-title { font-weight: 600; color: var(--ink); }
.download-meta  { font-size: .8125rem; color: var(--ink-500); letter-spacing: .04em; }

/* ---------------------------------------------------------
   kontakt
   --------------------------------------------------------- */
.section-kontakt {
  position: relative;
  background:
    radial-gradient(90% 120% at 84% 6%, var(--blue-700) 0%, transparent 62%),
    linear-gradient(155deg, var(--blue) 0%, var(--blue-900) 100%);
  overflow: hidden;
}
.section-kontakt::before {
  content: "";
  position: absolute;
  width: 46vw; aspect-ratio: 1;
  left: -16vw; bottom: -24vw;
  background: radial-gradient(circle, rgba(120, 190, 255, .18) 0%, transparent 66%);
}
.kontakt-inner { position: relative; text-align: center; max-width: 46rem; margin-inline: auto; }
.kontakt-inner .eyebrow { justify-content: center; }
.kontakt-inner h2 { color: #fff; display: grid; gap: 4px; }
.kontakt-inner h2 span { font-weight: 300; color: rgba(255, 255, 255, .78); }
.kontakt-lead {
  margin-top: 20px;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
}

.kontakt-actions {
  margin-top: clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.contact-tile {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.contact-tile:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 204, 0, .5);
}
.contact-icon {
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  color: var(--blue-900);
}
.contact-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-body { display: grid; gap: 1px; min-width: 0; }
.contact-label { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.contact-value { font-size: 1.0625rem; font-weight: 600; color: #fff; overflow-wrap: anywhere; }

/* ---------------------------------------------------------
   footer
   --------------------------------------------------------- */
.site-footer {
  background: var(--dark-2);
  padding-block: clamp(56px, 7vw, 88px) 32px;
  color: rgba(255, 255, 255, .72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.footer-brand img { width: clamp(180px, 20vw, 230px); }
.footer-brand p { margin-top: 18px; font-size: .9375rem; font-weight: 300; max-width: 22rem; }

.footer-box { display: flex; gap: 16px; }
.footer-icon {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .07);
  color: var(--yellow);
}
.footer-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-box h3 { color: #fff; font-size: 1.0625rem; margin-bottom: 10px; }
.footer-box p { font-size: .9375rem; font-weight: 300; line-height: 1.7; }
.footer-note { margin-top: 14px; color: rgba(255, 255, 255, .5); font-size: .875rem; }
.footer-box a { color: rgba(255, 255, 255, .82); transition: color .25s var(--ease); }
.footer-box a:hover { color: var(--yellow); }

.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .7);
  transition: color .25s var(--ease);
}
.to-top:hover { color: var(--yellow); }
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------
   lightbox
   --------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(10, 14, 18, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lb-figure { grid-column: 2; margin: 0; display: grid; place-items: center; min-height: 0; }
.lb-figure img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--r-md);
  object-fit: contain;
  box-shadow: var(--sh-lg);
}

.lb-close, .lb-nav {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  border-radius: var(--r-pill);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .2); }
.lb-nav { width: 52px; height: 52px; font-size: 30px; line-height: 1; padding-bottom: 4px; }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
.lb-close {
  position: absolute;
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  width: 46px; height: 46px;
  font-size: 28px; line-height: 1;
  padding-bottom: 4px;
}
.lb-counter {
  grid-column: 2;
  position: absolute;
  bottom: clamp(12px, 3vw, 28px);
  left: 0; right: 0;
  text-align: center;
  color: rgba(255, 255, 255, .6);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}
body.lb-open { overflow: hidden; }

/* ---------------------------------------------------------
   scroll reveal
   --------------------------------------------------------- */
/* Opt-in: only hidden once JS has confirmed it is running, so a script
   failure or a no-JS client still gets the full page. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* stagger inside grids */
.card-grid .reveal:nth-child(2), .spec-list .reveal:nth-child(2) { transition-delay: .05s; }
.card-grid .reveal:nth-child(3), .spec-list .reveal:nth-child(3) { transition-delay: .10s; }
.card-grid .reveal:nth-child(4), .spec-list .reveal:nth-child(4) { transition-delay: .15s; }
.card-grid .reveal:nth-child(5) { transition-delay: .20s; }
.card-grid .reveal:nth-child(6) { transition-delay: .25s; }
.stat-row .reveal:nth-child(2) { transition-delay: .1s; }
.stat-row .reveal:nth-child(3) { transition-delay: .2s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .card-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  /* nav → full-screen overlay */
  .nav-toggle { display: inline-flex; }
  .nav-close {
    display: inline-flex;
    position: absolute;
    top: 22px; right: 20px;
    color: var(--yellow);
    font-size: 1rem;
  }
  .nav-close span:first-child { font-size: 30px; line-height: 1; }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-900) 100%);
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
  }
  .main-nav.is-open { visibility: visible; opacity: 1; }
  .main-nav ul { flex-direction: column; gap: 6px; width: 100%; }
  .main-nav li { width: 100%; text-align: center; }
  .main-nav a {
    display: block;
    padding: 14px 20px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
  }
  .main-nav a::after { display: none; }
  .main-nav a:hover { color: var(--yellow); }
  .nav-cta { margin-top: 16px; }
  .nav-cta a {
    display: inline-block;
    width: auto;
    background: var(--yellow);
    color: var(--blue-900);
    font-size: 1.125rem;
    padding: 14px 34px;
  }
  .nav-cta a:hover { background: var(--yellow); color: var(--blue-900); }
  body.nav-open { overflow: hidden; }

  /* hero stacks */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel { padding-block: clamp(56px, 12vw, 88px) 88px; }
  .hero-copy { margin-inline: 0; max-width: none; }
  .scroll-cue { display: none; }
  .hero-media { aspect-ratio: 16 / 10; }

  .koncept { grid-template-columns: 1fr; }
  .koncept-media { order: -1; }

  .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }

  .editorial .container, .editorial-right .container { justify-content: center; }
  .editorial-card { max-width: 40rem; }
  .editorial-left::after  { background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .7)); }
  .editorial-right::after { background: linear-gradient(180deg, rgba(0, 42, 74, .55), rgba(0, 42, 74, .78)); }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 26vw, 220px); }
  .gallery-item-wide { grid-column: span 2; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .card-grid-4, .card-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .kontakt-actions { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 62vw; }
  .gallery-item, .gallery-item-wide { grid-column: auto; }

  .video { margin-bottom: calc(var(--section-y) * -1 - 20px); }
  .section-dark { padding-top: calc(var(--section-y) + 70px); }

  .lightbox { grid-template-columns: 1fr; }
  .lb-figure { grid-column: 1; }
  .lb-nav { position: absolute; bottom: 16px; width: 46px; height: 46px; }
  .lb-prev { left: 20%; }
  .lb-next { right: 20%; }
  .lb-counter { bottom: 78px; }

  .cost-table { min-width: 520px; }
  .cost-table thead th, .cost-table tbody th, .cost-table tbody td { padding: 14px 14px; font-size: .875rem; }
  .table-hint { display: block; }
}

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

@media print {
  .site-header, .video, .lightbox, .scroll-cue, .to-top { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  body { color: #000; }
}
