/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans', 'Apple SD Gothic Neo', Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===========================
   OFFICIAL ATOMY BRAND TOKENS
   =========================== */
:root {
  /* PANTONE 2995C — official Atomy Blue */
  --atomy-blue:       #00B5EF;
  --atomy-blue-dark:  #0097C8;      /* hover / pressed */
  --atomy-blue-deep:  #006B9E;      /* dark sections */
  --atomy-blue-bg:    #E6F7FD;      /* tint backgrounds */
  --atomy-blue-mid:   #0082B4;

  /* Atomy White + neutrals */
  --white:            #FFFFFF;
  --gray-50:          #F8FAFB;
  --gray-100:         #EFF3F6;
  --gray-200:         #DDE4EA;
  --gray-400:         #9CAAB7;
  --gray-500:         #6B7B8D;
  --gray-700:         #38495A;
  --gray-900:         #141E26;

  /* Accents */
  --atomy-dark:       #0B2335;      /* dark navy for deep sections */
  --atomy-mid-dark:   #0A4D72;

  /* UI */
  --radius:           8px;
  --radius-lg:        16px;
  --shadow-sm:        0 2px 10px rgba(0,181,239,.12);
  --shadow-md:        0 6px 28px rgba(0,181,239,.16);
  --shadow-lg:        0 16px 48px rgba(0,50,100,.18);
  --transition:       .26s ease;
  --container:        1160px;
}

/* ===========================
   UTILITIES
   =========================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 120px;
}
@media (max-width: 1200px) { .container { padding: 0 48px; } }
@media (max-width: 768px)  { .container { padding: 0 24px; } }

.nav.container {
  max-width: 1520px;
  padding-left: 20px;
  padding-right: 20px;
}
@media (max-width: 768px) {
  .nav.container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.section { padding: 96px 0; }

/* Section header */
.section-header { text-align: center; margin-bottom: 56px; }

.eyebrow {
  display: inline-block;
  font-family: 'Schibsted Grotesk', 'Noto Sans', sans-serif;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--atomy-blue);
  margin-bottom: 10px;
}
.eyebrow--light { color: rgba(255,255,255,.7); }

.section-title {
  font-family: 'Fustat', 'Schibsted Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.028em;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.blue-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--atomy-blue);
  border-radius: 2px;
  margin: 12px auto 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Schibsted Grotesk', 'Noto Sans', sans-serif;
  font-size: .93rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 12px 28px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--blue {
  background: var(--atomy-blue);
  color: var(--white);
  border-color: var(--atomy-blue);
}
.btn--blue:hover {
  background: var(--atomy-blue-dark);
  border-color: var(--atomy-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,181,239,.4);
}

.btn--outline-blue {
  background: transparent;
  color: var(--atomy-blue);
  border-color: var(--atomy-blue);
}
.btn--outline-blue:hover {
  background: var(--atomy-blue);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--atomy-blue-dark);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--atomy-blue-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,.25);
}

.btn--dark {
  background: var(--gray-900);
  color: var(--white);
  border-color: var(--gray-900);
}
.btn--dark:hover {
  background: #000;
  transform: translateY(-1px);
}

.btn--navy {
  background: var(--atomy-dark);
  color: var(--white);
  border-color: var(--atomy-dark);
}
.btn--navy:hover {
  background: var(--atomy-mid-dark);
  border-color: var(--atomy-mid-dark);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: #25D366;
  color: #0B2335;
  border-color: #25D366;
}
.btn--whatsapp:hover {
  background: #1EBE5A;
  border-color: #1EBE5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
}

.btn--lg  { font-size: 1.02rem; padding: 15px 44px; }
.btn--full { width: 100%; }

/* The hidden attribute must always win over component display rules */
[hidden] { display: none !important; }

/* Inline SVG icons */
.icon { width: 1em; height: 1em; flex-shrink: 0; }
.feature__check .icon { width: 13px; height: 13px; stroke-width: 3; }
.contact__icon-box { color: var(--white); }
.contact__icon-box .icon { width: 20px; height: 20px; }

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Section underline grows in once its header is revealed */
.fade-up .blue-line {
  width: 0;
  transition: width .9s cubic-bezier(.16,1,.3,1) .25s;
}
.fade-up.visible .blue-line { width: 48px; }


/* ===========================
   HERO & VIDEO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--atomy-dark) url("hero-poster.jpg") center / cover no-repeat;
}

.hero__video {
  width: 115%;
  height: 115%;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + var(--parallax, 0px)));
  will-change: transform;
}

/* Atomy-blue tinted overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(0,30,52,.55) 0%, rgba(0,30,52,0) 70%),
    linear-gradient(170deg,
      rgba(0,37,62,.80) 0%,
      rgba(0,92,140,.58) 55%,
      rgba(0,37,62,.78) 100%);
}


/* ===========================
   NAVIGATION
   =========================== */
.nav-wrap {
  position: relative;
  z-index: 100;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-wrap.scrolled {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0,181,239,.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 1520px;
  position: relative;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  margin-right: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Atomy logo image — white on dark hero, original blue on scroll */
.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);       /* white on dark */
  transition: filter var(--transition), opacity var(--transition);
}
.nav-wrap.scrolled .nav__logo-img {
  filter: none;                           /* original blue on white nav */
}

/* Vertical separator between logo and center name */
.nav__logo-divider {
  display: block;
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.35);
  margin: 0 14px;
  flex-shrink: 0;
  transition: background var(--transition);
}
.nav-wrap.scrolled .nav__logo-divider {
  background: var(--gray-200);
}

/* "Smart Concept / Nordenham" text */
.nav__logo-text {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1.2;
  transition: color var(--transition);
}
.nav__logo-text small {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.nav-wrap.scrolled .nav__logo-text       { color: var(--atomy-blue-dark); }
.nav-wrap.scrolled .nav__logo-text small { color: var(--gray-400); }
/* nav__logo color handled by child element .nav__logo-text */

/* Menu */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  flex-shrink: 0;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Schibsted Grotesk', 'Noto Sans', sans-serif;
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: -.012em;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 8px 8px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all var(--transition);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,.13); }
.nav-wrap.scrolled .nav__link       { color: var(--gray-700); }
.nav-wrap.scrolled .nav__link:hover { color: var(--atomy-blue-dark); background: var(--atomy-blue-bg); }

.chevron { width: 14px; height: 14px; }

/* Nav buttons */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 18px;
  flex-shrink: 0;
}

.nav__btn {
  font-family: 'Schibsted Grotesk', 'Noto Sans', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 4px;
  transition: all var(--transition);
  cursor: pointer;
}

.nav__btn--ghost {
  color: rgba(255,255,255,.88);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.38);
  min-width: 82px;
  text-align: center;
}
.nav__btn--ghost:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.75); }
.nav-wrap.scrolled .nav__btn--ghost {
  color: var(--gray-700);
  border-color: var(--gray-200);
}
.nav-wrap.scrolled .nav__btn--ghost:hover { background: var(--gray-100); }

.nav__btn--solid {
  background: var(--atomy-blue);
  color: var(--white);
  border: 1.5px solid var(--atomy-blue);
  min-width: 101px;
  text-align: center;
}
.nav__btn--solid:hover {
  background: var(--atomy-blue-dark);
  border-color: var(--atomy-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,181,239,.4);
}

/* Mobile toggle */
/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  padding: 3px 6px;
}
.nav-wrap.scrolled .lang-switcher {
  background: var(--gray-100);
  border-color: var(--gray-200);
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: rgba(255,255,255,.55);
  padding: 3px 6px;
  border-radius: 4px;
  transition: all var(--transition);
}
.lang-btn:hover { color: var(--white); }
.lang-btn--active {
  background: var(--atomy-blue);
  color: var(--white) !important;
  box-shadow: 0 1px 6px rgba(0,181,239,.45);
}
.nav-wrap.scrolled .lang-btn { color: var(--gray-500); }
.nav-wrap.scrolled .lang-btn:hover { color: var(--gray-900); }
.nav-wrap.scrolled .lang-btn--active { color: var(--white) !important; }

.lang-sep {
  color: rgba(255,255,255,.25);
  font-size: .7rem;
  user-select: none;
}
.nav-wrap.scrolled .lang-sep { color: var(--gray-300); }

/* Mobile: wrap toggle + mobile lang-switcher */
.nav__mobile-right {
  display: none;  /* shown only on mobile via media query */
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.lang-switcher--mobile { margin-left: 0; }

.nav__toggle {
  display: flex;  /* visible inside .nav__mobile-right which is hidden on desktop */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-wrap.scrolled .nav__toggle span { background: var(--gray-900); }


/* ===========================
   HERO CONTENT
   =========================== */
.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 110px;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: 6px 16px 6px 6px;
  margin-bottom: 34px;
  backdrop-filter: blur(4px);
}

.badge__dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--atomy-blue);
  border-radius: 50px;
  padding: 4px 10px;
}
.badge__dot svg { color: var(--white); }
.badge__new {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: .75rem;
}
.badge__text {
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  color: rgba(255,255,255,.88);
  letter-spacing: .01em;
}

/* Headline */
.hero__title {
  font-family: 'Fustat', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 34px;
}

/* Subtitle */
.hero__subtitle {
  font-family: 'Fustat', 'Noto Sans', sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -.02em;
  color: rgba(255,255,255,.75);
  max-width: 736px;
  width: min(542px, 90%);
  line-height: 1.65;
  margin-bottom: 44px;
}


/* ===========================
   HERO CTAs, TRUST, SCROLL CUE
   =========================== */
.hero__line { display: block; }

.hero__line--accent {
  background: linear-gradient(100deg, #7FDBFF 0%, var(--atomy-blue) 35%, #E6F7FD 50%, var(--atomy-blue) 65%, #7FDBFF 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* keep descenders from clipping with background-clip */
  padding-bottom: .08em;
}

.hero__title,
.hero__subtitle { text-shadow: 0 2px 24px rgba(0,20,40,.35); }
.hero__line--accent { text-shadow: none; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}

.hero__cta {
  border-radius: 50px;
  padding: 16px 34px;
}
.hero__cta svg { transition: transform var(--transition); }

.hero__cta--primary {
  position: relative;
  background: var(--atomy-blue);
  border-color: var(--atomy-blue);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(0,181,239,.45);
  overflow: hidden;
}
/* light sweep across the primary button */
.hero__cta--primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: cta-sweep 4.5s ease-in-out 2s infinite;
}
.hero__cta--primary:hover {
  background: var(--atomy-blue-dark);
  border-color: var(--atomy-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(0,181,239,.6);
}
.hero__cta--primary:hover svg { transform: translateX(4px); }

.hero__cta--glass {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.45);
  color: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__cta--glass:hover {
  background: rgba(255,255,255,.2);
  border-color: var(--white);
  transform: translateY(-2px);
}

.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding: 0;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero__trust li::before {
  content: "";
  width: 16px; height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--atomy-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Entrance choreography */
.hero__badge,
.hero__line,
.hero__subtitle,
.hero__ctas,
.hero__trust,
.hero__scroll { animation: hero-in .9s cubic-bezier(.16,1,.3,1) both; }
.hero__badge               { animation-delay: .15s; }
.hero__line:first-child    { animation-delay: .3s; }
.hero__subtitle            { animation-delay: .75s; }
.hero__ctas                { animation-delay: .95s; }
.hero__trust               { animation-delay: 1.15s; }
.hero__scroll              { animation-delay: 1.6s; }
.hero__title .hero__line--accent {
  animation: hero-in .9s cubic-bezier(.16,1,.3,1) .5s both,
             hero-shimmer 6s ease-in-out 1.6s infinite;
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  width: 28px;
  height: 46px;
  margin-left: -14px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 20px;
  transition: border-color var(--transition);
}
.hero__scroll:hover { border-color: var(--white); }
.hero__scroll-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--white);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes hero-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes cta-sweep {
  0%   { left: -60%; }
  35%  { left: 130%; }
  100% { left: 130%; }
}
@keyframes scroll-dot {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(16px); }
}


/* ===========================
   STATS BAR
   =========================== */
.stats { background: var(--atomy-blue); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.stat:last-child { border-right: none; }

.stat__number {
  display: block;
  font-variant-numeric: tabular-nums;
  font-family: 'Fustat', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-family: 'Noto Sans', sans-serif;
  font-size: .8rem;
  color: rgba(255,255,255,.78);
  font-weight: 500;
}


/* ===========================
   ABOUT
   =========================== */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}

.about__lead {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.06rem;
  color: var(--atomy-blue-deep);
  font-weight: 700;
  line-height: 1.65;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--atomy-blue);
}

.about__content p {
  font-size: .93rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  line-height: 1.8;
}

.about__features {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about__features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feature__check {
  width: 22px; height: 22px; min-width: 22px;
  background: var(--atomy-blue);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 900;
  margin-top: 2px;
}
.about__features strong {
  display: block;
  font-size: .9rem;
  color: var(--gray-900);
  font-weight: 700;
  margin-bottom: 2px;
}
.about__features p {
  font-size: .82rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.45;
}

.about__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--atomy-blue);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: all var(--transition);
}
.about__card--mid  { border-left-color: var(--atomy-blue-dark); }
.about__card--deep { border-left-color: var(--atomy-blue-deep); }

.about__card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.about__card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.about__card-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--atomy-blue-bg);
  color: var(--atomy-blue-deep);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.about__card-icon .icon { width: 20px; height: 20px; }
.about__card:hover .about__card-icon {
  background: var(--atomy-blue);
  color: var(--white);
  transform: rotate(-6deg) scale(1.06);
}

.about__card h3 {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .93rem;
  font-weight: 700;
  color: var(--gray-900);
}

.about__card p {
  font-size: .83rem;
  color: var(--gray-500);
  line-height: 1.55;
}


/* ===========================
   PRODUCTS – showcase
   =========================== */
.products { background: var(--gray-50); }

.products__status {
  max-width: 560px;
  margin: 0 auto;
  padding: 22px 24px;
  background: var(--white);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
  color: var(--gray-500);
  font-size: .92rem;
}

/* Category tiles */
.pw-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}

.pw-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 240px;
  padding: 22px;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  background: linear-gradient(150deg, var(--atomy-mid-dark), var(--atomy-blue-deep));
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  font: inherit;
}
.pw-cat:hover { box-shadow: var(--shadow-lg); }

.pw-cat__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.pw-cat:hover .pw-cat__img { transform: scale(1.12); }

.pw-cat__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,35,53,.15) 0%, rgba(11,35,53,.2) 35%, rgba(11,35,53,.9) 100%);
}

.pw-cat__icon,
.pw-cat__text,
.pw-cat__arrow { position: relative; z-index: 1; }

.pw-cat__icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  margin-bottom: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pw-cat__text { display: flex; flex-direction: column; gap: 2px; }
.pw-cat__text strong {
  font-family: 'Fustat', sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.pw-cat__text span { font-size: .82rem; color: rgba(255,255,255,.8); }

.pw-cat__arrow {
  position: absolute !important;
  top: 22px; right: 22px;
  width: 34px; height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--atomy-blue);
  transform: translateX(-6px);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.pw-cat:hover .pw-cat__arrow,
.pw-cat:focus-visible .pw-cat__arrow { transform: none; opacity: 1; }

/* Highlight rail */
.pw-highlights { margin-bottom: 44px; }

.pw-highlights__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.pw-highlights__head h3 {
  font-family: 'Fustat', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--gray-900);
}
.pw-highlights__nav { display: flex; gap: 8px; }

.pw-arrow {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-900);
  cursor: pointer;
  transition: all var(--transition);
}
.pw-arrow:hover { background: var(--atomy-blue); border-color: var(--atomy-blue); color: var(--white); }

.pw-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 18px) / 4);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}
.pw-rail::-webkit-scrollbar { display: none; }

.pw-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pw-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,181,239,.35);
}

.pw-card__media {
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gray-50);
  margin-bottom: 6px;
}
.pw-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pw-card:hover .pw-card__img { transform: scale(1.05); }

.pw-card__cat,
.cat-card__cat,
.drawer__cat {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--atomy-blue-dark);
}
.pw-card__name,
.cat-card__name {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--gray-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pw-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: 'Fustat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--atomy-blue);
  background: var(--atomy-blue-bg);
}

/* CTA row */
.pw-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.pw-cta__open { border-radius: 50px; }
.pw-cta__count {
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,.2);
  font-size: .8rem;
  font-weight: 600;
}

.pw-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  color: var(--gray-900);
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.pw-cart-btn:hover { border-color: var(--atomy-blue); color: var(--atomy-blue-dark); }

.js-cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: var(--gray-200);
  color: var(--gray-700);
  font-size: .75rem;
}
.js-cart-count.is-filled { background: var(--atomy-blue); color: var(--white); }
.js-cart-count.is-bump { animation: cart-bump .45s cubic-bezier(.16,1,.3,1); }
@keyframes cart-bump {
  40% { transform: scale(1.35); }
}


/* ===========================
   PRODUCTS – catalog dialog
   =========================== */
html.catalog-open { overflow: hidden; }

.catalog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top, 0px)) 24px 24px;
}

.catalog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,22,34,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s ease;
}

.catalog__panel {
  position: relative;
  width: min(1240px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,20,40,.35);
  opacity: 0;
  transform: translateY(24px) scale(.985);
  transition: opacity .3s ease, transform .4s cubic-bezier(.16,1,.3,1);
}

.catalog.is-visible .catalog__backdrop { opacity: 1; }
.catalog.is-visible .catalog__panel { opacity: 1; transform: none; }

.catalog__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-200);
}

.catalog__title {
  font-family: 'Fustat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--gray-900);
  white-space: nowrap;
}

.catalog__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  background: var(--gray-50);
  color: var(--gray-500);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.catalog__search:focus-within {
  border-color: var(--atomy-blue);
  box-shadow: 0 0 0 4px rgba(0,181,239,.15);
  background: var(--white);
}
.catalog__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--gray-900);
}
.catalog__search input:focus-visible { outline: none; }

.catalog__close {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-900);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.catalog__close:hover { background: var(--gray-200); transform: rotate(90deg); }

.catalog__tabs {
  display: flex;
  gap: 8px;
  padding: 14px 22px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--gray-200);
}
.catalog__tabs::-webkit-scrollbar { display: none; }

.catalog__tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  color: var(--gray-700);
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.catalog__tab span {
  font-size: .72rem;
  font-weight: 600;
  color: var(--gray-500);
}
.catalog__tab:hover { border-color: var(--atomy-blue); color: var(--atomy-blue-dark); }
.catalog__tab.is-active {
  background: var(--atomy-dark);
  border-color: var(--atomy-dark);
  color: var(--white);
}
.catalog__tab.is-active span { color: rgba(255,255,255,.7); }

.catalog__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 22px 28px;
}

.catalog__meta {
  font-size: .82rem;
  color: var(--gray-500);
  margin-bottom: 14px;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
  font: inherit;
  animation: card-in .45s cubic-bezier(.16,1,.3,1) both;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,181,239,.35);
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
}

.cat-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gray-50);
  margin-bottom: 4px;
}
.cat-card__img { width: 100%; height: 100%; object-fit: cover; }

.cat-card__badge {
  position: absolute;
  top: 8px; right: 8px;
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--atomy-blue);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0,181,239,.4);
  transform: scale(0);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.cat-card__badge .icon { stroke-width: 3; }
.cat-card.is-in-cart { border-color: var(--atomy-blue); }
.cat-card.is-in-cart .cat-card__badge { transform: scale(1); }

.catalog__empty {
  padding: 48px 16px;
  text-align: center;
  color: var(--gray-500);
}

.catalog__more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}
.catalog__more .btn { border-radius: 50px; }

/* Drawers (product detail, request list) */
.catalog__drawer {
  position: absolute;
  top: var(--catalog-head, 0px); right: 0; bottom: 0;
  z-index: 2;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 22px 24px;
  background: var(--white);
  border-left: 1px solid var(--gray-200);
  box-shadow: -20px 0 50px rgba(0,20,40,.14);
  overflow-y: auto;
  animation: drawer-in .35s cubic-bezier(.16,1,.3,1);
}
@keyframes drawer-in {
  from { transform: translateX(40px); opacity: 0; }
}

.catalog.has-drawer .catalog__body { filter: saturate(.8); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.drawer__head h3 {
  font-family: 'Fustat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
}
.drawer__close {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-900);
  cursor: pointer;
}
.drawer__close:hover { background: var(--gray-200); }

.detail__media {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--gray-50);
}
.detail__img { width: 100%; height: 100%; object-fit: cover; }

.detail__title {
  font-family: 'Fustat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--gray-900);
}
.detail__orig { font-size: .8rem; color: var(--gray-500); margin-top: -8px; }
.detail__desc { font-size: .92rem; line-height: 1.65; color: var(--gray-700); }

.detail__buy { display: flex; gap: 10px; align-items: stretch; }

.detail__qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  overflow: hidden;
}
.detail__qty button {
  width: 44px; height: 46px;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  color: var(--gray-900);
  cursor: pointer;
}
.detail__qty button:hover { background: var(--gray-100); }
.detail__qty span { min-width: 28px; text-align: center; font-weight: 700; }

.detail__add { flex: 1; border-radius: 50px; }
.detail__add.is-done { background: #16A34A; border-color: #16A34A; }

.detail__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--atomy-blue-dark);
  text-decoration: none;
}
.detail__link:hover { text-decoration: underline; }

.cart__items { display: flex; flex-direction: column; gap: 10px; }
.cart__item {
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}
.cart__img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.cart__name { font-size: .86rem; font-weight: 600; line-height: 1.35; color: var(--gray-900); }
.cart__item strong { font-size: .86rem; color: var(--gray-700); }
.cart__item button {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-500);
  cursor: pointer;
}
.cart__item button:hover { background: var(--gray-100); color: var(--gray-900); }
.cart__empty { color: var(--gray-500); font-size: .92rem; }
.cart__foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.cart__foot .btn { border-radius: 50px; }
.cart__clear {
  align-self: center;
  border: 0;
  background: none;
  color: var(--gray-500);
  font-size: .84rem;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .pw-cats { grid-template-columns: repeat(2, 1fr); }
  .pw-rail { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
}

/* Catalog on small screens: full screen, drawers become bottom sheets */
@media (max-width: 768px) {
  .pw-cats { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 40px; }
  .pw-cat { min-height: 180px; padding: 14px; }
  .pw-cat__icon { width: 36px; height: 36px; }
  .pw-cat__text strong { font-size: 1rem; }
  .pw-cat__arrow { display: none; }
  .pw-rail { grid-auto-columns: 62%; gap: 12px; }
  .pw-highlights__nav { display: none; }
  .pw-cta { flex-direction: column; align-items: stretch; }
  .pw-cta__open { white-space: normal; }
  .pw-cart-btn { justify-content: center; }

  .catalog { padding: 0; }
  .catalog__panel { border-radius: 0; }
  .catalog__head { flex-wrap: wrap; padding: 12px 14px; gap: 10px; padding-top: max(12px, env(safe-area-inset-top, 0px)); }
  .catalog__title { flex: 1; font-size: 1.1rem; }
  .catalog__search { order: 3; flex-basis: 100%; }
  .catalog__cart-label { display: none; }
  .catalog__tabs { padding: 10px 14px; }
  .catalog__body { padding: 14px 14px 24px; }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card__name { font-size: .84rem; }

  .catalog__drawer {
    top: auto !important;
    left: 0;
    width: 100%;
    max-height: 88%;
    border-left: 0;
    border-radius: 20px 20px 0 0;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    animation-name: sheet-in;
  }
  @keyframes sheet-in {
    from { transform: translateY(60px); opacity: 0; }
  }
  .catalog.has-drawer .catalog__body::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6,22,34,.35);
  }
}


/* ===========================
   NOTICE POPUP (Google Sheets tab "Hinweise")
   =========================== */
.notice {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.notice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,22,34,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s ease;
}
.notice__panel {
  position: relative;
  width: min(460px, 100%);
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0,20,40,.4);
  opacity: 0;
  transform: translateY(24px) scale(.97);
  transition: opacity .35s ease, transform .5s cubic-bezier(.16,1,.3,1);
}
.notice__panel:focus { outline: none; }
.notice.is-visible .notice__backdrop { opacity: 1; }
.notice.is-visible .notice__panel { opacity: 1; transform: none; }

.notice__card {
  display: none;
  position: relative;
  min-height: min(560px, 72vh);
  color: var(--white);
  background:
    radial-gradient(ellipse at 20% 15%, rgba(127,219,255,.35) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(0,181,239,.45) 0%, transparent 55%),
    linear-gradient(160deg, var(--atomy-dark) 0%, var(--atomy-mid-dark) 55%, var(--atomy-blue-deep) 100%);
}
.notice__card.is-active {
  display: flex;
  animation: notice-in .45s cubic-bezier(.16,1,.3,1);
}
@keyframes notice-in {
  from { opacity: 0; transform: translateX(16px); }
}

.notice__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.notice__card.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,22,34,0) 30%, rgba(6,22,34,.7) 58%, rgba(6,22,34,.94) 100%);
}

.notice__content {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  padding: 34px 30px 28px;
  text-align: center;
}
.notice__card:not(.has-image) .notice__content { margin: auto 0; }

.notice__title {
  font-family: 'Fustat', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin-bottom: 12px;
}
.notice__text {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
}
.notice__btn {
  margin-top: 20px;
  border-radius: 50px;
}

.notice__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(6,22,34,.35);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.notice__close:hover { background: rgba(6,22,34,.6); transform: rotate(90deg); }

.notice__arrow {
  display: none;
  position: absolute;
  top: calc(50% - 46px);
  z-index: 3;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--gray-900);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.notice__arrow--prev { left: 12px; }
.notice__arrow--next { right: 12px; }
.notice.is-multi .notice__arrow { display: flex; }

.notice__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 12px 22px;
  background: var(--white);
}
.notice__dots { display: flex; gap: 8px; }
.notice__dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50px;
  background: var(--gray-200);
  cursor: pointer;
  transition: width var(--transition), background var(--transition);
}
.notice__dot.is-active { width: 24px; background: var(--atomy-blue); }

.notice__dismiss {
  margin-left: auto;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 50px;
  background: var(--gray-100);
  color: var(--gray-900);
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 700;
  cursor: pointer;
}
.notice__dismiss:hover { background: var(--gray-200); }


/* ===========================
   EVENTS
   =========================== */
.events { background: var(--white); }

.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.event-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,181,239,.45);
}

.event-card__date {
  min-height: 96px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--atomy-blue-deep), var(--atomy-blue));
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.event-card__date span,
.event-card__date small {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .78;
}
.event-card__date strong {
  font-family: 'Fustat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  margin: 5px 0;
}

.event-card__type {
  display: inline-block;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--atomy-blue);
  margin-bottom: 8px;
}
.event-card h3 {
  font-family: 'Fustat', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.event-card p {
  font-size: .84rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 14px;
}
.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.event-card__meta span {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 5px 8px;
}
.event-card__link {
  color: var(--atomy-blue-deep) !important;
  text-decoration: none;
}
.event-card__link:hover { text-decoration: underline; }
.events__status {
  grid-column: 1 / -1;
  padding: 22px 24px;
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
  color: var(--gray-500);
  font-size: .92rem;
}
.events__cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}


/* ===========================
   ABOUT ME
   =========================== */
.about-me { background: var(--gray-50); }

.about-me__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 68px;
  align-items: center;
}

.about-me__portrait {
  min-height: 380px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  color: var(--gray-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  text-align: center;
  overflow: hidden;
}
.about-me__photo {
  width: 100%;
  height: 340px;
  display: block;
  object-fit: cover;
  object-position: center top;
}
.about-me__portrait span {
  width: 100%;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--atomy-blue-deep);
  background: var(--white);
  border-top: 3px solid var(--atomy-blue);
  padding: 18px 16px;
}
.about-me__content p {
  font-size: .93rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  line-height: 1.8;
}
.about-me__content .btn { margin-top: 14px; }
.blue-line--left { margin-left: 0; margin-right: 0; }


/* ===========================
   MARKETING PLAN
   =========================== */
.marketing-plan { background: var(--white); }

.marketing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.marketing-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--atomy-blue);
  border-radius: var(--radius);
  padding: 26px 24px;
  min-height: 220px;
  transition: all var(--transition);
}
.marketing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.marketing-card__num {
  font-family: 'Fustat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.03em;
  color: rgba(0,181,239,.28);
  line-height: 1;
  margin-bottom: 18px;
}
.marketing-card h3 {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.marketing-card p {
  font-size: .86rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.marketing__note {
  max-width: 760px;
  margin: 34px auto 0;
  padding: 16px 18px;
  border-left: 3px solid var(--atomy-blue);
  background: var(--atomy-blue-bg);
  border-radius: var(--radius);
}
.marketing__note p {
  font-size: .86rem;
  color: var(--atomy-blue-deep);
  line-height: 1.7;
}


/* ===========================
   REGISTER
   =========================== */
.register {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.register__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg,
    var(--atomy-dark) 0%,
    var(--atomy-mid-dark) 55%,
    var(--atomy-blue-deep) 100%);
}
.register__bg::before,
.register__bg::after {
  content: '';
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(ellipse at 15% 80%, rgba(0,181,239,.30) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 20%, rgba(0,181,239,.22) 0%, transparent 45%);
  animation: glow-drift 18s ease-in-out infinite alternate;
}
.register__bg::after {
  background: radial-gradient(ellipse at 55% 50%, rgba(127,219,255,.16) 0%, transparent 40%);
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}
@keyframes glow-drift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(6%, -4%) rotate(8deg) scale(1.08); }
  100% { transform: translate(-5%, 5%) rotate(-6deg) scale(1); }
}

.register__content {
  position: relative;
  z-index: 1;
}

.register__title {
  font-family: 'Fustat', sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--white);
  margin: 12px 0 18px;
}

.register__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.75;
}
.register__subtitle strong { color: var(--white); }

.register__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.step {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-top: 3px solid var(--atomy-blue);
  border-radius: var(--radius);
  padding: 26px 20px;
  width: 190px;
  text-align: center;
  transition: all var(--transition);
}
.step:hover { background: rgba(0,181,239,.1); }

.step__num {
  width: 42px; height: 42px;
  background: var(--atomy-blue);
  color: var(--white);
  font-family: 'Fustat', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step h4 {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .93rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.step p {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}

.step__arrow {
  font-size: 1.3rem;
  color: var(--atomy-blue);
  opacity: .7;
}

.register__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.register__gate {
  width: min(100%, 560px);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.register__gate-help {
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  line-height: 1.55;
  text-align: center;
}

.register__check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(255,255,255,.86);
  font-size: .94rem;
  line-height: 1.5;
  cursor: pointer;
}

.register__check-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--atomy-blue);
  cursor: pointer;
}

.register__locked {
  transition: opacity .24s ease, transform .24s ease;
}

.is-hidden {
  display: none !important;
}

.register__note {
  font-size: .8rem;
  color: rgba(255,255,255,.38);
  max-width: 420px;
  line-height: 1.55;
}
.register__note a {
  color: var(--atomy-blue);
  text-decoration: none;
  font-weight: 600;
}
.register__note a:hover { text-decoration: underline; }

/* QR Code box */
.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-box__label {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.qr-box__frame {
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  border: 3px solid var(--atomy-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .26s ease, box-shadow .26s ease;
}
.qr-box__frame:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0,181,239,.45);
}

.qr-box__frame canvas,
.qr-box__frame img {
  display: block;
  border-radius: 4px;
}

.qr-box__hint {
  font-family: 'Noto Sans', sans-serif;
  font-size: .75rem;
  color: rgba(255,255,255,.38);
  letter-spacing: .02em;
}


/* ===========================
   CONTACT
   =========================== */
.contact { background: var(--white); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__icon-box {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--atomy-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.contact__item h4 {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--atomy-blue);
  margin-bottom: 3px;
}
.contact__item p {
  font-size: .92rem;
  color: var(--gray-700);
  font-weight: 500;
  line-height: 1.5;
}

.contact__phone {
  color: var(--atomy-blue-dark);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--transition);
}
.contact__phone:hover { color: var(--atomy-blue); text-decoration: underline; }

.contact__name {
  display: block;
  font-size: .78rem;
  color: var(--gray-400);
  margin-top: 3px;
  font-style: italic;
}

/* Opening hours table */
.hours-table {
  border-collapse: collapse;
  margin-top: 6px;
  width: 100%;
}
.hours-table td {
  font-size: .85rem;
  color: var(--gray-700);
  padding: 3px 0;
  line-height: 1.4;
}
.hours-table td:first-child {
  min-width: 100px;
  color: var(--gray-500);
  font-weight: 600;
}
.hours-table td:last-child {
  font-weight: 700;
  color: var(--gray-900);
}
.hours-table tr.closed td {
  color: var(--gray-400);
}
.hours-table tr.closed td:last-child {
  color: var(--gray-400);
  font-weight: 500;
}

.hours-note {
  margin-top: 8px !important;
  font-size: .78rem !important;
  color: var(--atomy-blue) !important;
  font-weight: 600 !important;
  font-style: italic;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 5px; }

.form-group label {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: .03em;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: 6px;
  font-family: 'Noto Sans', sans-serif;
  font-size: .92rem;
  color: var(--gray-900);
  background: var(--gray-50);
  outline: none;
  resize: vertical;
  transition: all var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--atomy-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,181,239,.12);
}

.form-success {
  display: none;
  padding: 12px 16px;
  background: #e0f7fe;
  color: #006B9E;
  border: 1px solid rgba(0,181,239,.35);
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
}
.form-success.visible { display: block; }

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-actions .btn { padding-left: 16px; padding-right: 16px; }

.form-hint {
  font-size: .8rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: -4px 0 0;
}

/* 3D tilt on hover (set by main.js on fine pointers only) */
.is-tilting {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) !important;
  transition: transform .12s ease-out, box-shadow var(--transition), border-color var(--transition) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--atomy-blue);
  outline-offset: 3px;
}

/* Reduced motion: show everything in its final state */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__cta--primary::after,
  .hero__scroll-dot { display: none; }
  .fade-up { opacity: 1; transform: none; }
}


/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--atomy-dark);
  padding: 48px 0 28px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

/* Atomy logo in footer — white version */
.footer__atomy-logo {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .85;
  margin: 0 auto 8px;
}

.footer__logo {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--white);
}
.footer__logo span { color: var(--atomy-blue); }

.footer__brand p {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  margin-top: 5px;
  letter-spacing: .04em;
}

.footer__blue-line {
  width: 40px; height: 2px;
  background: var(--atomy-blue);
  border-radius: 2px;
}

.footer__nav,
.footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__legal {
  gap: 14px 20px;
  max-width: 760px;
}

.footer__nav a,
.footer__legal a {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: .86rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__legal a {
  font-size: .76rem;
  color: rgba(255,255,255,.38);
}

.footer__nav a:hover,
.footer__legal a:hover { color: var(--atomy-blue); }

.footer__copy {
  font-size: .73rem;
  color: rgba(255,255,255,.25);
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  width: 100%;
  text-align: center;
}


/* ===========================
   LEGAL PAGES
   =========================== */
.legal-page {
  background: var(--gray-50);
  color: var(--gray-900);
  min-height: 100vh;
}

.legal-header {
  background: var(--atomy-dark);
  padding: 28px 0;
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 800;
}

.legal-logo img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}

.legal-back {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}

.legal-back:hover { color: var(--atomy-blue); }

.legal-main {
  padding: 72px 0;
}

.legal-document {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
}

.legal-document h1 {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--atomy-dark);
}

.legal-updated {
  color: var(--gray-500);
  font-size: .9rem;
  margin-bottom: 34px;
}

.legal-document h2 {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 1.25rem;
  color: var(--atomy-dark);
  margin: 34px 0 12px;
}

.legal-document h3 {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--gray-900);
  margin: 24px 0 8px;
}

.legal-document p,
.legal-document li {
  color: var(--gray-700);
  line-height: 1.75;
}

.legal-document p { margin-bottom: 14px; }

.legal-document ul {
  margin: 0 0 18px 20px;
}

.legal-document a {
  color: var(--atomy-blue-dark);
  font-weight: 700;
}

.legal-note {
  background: rgba(0,181,239,.08);
  border-left: 4px solid var(--atomy-blue);
  padding: 16px 18px;
  margin: 26px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legal-footer {
  background: var(--atomy-dark);
  padding: 26px 0;
  text-align: center;
  color: rgba(255,255,255,.45);
  font-size: .8rem;
}


/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1120px) {
  .nav {
    justify-content: space-between;
  }

  .nav__menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--atomy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 28px 32px;
    gap: 4px;
    transition: right var(--transition);
    box-shadow: -8px 0 32px rgba(0,0,0,.45);
    z-index: 200;
  }
  .nav__menu.open { right: 0; }
  .nav__link { width: 100%; padding: 11px 14px; color: rgba(255,255,255,.85); }
  .nav__link:hover { background: rgba(0,181,239,.18); color: var(--white); }
  .nav-wrap.scrolled .nav__link { color: rgba(255,255,255,.85); }

  .nav__actions { display: none; }
  .nav__mobile-right { display: flex; z-index: 201; }
  .lang-switcher { display: none; }
  .lang-switcher--mobile { display: flex; }
  .nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 1024px) {
  .about__grid   { grid-template-columns: 1fr; gap: 48px; }
  .about-me__grid { grid-template-columns: 1fr; gap: 44px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .events__grid,
  .marketing__grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 70px 1fr; }
}

@media (max-width: 768px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }

  .about-me__portrait { min-height: 300px; }
  .event-card { grid-template-columns: 1fr; }
  .event-card__date {
    min-height: auto;
    flex-direction: row;
    gap: 8px;
    padding: 12px;
    justify-content: flex-start;
  }
  .event-card__date strong { margin: 0; font-size: 1.6rem; }

  .register__steps { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); display: block; }
  .step { width: 100%; max-width: 280px; }

  .hero__title { letter-spacing: -.03em; }
  .hero__ctas { flex-direction: column; align-items: stretch; width: min(360px, 100%); }
  .hero__cta { white-space: normal; }
  .hero__trust { font-size: .8rem; }
  .hero__scroll { display: none; }
  .form-actions { grid-template-columns: 1fr; }
  .footer__nav { gap: 14px; }

  .legal-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-main {
    padding: 42px 0;
  }

  .legal-document {
    border-radius: var(--radius);
  }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.65rem; }
}
