/* LadeAlm — Main Stylesheet */
/* Design token: larghezza contenuto unificata */
:root {
  --max-w:  1200px;           /* unica sorgente di verità per tutti i contenitori */
  --pad-x:  clamp(20px, 4vw, 60px);   /* padding orizzontale uniforme */
  --pad-y:  clamp(60px, 8vw, 100px);  /* padding verticale uniforme */

  --dark:   #102226;
  --accent: #A2C62F;
  --white:  #ffffff;
  --border: rgba(162,198,47,0.12);
  --font:   'Work Sans', 'Avenir Next', 'Avenir', sans-serif;
}


/* Local Fonts */
@font-face {
  font-family: 'Reospec';
  src: url('../font/reospec-webfont.woff2') format('woff2'),
       url('../font/reospec-webfont.woff')  format('woff'),
       url('../font/Reospec.otf')   format('opentype'); /* fallback desktop */
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('../font/work-sans-v24-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('../font/work-sans-v24-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('../font/work-sans-v24-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('../font/work-sans-v24-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('../font/work-sans-v24-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('../font/work-sans-v24-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ─── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}
img   { display: block; max-width: 100%; }
a     { text-decoration: none; }


/* SHARED BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(162,198,47,0.4);
}
.btn--primary:hover { box-shadow: 0 8px 28px rgba(162,198,47,0.55); }

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--ghost:hover { background: rgba(255,255,255,0.2); }


/* 1. HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/home_background.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero__bg { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(16,34,38,0.55) 0%,
    rgba(16,34,38,0.25) 45%,
    rgba(16,34,38,0.80) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(35px, 4vh, 75px);
  text-align: center;
  width: 100%;
  max-width: 860px;
  padding-inline: 24px;
}

.hero__logo { animation: fadeDown 0.9s ease both; }
.hero__logo-img {
  /* height: 65px; DISABILITATO PER CLAMP  */
  height: clamp(52px, 7vh, 110px);
  width: auto;
  display: block;
  margin: 0 auto;
}

.hero__logo-secondary {
  animation: fadeIn 1s 0.4s ease both;
  margin-bottom: 8px;
}
.hero__logo-secondary img {
  /* height: 30px; DISABILITATO PER CLAMP */ 
  height: clamp(24px, 3.5vh, 56px);
  width: auto;
  display: block;
  margin: 25px auto 5px;
}

.hero h1 {
  font-size: clamp(1.1rem, 1.8vw + 0.7rem, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -0.02em;
  animation: fadeUp 1s 0.3s ease both;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin: 5px auto ;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero__sub {
  margin-top: 16px;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.65;
  animation: fadeUp 1s 0.55s ease both;
}

/* CTA — posizionati in basso, sopra lo scroll */
.hero__cta {
  position: absolute;
  bottom: 130px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  gap: 14px;
  justify-content: center;
  animation: fadeUp 1s 0.8s ease both;
}

.hero__bottom {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: fadeIn 1s 1.4s ease both;
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(162,198,47,0.7), transparent);
  animation: scrollPulse 1.8s ease infinite;
}

.copyright {
  text-align: center;
}


/* 2. FEATURES — 5 ICON COLUMNS */
.features {
  background: var(--dark);
  padding: var(--pad-y) var(--pad-x);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 70px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeUp 0.8s ease both;
}
.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.15s; }
.feature-card:nth-child(3) { animation-delay: 0.25s; }
.feature-card:nth-child(4) { animation-delay: 0.35s; }
.feature-card:nth-child(5) { animation-delay: 0.45s; }

.feature-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-bottom: 20px;
  padding: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
.feature-card:hover .feature-card__icon {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 8px 24px rgba(162,198,47,0.35);
}

.feature-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.feature-card__text {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.65;
}


/* 3. CONTENT SECTION */
.content-section {
  background: var(--dark);
  padding: var(--pad-y) var(--pad-x);
  position: relative;
}

/* Bordo superiore: metà larghezza, centrato */
.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: var(--border);
}

.content-section__header {
  max-width: var(--max-w);
  margin: 0 auto clamp(40px, 5vw, 56px);
}

.content-section h2 {
  font-family: 'Reospec', var(--font);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--accent);
}

.content-row {
  display: grid;
  grid-template-columns: 45% 1fr;
  column-gap: 4%;
  align-items: stretch;
  max-width: var(--max-w);
  margin: 0 auto;
}

.content-image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}
.content-image:hover img { transform: scale(1.04); }

.content-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.text-block {
  padding: clamp(24px, 3vw, 40px) clamp(18px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 28px;          /* spazio tra i gruppi titolo+contenuto */
}
.text-block:nth-child(2) {
  border-left: 1px solid var(--border);
}

.text-block__group {
  display: flex;
  flex-direction: column;
  gap: 10px;          /* spazio tra titolo, paragrafo e lista */
}

.text-block__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.text-block p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.75;
  margin: 0;
}

/* Etichetta "Mögliche Nutzung:" — stile leggero sopra la lista */
.text-block__sublabel {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.text-block__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.text-block__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
}
.text-block__list li::before {
  content: '·';
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -2px;
}

/* Lista annidata (es. altezze) */
.text-block__list--nested {
  margin-top: 6px;
  padding-left: 16px;
}
.text-block__list--nested li::before {
  content: '–';
  font-size: 0.9rem;
  margin-top: 1px;
  color: rgba(162,198,47,0.6);
}


/* 4. INFO SECTION */
/* info-section: sfondo scuro come content-section,
   header con stesso stile */
.info-section {
  background: var(--dark);
  padding: var(--pad-y) var(--pad-x) 0;
  position: relative;
}

/* Bordo superiore: metà larghezza, centrato — come content-section */
.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: var(--border);
}

/* Header: stesso stile di content-section__header */
.info-section__header {
  max-width: var(--max-w);
  margin: 0 auto /*clamp(40px, 5vw, 55px)*/;
}


/* H2: verde accent su sfondo scuro — come content-section h2 */
.info-section h2 {
  font-family: 'Reospec', var(--font);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--accent);   /* verde chiaro su scuro */
}

/* Immagine: dopo le colonne, sfondo bianco, larghezza piena senza tagli */
.info-section__image {
  background: var(--white);
  margin-inline: calc(-1 * var(--pad-x));  /* esce dal padding della sezione */
  padding: clamp(40px, 5vw, 64px) var(--pad-x);
}

.info-section__image img {
  display: block;
  width: 100%;
  height: auto;           /* altezza naturale — nessun taglio */
  max-width: var(--max-w);
  margin: 0 auto;
  border-radius: 8px;
}


/* Zeile 3: banda scura a piena larghezza — sfugge al padding-inline del padre */
.info-section__columns {
  background: var(--dark);
  padding: var(--pad-y) var(--pad-x);
  margin-inline: calc(-1 * var(--pad-x));  /* annulla il padding-inline del padre */
}

/* Interner Wrapper begrenzt den Inhalt auf --max-w */
.info-columns__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
}

.info-col {
  padding: 0 clamp(18px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.info-col:first-child { padding-left: 0; }
.info-col:last-child  { padding-right: 0; }

.info-col + .info-col {
  border-left: 1px solid var(--border);
}

/* Riusa text-block__title per i titoli delle colonne */
.info-col .text-block__title { color: var(--accent); }
.info-col p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.75;
  margin: 0;
}


/* KEYFRAMES */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%   { opacity: 1;   transform: scaleY(1); }
  50%  { opacity: 0.3; transform: scaleY(0.6); }
  100% { opacity: 1;   transform: scaleY(1); }
}


/* 5. GALLERY SECTION */
.gallery-section {
  background: var(--white);
  padding: var(--pad-y) var(--pad-x);
}

.gallery-section__header {
  max-width: var(--max-w);
  margin: 0 auto clamp(36px, 4vw, 52px);
}

.gallery-section h2 {
  font-family: 'Reospec', var(--font);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--dark);         /* corretto: scuro su bianco */
}

.gallery-section h3 {
  color: rgba(16,34,38,0.6);
  margin-top: 12px;
  font-weight: 500;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  line-height: 1.5;
}

.slider-outer {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 4px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.slide {
  flex: 0 0 var(--slide-width, 280px);
  height: 220px;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  pointer-events: none;
}
.slide:hover img { transform: scale(1.05); }

.caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(16,34,38,0.72);
  backdrop-filter: blur(4px);
  color: var(--accent);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 5px;
  pointer-events: none;
}
.caption strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1px;
}

.slider-controls {
  max-width: var(--max-w);
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.slider-progress {
  flex: 1;
  height: 3px;
  background: rgba(16,34,38,0.15);
  border-radius: 99px;
  position: relative;
  overflow: hidden;
}
.slider-progress__fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.slider-arrows { display: flex; gap: 10px; flex-shrink: 0; }

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.slider-btn:hover { background: var(--accent); color: var(--dark); transform: scale(1.08); }
.slider-btn:disabled {
  border-color: rgba(16,34,38,0.2);
  color: rgba(16,34,38,0.2);
  cursor: default;
  transform: none;
  background: transparent;
}
.slider-btn svg { width: 18px; height: 18px; flex-shrink: 0; }


/* 6. LIGHTBOX */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,20,22,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  padding: 24px;
}
.lb-overlay.is-open { opacity: 1; pointer-events: all; }

.lb-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(100vw - 180px);
  max-height: calc(100vh - 80px);
}

.lb-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}
.lb-img--loading { opacity: 0.3; }

.lb-caption {
  margin-top: 14px;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 400;
  text-align: center;
  min-height: 20px;
  line-height: 1.5;
}
.lb-caption strong {
  color: var(--accent);
  font-weight: 700;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.7);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  z-index: 10001;
}
.lb-close:hover { border-color: var(--accent); color: var(--accent); transform: rotate(90deg); }
.lb-close svg { width: 18px; height: 18px; }

.lb-arrow {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.65);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}
.lb-arrow:hover { border-color: var(--accent); color: var(--dark); background: var(--accent); transform: scale(1.08); }
.lb-arrow svg { width: 20px; height: 20px; }


/* FOOTER */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(162,198,47,0.15);
  padding: clamp(48px, 7vw, 70px) var(--pad-x);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 0;
  align-items: center;
}

/* ── Colonna 1 ── */
.footer__col--main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* tutto allineato a sinistra */
  gap: 14px;
  padding-right: clamp(32px, 5vw, 80px);
  border-right: 1px solid var(--border);
}

/* Logo: allineato a sinistra, nessun margin: auto */
.footer__logo {
  height: clamp(52px, 7vw, 80px);
  width: auto;
  display: block;
}

/* "MICROMOBILITY CHARGING STATION" — p con stile display, non titolo */
.footer__product-name {
  font-size: clamp(0.75rem, 1.1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

/* Sottotitolo */
.footer__claim {
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 25px;
}

.footer__contact-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}

.footer__contact-company {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}

/* Mail: verde, underline animato all'hover */
.footer__contact-mail {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--accent);
  text-decoration: none;
  display: block;
  width: fit-content;        /* il box si restringe alla larghezza del testo */
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease, color 0.3s;
}
.footer__contact-mail:hover {
  background-size: 100% 1px;
  /* color: var(--accent); */
}

/* ── Colonna 2 ── */
.footer__col--credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-left: clamp(32px, 5vw, 80px);
}

.footer__designed-by {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.footer__designer-logo {
  /* height: clamp(28px, 3.5vw, 44px); */
  height: clamp(48px, 6vw, 60px);
  width: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s;
  filter: brightness(0) invert(1);
}
.footer__designer-logo:hover { opacity: 1; }


/* RESPONSIVE */

/* ── Tablet (max 1024px) ── */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }

  .content-row { grid-template-columns: 1fr; column-gap: 0; }
  .content-image { min-height: 420px; width: 100%; }
  .content-text-grid { grid-template-columns: 1fr 1fr; margin-top: 5%; }

  .info-columns__inner { grid-template-columns: 1fr 1fr; }
  .info-col:nth-child(3) {
    border-left: none;
    border-top: none;
    padding-top: 56px;
    padding-left: 0;
    grid-column: 1 / -1;
  }
}

/* ── Mobile (max 680px) ── */
@media (max-width: 680px) {
  .features__grid { grid-template-columns: 1fr; }

  .content-image { min-height: 260px; }
  .content-text-grid { grid-template-columns: 1fr; margin-top: 6%; }
  .text-block:nth-child(2) { border-left: none; border-top: none; }
  .text-block { padding-inline: 0; }

  .info-columns__inner { grid-template-columns: 1fr; }
  .info-col { padding: 0; }
  .info-col + .info-col { border-left: none; border-top: none; padding-top: 28px; }

  .caption { font-size: 0.72rem; }

  /* Footer: colonne impilate */
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__col--main {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 40px;
  }
  .footer__col--credits { padding-left: 0; align-items: flex-start; }

  /* ── Lightbox mobile: fullscreen, no side arrows ── */
  .lb-overlay {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
  }

  /* Frecce laterali nascoste — navigazione via swipe */
  .lb-arrow { display: none; }

  /* Tasto chiudi: rimane ma si sposta leggermente */
  .lb-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  /* L'immagine occupa tutto lo spazio disponibile sopra la caption */
  .lb-content {
    flex: 1;
    max-width: 100%;
    max-height: none;
    width: 100%;
    justify-content: center;
    padding: 56px 0 0;  /* spazio per il tasto chiudi */
  }

  .lb-img {
    max-width: 100%;
    max-height: calc(100vh - 100px);
    width: 100%;
    object-fit: contain;
    border-radius: 0;
  }

  /* Didascalia: barra fissa in basso */
  .lb-caption {
    flex-shrink: 0;
    margin: 0;
    padding: 12px 20px 20px;
    /*background: rgba(10,20,22,0.9);*/
    text-align: center;
    border-top: 1px solid rgba(162,198,47,0.15);
    min-height: auto;
  }

  /* CTA: colonna singola centrata su mobile */
.hero__cta {
  flex-direction: column;
  align-items: center;
  bottom: 140px;
  gap: 20px;
}

/* Back to top: posizione mobile */
.back-to-top {
  bottom: 18px;
  right: 16px;
}

}

/* Torna su */
.back-to-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--dark);
  color: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s, background 0.2s;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}
.back-to-top svg { width: 18px; height: 18px; }

.privacy-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  max-width: 380px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  animation: fadeUp 0.5s 1s ease both;
}

.privacy-notice p {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  margin: 0;
}

.privacy-notice strong {
  color: var(--accent);
  font-weight: 700;
}

.privacy-notice__close {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.privacy-notice__close:hover {
  background: var(--accent);
  color: var(--dark);
}

.privacy-notice.is-hidden {
  display: none;
}

/* ── Impressum Modal ── */
.impressum-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(10,20,22,0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.impressum-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.impressum-modal {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: clamp(32px, 5vw, 52px);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.impressum-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: rgba(255,255,255,0.5);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.impressum-close:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(90deg);
}
.impressum-close svg { width: 16px; height: 16px; }

.impressum-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.impressum-title {
  /* font-family: 'Reospec', var(--font); */
  font-family: 'Work Sans', var(--font);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.impressum-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.impressum-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.impressum-company {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.impressum-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 12px;
}
.impressum-label:first-child { margin-top: 0; }

.impressum-text {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.impressum-text a {
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  width: fit-content;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease, color 0.3s;
}
.impressum-text a:hover {
  background-size: 100% 1px;
  color: var(--accent);
}

/* Mobile */
@media (max-width: 680px) {
  .impressum-modal { padding: 28px 20px; }
}


.datenschutz-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
  padding: 0;
}

.datenschutz-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.datenschutz-list li::before {
  content: '·';
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -2px;
}