/* =========================================================
   AXSAS AG — Design tokens (colors preserved from original site)
   grey  #CCCCCC | white #FFFFFF | text #333333 | link #777777
   hover accent #FFCC00 on #000000 | logo blue #1C7FC1
   ========================================================= */
:root {
  --c-white: #ffffff;
  --c-grey-50: #f4f4f4;
  --c-grey-100: #e9e9e9;
  --c-grey-300: #cccccc;
  --c-grey-500: #999999;
  --c-grey-700: #777777;
  --c-text: #333333;
  --c-text-muted: #6b6b6b;
  --c-black: #131313;
  --c-blue: #1c7fc1;
  --c-blue-dark: #145f92;
  --c-gold: #ffcc00;
  --c-gold-dark: #d9ac00;
  --c-gold-ink: #8a5d0a;

  --font-head: "Oswald", "Arial Narrow", Helvetica, Arial, sans-serif;
  --font-body: "Inter", Helvetica, Arial, sans-serif;

  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.18);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 16px;
  color: var(--c-black);
}

h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--c-text-muted); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold-ink);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--c-gold);
  display: inline-block;
}

.section { padding: 88px 0; }
.section-grey { background: var(--c-grey-50); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--c-gold);
  color: var(--c-black);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { background: var(--c-gold-dark); color: var(--c-black); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--c-white);
}
.btn-outline:hover { border-color: var(--c-gold); color: var(--c-gold); }

.btn-dark {
  background: var(--c-black);
  color: var(--c-white);
}
.btn-dark:hover { background: #000; color: var(--c-gold); }

.btn-ghost {
  background: transparent;
  border-color: var(--c-grey-300);
  color: var(--c-text);
}
.btn-ghost:hover { border-color: var(--c-black); color: var(--c-black); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--c-black);
  color: var(--c-grey-300);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}
.topbar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-info a { color: var(--c-grey-300); }
.topbar-info a:hover { color: var(--c-gold); }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-badge { color: var(--c-gold); font-weight: 600; letter-spacing: 0.04em; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-grey-100);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}
.logo img { height: 52px; width: auto; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  display: block;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c-text);
  padding: 10px 16px;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--c-black);
  color: var(--c-gold);
}

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-cta { display: none; }
@media (min-width: 920px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--c-black); }

@media (max-width: 919px) {
  .nav-toggle { display: flex; }
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-grey-100);
    box-shadow: var(--shadow-md);
    display: none;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; padding: 12px 24px 20px; gap: 2px; }
  .topbar-info { font-size: 0.76rem; gap: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1100px 600px at 82% -10%, #1c3a52 0%, var(--c-black) 55%), var(--c-black);
  color: var(--c-white);
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 0%, transparent 60%, rgba(255, 204, 0, 0.06) 60%, rgba(255, 204, 0, 0.06) 62%, transparent 62%),
    linear-gradient(115deg, transparent 0%, transparent 68%, rgba(28, 127, 193, 0.10) 68%, rgba(28, 127, 193, 0.10) 71%, transparent 71%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--c-gold); }

.hero h1 {
  color: var(--c-white);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--c-gold);
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 28px;
}
.hero-stats .stat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--c-gold);
  line-height: 1;
}
.hero-stats .stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* Hero visual: mosaic of real jobsite photos */
.hero-visual { position: relative; }
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mosaic a {
  position: relative;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 3px solid rgba(255, 204, 0, 0.55);
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.mosaic a:nth-child(2) { border-color: rgba(28, 127, 193, 0.6); transform: translateY(-16px); }
.mosaic a:nth-child(5) { border-color: rgba(28, 127, 193, 0.6); transform: translateY(-16px); }
.mosaic a:hover { transform: scale(1.06) translateY(-4px); border-color: var(--c-gold); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marquee strip (services quick nav) ---------- */
.strip {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-grey-100);
}
.strip .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 18px;
  padding-bottom: 18px;
  scrollbar-width: thin;
}
.strip a {
  flex: none;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-text-muted);
  padding: 8px 14px;
  border: 1px solid var(--c-grey-100);
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.strip a:hover { background: var(--c-black); color: var(--c-gold); border-color: var(--c-black); }

/* ---------- About / Firmenportrait ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.about-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.about-photos img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.about-photos .ph-1 { margin-top: 44px; }

.badge-iso {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-gold);
  color: var(--c-black);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.about-facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.about-facts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--c-text);
}
.about-facts .check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-blue);
  color: var(--c-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.about-facts .check svg { width: 12px; height: 12px; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-grey-100);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid var(--c-grey-100);
  transition: border-color 0.2s ease;
}
.service-card:hover .service-photo { border-color: var(--c-gold); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.88rem;
  margin-bottom: 0;
  color: var(--c-text-muted);
}
.service-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-blue-dark);
  margin-bottom: 8px;
}

.gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 16px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c-black);
  background: var(--c-grey-50);
  border: 1px solid var(--c-grey-100);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.gallery-btn svg { width: 15px; height: 15px; flex: none; }
.gallery-btn:hover { background: var(--c-black); color: var(--c-gold); border-color: var(--c-black); }

/* ---------- Lightbox gallery ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  background: rgba(10, 10, 10, 0.94);
  padding: 20px;
}
.lightbox.open { display: flex; }

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  flex: none;
}
.lightbox-title { text-transform: uppercase; font-weight: 600; }
.lightbox-count { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.55); margin-left: 12px; }

.lightbox-icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--c-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lightbox-icon-btn:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-black); }
.lightbox-icon-btn svg { width: 18px; height: 18px; }
.lightbox-icon-btn:disabled { opacity: 0.3; cursor: default; }
.lightbox-icon-btn:disabled:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: var(--c-white); }

.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 0;
  padding: 18px 0;
}
.lightbox-frame {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.lightbox-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

.lightbox-strip {
  flex: none;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 6px;
  scrollbar-width: thin;
}
.lightbox-strip img {
  height: 56px;
  width: 74px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.5;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease;
  flex: none;
}
.lightbox-strip img:hover { opacity: 0.85; }
.lightbox-strip img.active { opacity: 1; border-color: var(--c-gold); }

@media (max-width: 640px) {
  .lightbox-icon-btn { width: 34px; height: 34px; }
  .lightbox-strip img { height: 42px; width: 56px; }
}

/* ---------- Arbeitsgebiet ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } }
.area-map {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-grey-100);
}
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.area-tags span {
  background: var(--c-white);
  border: 1px solid var(--c-grey-300);
  color: var(--c-text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- Press / Referenzen ---------- */
.press-list {
  display: grid;
  gap: 2px;
  background: var(--c-grey-100);
  border-radius: var(--radius);
  overflow: hidden;
}
.press-item {
  background: var(--c-white);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
}
@media (max-width: 640px) {
  .press-item { grid-template-columns: 1fr; gap: 6px; }
}
.press-source {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-blue-dark);
}
.press-item h4 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-black);
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--c-black) 0%, #16354c 100%);
  color: var(--c-white);
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: var(--c-white); }
.cta-band p { color: rgba(255, 255, 255, 0.7); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--c-black);
  color: var(--c-white);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.contact-card h3 { color: var(--c-white); }
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-row:first-of-type { border-top: none; padding-top: 0; }
.contact-row .ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.14);
  color: var(--c-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-row .ic svg { width: 18px; height: 18px; }
.social-row a svg { width: 18px; height: 18px; }
.to-top svg { width: 20px; height: 20px; }
.contact-row a, .contact-row span.txt { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.contact-row a:hover { color: var(--c-gold); }
.contact-row strong { display: block; color: var(--c-white); font-size: 0.95rem; margin-bottom: 2px; }

.social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  transition: all 0.15s ease;
}
.social-row a:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-black); }

/* form */
.form-card {
  background: var(--c-white);
  border: 1px solid var(--c-grey-100);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.field label .req { color: var(--c-blue); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--c-grey-300);
  border-radius: 6px;
  background: var(--c-white);
  color: var(--c-text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(28, 127, 193, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.form-note { font-size: 0.8rem; color: var(--c-text-muted); margin: 0; }
.form-status {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 14px;
  display: none;
}
.form-status.show { display: block; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--c-black);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid img.logo-footer { height: 46px; margin-bottom: 18px; }
.footer-grid h5 {
  font-family: var(--font-head);
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: rgba(255, 255, 255, 0.6); }
.footer-grid a:hover { color: var(--c-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Password gate ---------- */
.pw-gate {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background:
    linear-gradient(135deg, rgba(19, 19, 19, 0.93), rgba(10, 10, 10, 0.97)),
    repeating-linear-gradient(115deg, var(--c-black) 0 90px, #1c3a52 90px 180px, var(--c-blue-dark) 180px 270px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pw-gate.unlocked { display: none; }
.pw-gate-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 44px 36px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.pw-gate-logo { height: 40px; width: auto; margin: 0 auto 26px; display: block; }
.pw-gate-card h1 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.pw-gate-card p {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  margin-bottom: 22px;
}
.pw-gate-card form { display: flex; flex-direction: column; gap: 14px; }
.pw-gate-card input {
  padding: 13px 16px;
  border-radius: 6px;
  border: 1.5px solid var(--c-grey-300);
  font-size: 0.95rem;
  font-family: var(--font-body);
  text-align: center;
  background: var(--c-grey-50);
  color: var(--c-text);
}
.pw-gate-card input:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(28, 127, 193, 0.15);
}
.pw-gate-card .btn { justify-content: center; }
.pw-gate-card p.pw-gate-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin: 0;
  font-weight: 600;
}
body.gate-active { overflow: hidden; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-black);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 90;
}
.to-top.show { display: inline-flex; }
