/* =========================================================================
   Impressum — page-specific layouts.
   Inherits tokens, typography, .nav and .footer from ../styles.css.
   Page-specific component prefix: .im-
   ========================================================================= */

/* ============================================================
   Section grid overlay — square 12-col chrome on drench/white.
   ============================================================ */
.s__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    repeating-linear-gradient(to right,
      var(--grid-line-drench) 0 1px,
      transparent 1px calc(100% / 12));
}
.s[data-surface="light"] .s__grid,
.s[data-surface="white"] .s__grid {
  background-image:
    repeating-linear-gradient(to right,
      var(--grid-line-light) 0 1px,
      transparent 1px calc(100% / 12));
}

/* ============================================================
   HERO — drench, page title.
   ============================================================ */
.im-hero {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--section-y) + 60px);
}
.im-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}
.im-hero__ticker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0.85;
  margin: 0;
}
.im-hero__dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  display: inline-block;
  animation: im-pulse 2.4s var(--ease-out-quart) infinite;
}
.im-hero__sep { opacity: 0.5; }
.im-hero__display {
  font-size: clamp(3rem, 11vw, 8.5rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
}

@keyframes im-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

/* ============================================================
   LEGAL — white surface, single definition block.
   ============================================================ */
.im-legal__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}
.im-legal__eyebrow {
  opacity: 0.7;
}
.im-legal__card {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: clamp(24px, 4vw, 48px);
  background: var(--white);
}
.im-legal__name {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.im-legal__list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  column-gap: clamp(20px, 3vw, 40px);
  row-gap: clamp(12px, 1.6vw, 18px);
  align-items: baseline;
}
.im-legal__list dt {
  opacity: 0.65;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.im-legal__list dd {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.45;
}
.im-legal__list dd a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.im-legal__list dd a:hover {
  text-decoration-thickness: 2px;
}

@media (max-width: 640px) {
  .im-legal__list {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
  .im-legal__list dt {
    margin-top: clamp(10px, 2vw, 14px);
  }
  .im-legal__list dt:first-child {
    margin-top: 0;
  }
}
