/* ============================================================
   Nordlicht Glas Bremen - Demo Stylesheet
   "Liquid Glass" look, inspired by Apple's design language.
   Frosted translucent panels, specular highlights, luminous
   borders, soft layered shadows, light refracted through glass.
   Self-contained - no inheritance from main studio-chop.de CSS.
   ============================================================ */

/* ---- Variables -------------------------------------------- */
:root {
  --ink:          #0f2540;   /* deep navy text            */
  --ink-soft:     #27425e;   /* secondary text            */
  --muted:        #5b7189;   /* tertiary text             */
  --blue:         #2f8fd6;   /* brand ice blue            */
  --blue-deep:    #1b4a7a;   /* deep navy accent          */
  --teal:         #2bb3c6;
  --violet:       #7b6fd6;
  --sky:          #cfe7f7;   /* pale sky tint             */
  --tint:         #eef4f9;   /* page wash                 */
  --white:        #ffffff;
  --glass-bg:     linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.42));
  --glass-border: rgba(255,255,255,.7);
  --line:         rgba(31,74,122,.12);
  --shadow-sm:    0 1px 2px rgba(15,37,64,.06), 0 4px 14px rgba(15,37,64,.06);
  --shadow:       0 2px 6px rgba(15,37,64,.05), 0 14px 34px rgba(15,37,64,.10), 0 30px 60px rgba(15,37,64,.08);
  --shadow-lg:    0 4px 12px rgba(15,37,64,.06), 0 24px 60px rgba(15,37,64,.14);
  --spec-grad:    linear-gradient(120deg, #bfe6fb 0%, #dff3ff 34%, #cfe9ff 62%, #e6d9ff 100%);
  --radius:       20px;
  --radius-lg:    26px;
  --radius-sm:    14px;
  --max-width:    1200px;
  --nav-height:   72px;
}

/* ---- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--tint);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue-deep); text-decoration: none; transition: color .15s; }
a:hover { color: var(--blue); }
ul { list-style: none; }

/* Ambient colour wash that shows through the frosted glass.
   Fixed so panels have something behind them to blur. */
.bg-orbs {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(52% 42% at 12% 8%,  rgba(110,192,232,.28), rgba(110,192,232,0) 62%),
    radial-gradient(46% 40% at 88% 18%, rgba(43,179,198,.20), rgba(43,179,198,0) 60%),
    radial-gradient(60% 55% at 82% 82%, rgba(123,111,214,.16), rgba(123,111,214,0) 60%),
    radial-gradient(40% 34% at 22% 92%, rgba(47,143,214,.16), rgba(47,143,214,0) 60%);
  pointer-events: none;
}

/* ---- Utility ---------------------------------------------- */
h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
h1, h2, h3, h4 { overflow-wrap: break-word; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.section { padding: 5rem 0; }
.section--tint { background: rgba(255,255,255,.55); }
.section--sky { background: linear-gradient(180deg, rgba(223,240,250,.65), rgba(207,231,247,.35)); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section__eyebrow {
  font-size: .8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--blue-deep); margin-bottom: .6rem;
}
.section__title { font-size: 2.6rem; font-weight: 700; margin-bottom: .8rem; }
.section__subtitle { font-size: 1.12rem; color: var(--ink-soft); max-width: 660px; margin-bottom: 2.6rem; }

/* ---- Frosted glass panel ---------------------------------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), var(--shadow);
}
/* Specular top sheen */
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(130% 55% at 50% -22%, rgba(255,255,255,.9), rgba(255,255,255,0) 58%);
  opacity: .55;
}
.glass > * { position: relative; z-index: 1; }
.glass--sm   { border-radius: var(--radius-sm); }
.glass--flat { border-radius: var(--radius-sm); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), var(--shadow-sm); }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font: inherit; font-size: 1rem; font-weight: 600;
  padding: .78rem 1.8rem; border-radius: 999px;
  cursor: pointer; transition: all .2s; border: 1px solid transparent;
  text-align: center; line-height: 1.2; white-space: nowrap;
}
.btn--sm { padding: .5rem 1.2rem; font-size: .875rem; }
.btn--primary {
  background: linear-gradient(180deg, #3f9be0, #2f87cf);
  color: #fff; border-color: rgba(9,51,93,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 18px rgba(47,135,207,.35);
}
.btn--primary:hover { background: linear-gradient(180deg, #4aa6ea, #348fd6); color: #fff; transform: translateY(-1px); }
.btn--ink {
  background: var(--ink); color: #fff; border-color: rgba(9,26,45,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 18px rgba(15,37,64,.22);
}
.btn--ink:hover { background: var(--blue-deep); color: #fff; transform: translateY(-1px); }
.btn--light {
  background: rgba(255,255,255,.85); color: var(--blue-deep);
  border-color: rgba(255,255,255,.95); box-shadow: var(--shadow-sm);
}
.btn--light:hover { background: #fff; color: var(--blue); }
.btn--outline {
  background: rgba(255,255,255,.55); color: var(--blue-deep);
  border-color: rgba(31,74,122,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.btn--outline:hover { background: rgba(255,255,255,.9); color: var(--blue); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--full { width: 100%; justify-content: center; }

/* ---- Demo banner ------------------------------------------ */
.demo-notice {
  position: relative; z-index: 1200;
  background: linear-gradient(90deg, var(--blue-deep), #1f5c9a);
  color: #e6f2fc; padding: .55rem 1.5rem; font-size: .8125rem; text-align: center;
}
.demo-notice a { color: #bfe6fb; text-decoration: underline; }
.demo-notice a:hover { color: #fff; }

/* ---- Navigation (frosted bar) ----------------------------- */
.nav-burger {
  display: none; width: 30px; height: 26px; cursor: pointer; margin-left: auto;
  flex-direction: column; justify-content: space-between;
  border: 0; background: none; padding: 0; font: inherit; color: inherit; z-index: 1101;
}
.nav-burger span {
  display: block; height: 3px; background: var(--ink);
  border-radius: 3px; transition: all .25s;
}
html.nav-open { overflow: hidden; overscroll-behavior: none; }
html.nav-open .nav-burger span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
html.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
html.nav-open .nav-burger span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.site-nav {
  position: sticky; top: 0; z-index: 1100;
  border-bottom: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 1px 0 rgba(31,74,122,.06);
}
.site-nav::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.5));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
}
.nav__inner { display: flex; align-items: center; height: var(--nav-height); gap: 1.25rem; position: relative; z-index: 1; }
.nav__logo {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.12rem; font-weight: 700; color: var(--ink); white-space: nowrap; letter-spacing: -0.01em;
}
.nav__logo:hover { color: var(--blue); }
.nav__mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, #63b4ec, #2f87cf 45%, #7b6fd6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
  display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 700;
}
.nav__links { display: flex; gap: .15rem; flex: 1; justify-content: flex-end; }
.nav__links a {
  padding: .5rem .78rem; font-size: .9rem; font-weight: 500;
  color: var(--ink-soft); border-radius: 999px; transition: all .15s; white-space: nowrap;
}
.nav__links a:hover { background: rgba(255,255,255,.75); color: var(--blue-deep); }
.nav__links a.active {
  background: var(--ink); color: #fff;
  box-shadow: 0 4px 14px rgba(15,37,64,.22);
}
.nav__links a.active:hover { background: var(--blue-deep); color: #fff; }

/* ---- Hero ------------------------------------------------- */
.hero { position: relative; padding: 5.5rem 0 5rem; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 78% 12%, rgba(255,255,255,.5), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(223,240,250,.0), rgba(223,240,250,.4));
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero__eyebrow {
  font-size: .875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--blue-deep); margin-bottom: .9rem;
}
.hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4.3rem); font-weight: 700; line-height: 1.04;
  margin-bottom: 1.2rem; letter-spacing: -0.025em;
}
.hero__title em {
  font-style: normal; color: transparent;
  background: linear-gradient(90deg, #2f87cf, #2bb3c6 55%, #7b6fd6);
  -webkit-background-clip: text; background-clip: text;
}
.hero__text { font-size: 1.16rem; color: var(--ink-soft); max-width: 560px; margin-bottom: 2.1rem; line-height: 1.7; }
.hero__actions { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero__statrow { display: flex; gap: 2.2rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero__stat b { display: block; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; }
.hero__stat span { font-size: .85rem; color: var(--muted); }

/* Hero window art: an inline SVG pane with specular sheen */
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 44px rgba(15,37,64,.16)); }

/* ---- Service cards (glass) -------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card { padding: 1.9rem; }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 1.1rem;
  display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; color: #fff;
  background: linear-gradient(135deg, #63b4ec, #2f87cf);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 18px rgba(47,135,207,.30);
}
.service-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.service-card p { color: var(--ink-soft); font-size: .96rem; }
.service-card .btn { margin-top: 1rem; }

/* ---- Product strip (glass) -------------------------------- */
.product-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.product-strip__item { overflow: hidden; padding: 0; }
.product-strip__item .glass__img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #8fb3dd, #6f97c9);
  border-bottom: 1px solid rgba(31,92,154,.18);
  display: grid; place-items: center;
}
.product-strip__item .glass__img svg { width: 78%; height: auto; }
.product-strip__body { padding: 1.15rem 1.4rem 1.4rem; position: relative; }
.product-strip__name { font-weight: 700; margin-bottom: .15rem; }
.product-strip__dim { font-size: .85rem; color: var(--muted); }
.product-strip__uw { display: inline-block; margin-top: .5rem; font-size: .78rem; font-weight: 700;
  color: var(--blue-deep); background: rgba(47,143,214,.12); padding: .2rem .6rem; border-radius: 999px; }
.product-strip__price { font-weight: 700; margin-top: .45rem; color: var(--ink); }
.product-strip__price small { font-weight: 500; color: var(--muted); }

/* ---- Stats / feature band -------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.feature-card { padding: 1.5rem 1.6rem; }
.feature-card b { display: block; font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: .25rem; }
.feature-card span { font-size: .92rem; color: var(--ink-soft); }

/* ---- Process steps ---------------------------------------- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step-card { padding: 1.7rem 1.6rem; }
.step-card__number {
  width: 42px; height: 42px; border-radius: 50%; margin-bottom: 1rem;
  display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
  background: linear-gradient(135deg, #63b4ec, #2f87cf); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.step-card h4 { font-size: 1.08rem; margin-bottom: .4rem; }
.step-card p { font-size: .9rem; color: var(--ink-soft); }

/* ---- Page header ------------------------------------------ */
.page-header { padding: 4.2rem 0 2.8rem; position: relative; }
.page-header__eyebrow {
  font-size: .8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--blue-deep); margin-bottom: .6rem;
}
.page-header h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: .8rem; }
.page-header p { color: var(--ink-soft); max-width: 640px; font-size: 1.06rem; }
.page-header__glass { padding: 2.6rem 2.8rem; margin-top: 1.8rem; }

/* ---- Forms ------------------------------------------------ */
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .45rem; color: var(--ink); }
.form-group label small { font-weight: 500; color: var(--muted); }
.form-input, .form-select, textarea.form-input {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: .75rem .95rem; border-radius: 14px;
  border: 1px solid rgba(31,74,122,.18);
  background: rgba(255,255,255,.75);
  box-shadow: inset 0 1px 2px rgba(15,37,64,.04);
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-select:focus, textarea.form-input:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47,143,214,.16);
}
.form-file { padding: .25rem 0; }
.form-file input[type=file] { font-size: .9rem; color: var(--muted); }

/* Configurator layout */
.configurator-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.6rem; align-items: start; }
.configurator-panel { padding: 2rem 2.1rem; }
.configurator-panel h2 { font-size: 1.5rem; margin-bottom: 1.3rem; }
.summary-panel { position: sticky; top: calc(var(--nav-height) + 14px); padding: 1.8rem 1.9rem; }
.summary-panel h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.summary-panel__note { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }

.summary__row { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.summary__label { color: var(--ink-soft); }
.summary__value { font-weight: 600; }
.summary__price { text-align: right; }
.summary__price b { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.summary__price small { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; }

.summary__norm { margin-top: 1.2rem; }
.summary__norm-item { font-size: .78rem; font-weight: 600; color: var(--blue-deep);
  background: rgba(47,143,214,.1); padding: .35rem .7rem; border-radius: 10px; margin-bottom: .4rem; }
.summary__cta { margin-top: 1.3rem; }
.summary__disclaimer { margin-top: 1rem; font-size: .78rem; color: var(--muted); }

/* Type cards (configurator product select) */
.field-group { display: none; }
.field-group--active { display: block; }
.dimension-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dimension-field label { font-size: .84rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .3rem; display: block; }
.dimension-field input[type=number] {
  width: 100%; font: inherit; color: var(--ink); padding: .6rem .7rem;
  border-radius: 12px; border: 1px solid rgba(31,74,122,.18); background: rgba(255,255,255,.8);
}
.range-slider { width: 100%; margin-top: .55rem; accent-color: var(--blue); }
.range-value { font-size: .82rem; color: var(--muted); font-weight: 600; }

.type-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.type-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .25rem;
  padding: .95rem .6rem; border-radius: 16px; cursor: pointer;
  background: rgba(255,255,255,.6); border: 1.5px solid rgba(31,74,122,.15);
  transition: all .15s; text-align: center;
}
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card__icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 700; color: #fff; background: linear-gradient(135deg, #63b4ec, #2f87cf);
}
.type-card__label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.type-card:hover { border-color: rgba(47,143,214,.5); }
.type-card--selected { border-color: var(--blue); background: rgba(47,143,214,.09); box-shadow: 0 0 0 3px rgba(47,143,214,.16); }

.suggestion-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.suggestion-btn {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid rgba(31,74,122,.18); background: rgba(255,255,255,.7); color: var(--blue-deep);
  transition: all .15s;
}
.suggestion-btn:hover { border-color: var(--blue); background: rgba(47,143,214,.1); }

/* Live window preview */
.window-preview {
  margin: 1.4rem 0; padding: 1.4rem; text-align: center;
  background: linear-gradient(180deg, rgba(207,231,247,.6), rgba(230,235,250,.4));
  border-radius: var(--radius);
}
.window-preview svg { width: min(360px, 88%); height: auto; }

.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.inquiry-form { margin-top: 1.6rem; }

/* ---- Norm cards ------------------------------------------ */
.norm-search {
  width: 100%; max-width: 480px; font: inherit; color: var(--ink);
  padding: .9rem 1.1rem; border-radius: 999px; margin-bottom: 1.8rem;
  border: 1px solid rgba(31,74,122,.18); background: rgba(255,255,255,.8);
  box-shadow: inset 0 1px 2px rgba(15,37,64,.04);
}
.norm-search:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,143,214,.16); }
.norm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.norm-card { padding: 1.5rem 1.7rem; }
.norm-card__number { font-weight: 700; font-size: 1.15rem; color: var(--blue-deep); margin-bottom: .15rem; }
.norm-card__title { font-weight: 600; margin-bottom: .45rem; }
.norm-card__category {
  display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: var(--blue-deep); background: rgba(47,143,214,.12); padding: .18rem .6rem; border-radius: 999px; margin-bottom: .6rem;
}
.norm-card__desc { font-size: .9rem; color: var(--ink-soft); margin-bottom: .8rem; }
.norm-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.norm-card__tag { font-size: .76rem; font-weight: 600; color: var(--ink-soft); background: rgba(31,74,122,.07); padding: .18rem .6rem; border-radius: 999px; }
.norm-card__ce { font-size: .76rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #63b4ec, #7b6fd6); padding: .18rem .6rem; border-radius: 999px; }

.norm-explainer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.explain-card { padding: 1.6rem; }
.explain-card__icon { font-size: 1.4rem; margin-bottom: .6rem; display: inline-block; }
.explain-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.explain-card p { font-size: .9rem; color: var(--ink-soft); }

/* ---- Gallery (references) -------------------------------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.filter-tab {
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  padding: .5rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(31,74,122,.16); background: rgba(255,255,255,.65); color: var(--ink-soft);
  transition: all .15s;
}
.filter-tab:hover { border-color: var(--blue); }
.filter-tab--active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in;
  background: linear-gradient(135deg, #8fb3dd, #6f97c9); aspect-ratio: 4/3;
  border: 1px solid rgba(31,92,154,.2);
}
.gallery-item svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-item__overlay {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.2rem .9rem;
  background: linear-gradient(180deg, rgba(15,37,64,0), rgba(10,28,48,.72));
  color: #fff; display: flex; flex-direction: column; gap: .1rem;
  opacity: .92; transition: opacity .2s;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__title { font-weight: 700; }
.gallery-item__cat { font-size: .78rem; opacity: .9; }
.gallery-item__norm { font-size: .7rem; font-weight: 600; background: rgba(255,255,255,.2); padding: .12rem .5rem; border-radius: 999px; align-self: flex-start; margin-top: .2rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none;
  background: rgba(15,37,64,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  align-items: center; justify-content: center; padding: 2rem;
}
.lightbox--open { display: flex; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.9); border: 0; cursor: pointer;
  border-radius: 50%; color: var(--ink); font-size: 1.4rem; line-height: 1; width: 46px; height: 46px;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__content { max-width: 860px; width: 100%; }
.lightbox__img { border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg,#dff0fa,#cfe9ff); aspect-ratio: 16/10; display: grid; place-items: center; }
.lightbox__img svg { width: 100%; height: 100%; }
.lightbox__caption { color: #fff; text-align: center; margin-top: 1rem; font-weight: 600; }
.lightbox__counter { color: rgba(255,255,255,.7); text-align: center; font-size: .85rem; margin-top: .3rem; }

/* ---- Testimonials ---------------------------------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.testimonial-card { padding: 1.8rem 1.7rem; }
.testimonial-card__stars { color: #f5a623; letter-spacing: .1em; margin-bottom: .8rem; font-size: 1rem; }
.testimonial-card__quote { font-size: .98rem; color: var(--ink); line-height: 1.7; margin-bottom: 1.2rem; }
.testimonial-card__quote::before { content: '\201C'; font-size: 2.4rem; line-height: 0; color: var(--blue); display: block; margin-bottom: .3rem; }
.testimonial-card__who { display: flex; align-items: center; gap: .8rem; }
.testimonial-card__init {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #63b4ec, #2f87cf);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.testimonial-card__name { font-weight: 700; font-size: .95rem; }
.testimonial-card__meta { font-size: .82rem; color: var(--muted); }

/* ---- Team ------------------------------------------------ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.team-card { padding: 2rem 1.8rem; text-align: center; }
.team-card__avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1.1rem;
  display: grid; place-items: center; font-size: 1.7rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #63b4ec, #2f87cf);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 28px rgba(47,135,207,.3);
}
.team-card h3 { font-size: 1.25rem; }
.team-card__role { font-weight: 600; color: var(--blue-deep); font-size: .88rem; margin: .2rem 0 .8rem; }
.team-card p { font-size: .9rem; color: var(--ink-soft); }

.machine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.machine-item { padding: 1.5rem 1.6rem; }
.machine-item__icon {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: .9rem;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #2bb3c6, #2f87cf);
}
.machine-item h4 { font-size: 1.05rem; margin-bottom: .35rem; }
.machine-item p { font-size: .88rem; color: var(--ink-soft); }

/* ---- Contact --------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.6rem; align-items: start; }
.contact-form { padding: 2rem 2.1rem; }
.info-card { padding: 1.4rem 1.5rem; margin-bottom: 1.1rem; }
.info-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.info-card p { font-size: .92rem; color: var(--ink-soft); }
.info-card a { font-weight: 600; }
.hours-table { width: 100%; font-size: .92rem; border-collapse: collapse; }
.hours-table td { padding: .3rem 0; color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.map-placeholder {
  border-radius: var(--radius-sm); height: 150px; margin-bottom: .6rem;
  display: grid; place-items: center; color: var(--muted); font-size: .9rem;
  background: linear-gradient(135deg, #dff0fa, #cfe9ff);
}

/* ---- Confirmation overlay -------------------------------- */
.confirm-overlay {
  position: fixed; inset: 0; z-index: 2100; display: none;
  background: rgba(15,37,64,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.confirm-overlay--open { display: flex; }
.confirm-box { padding: 2.2rem 2.4rem; max-width: 400px; text-align: center; }
.confirm-box__icon {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 1rem;
  display: grid; place-items: center; font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, #2bb3c6, #2f87cf);
}
.confirm-box h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.confirm-box p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.4rem; }

/* ---- CTA band -------------------------------------------- */
.cta-band { padding: 4rem 0; }
.cta-band__glass { padding: 3rem 2.5rem; text-align: center; }
.cta-band__glass h2 { font-size: 2.2rem; margin-bottom: .6rem; }
.cta-band__glass p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 1.6rem; }

/* ---- Footer ---------------------------------------------- */
.site-footer {
  padding: 3.5rem 0 2rem; margin-top: 3rem;
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(223,240,250,.5));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
}
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
.footer__col h4 { font-size: 1rem; margin-bottom: .8rem; }
.footer__col p, .footer__col a { font-size: .9rem; color: var(--ink-soft); line-height: 1.7; }
.footer__col a:hover { color: var(--blue); }
.footer__links li { margin-bottom: .35rem; }
.footer__hours { font-size: .9rem; border-collapse: collapse; }
.footer__hours td { padding: .25rem 0; color: var(--ink-soft); }
.footer__hours td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.footer__note { font-size: .82rem; color: var(--muted); margin-top: .8rem; }
.footer__bottom {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem;
  font-size: .85rem; color: var(--muted);
}
.demo-marker { color: var(--blue-deep); font-weight: 700; }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 992px) {
  .hero__grid, .configurator-layout, .contact-layout { grid-template-columns: 1fr; }
  .service-grid, .product-strip, .feature-grid, .process-steps,
  .norm-grid, .norm-explainer, .gallery-grid, .testimonial-grid,
  .team-grid, .machine-grid { grid-template-columns: 1fr 1fr; }
  .summary-panel { position: static; }

  /* Nav: switch to slide-in drawer at tablet/mobile widths so the
     wide 8-item horizontal menu never overflows the viewport. */
  .nav-burger { display: flex; }
  .nav__links {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100;
    width: min(82vw, 340px); flex-direction: column; align-items: stretch;
    justify-content: flex-start; gap: .25rem; padding: calc(var(--nav-height) + 1rem) 1.2rem 2rem;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.84));
    -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
    border-left: 1px solid rgba(255,255,255,.7); box-shadow: -20px 0 50px rgba(15,37,64,.14);
    transform: translateX(105%); visibility: hidden;
    transition: transform .28s, visibility 0s linear .28s;
    overflow-y: auto;
  }
  html.nav-open .nav__links {
    transform: translateX(0); visibility: visible;
    transition: transform .28s, visibility 0s;
  }
  .nav__links a { padding: .9rem 1rem; font-size: 1.05rem; }
  .nav__links a.active { text-align: center; }
}

@media (max-width: 720px) {
  .section { padding: 3.5rem 0; }
  .section__title { font-size: 2rem; }

  .service-grid, .product-strip, .feature-grid, .process-steps,
  .norm-grid, .norm-explainer, .gallery-grid, .testimonial-grid,
  .team-grid, .machine-grid { grid-template-columns: 1fr; }
  .dimension-row { grid-template-columns: 1fr; }
  .inquiry-grid { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero__title { font-size: 2.4rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ---- Motion & accessibility ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 3px solid rgba(47,143,214,.55); outline-offset: 2px; border-radius: 4px; }
