/* Doppelte Absicherung: Theme Header/Footer ausblenden */
body.page-template-page-scan-the-steel header,
body.page-template-page-scan-the-steel footer,
body.page-template-page-scan-the-steel #masthead,
body.page-template-page-scan-the-steel #colophon,
.sn-scan-page ~ footer,
.sn-scan-page #masthead,
.sn-scan-page #colophon {
  display: none !important;
}

body.page-template-page-scan-the-steel {
  background: #0b0c0f;
  color: #ffffff;
}

.sn-scan-page {
  min-height: 100vh;
  background: radial-gradient(1200px 600px at 50% 10%, rgba(255,255,255,0.06), transparent 60%),
              radial-gradient(900px 500px at 80% 60%, rgba(255,215,0,0.06), transparent 55%),
              #0b0c0f;
}

.sn-scan-wrap { width: 100%; }

.sn-scan-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* Brand Opener */
.sn-scan-brand {
  display: flex;
  justify-content: center;
  margin: 0 0 14px;
}

.sn-scan-brand-logo {
  width: min(240px, 72vw);
  height: auto;
  display: block;
  opacity: 0.98;
  filter: drop-shadow(0 14px 40px rgba(0,0,0,0.6));
}

/* Hero */
.sn-scan-hero { padding: 72px 0 36px; }

.sn-scan-hero-inner {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.sn-scan-kicker {
  opacity: 0.8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 14px;
}

.sn-scan-h1 {
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.08;
  margin: 0 0 14px;
}

.sn-scan-h1 span { opacity: 0.95; }

.sn-scan-sub {
  opacity: 0.88;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 auto 18px;
  max-width: 720px;
}

.sn-scan-micro {
  opacity: 0.75;
  font-size: 13px;
  margin: 10px 0 0;
}

/* Trust */
.sn-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 18px;
}

.sn-trust-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 12px 12px;
}

.sn-trust-item strong {
  display: block;
  font-size: 13px;
  margin: 0 0 4px;
}

.sn-trust-item span {
  display: block;
  opacity: 0.78;
  font-size: 12px;
}

/* Buttons */
.sn-btn {
  border: 1px solid rgba(255,255,255,0.16);
  background: transparent;
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.sn-btn:hover { border-color: rgba(255,255,255,0.28); }

.sn-btn-primary {
  background: linear-gradient(180deg, rgba(255,215,0,0.95), rgba(255,170,0,0.95));
  color: #101014;
  border-color: rgba(255,215,0,0.55);
}

.sn-btn-primary:hover { border-color: rgba(255,215,0,0.75); }

.sn-btn-ghost { background: rgba(255,255,255,0.06); }

.sn-btn-wide {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 600;
}

/* Spotlight */
.sn-scan-spotlight { padding: 22px 0 38px; }

.sn-scan-instruction {
  text-align: center;
  opacity: 0.85;
  margin: 0 auto 14px;
  max-width: 760px;
}

.sn-scan-frame {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 18px 70px rgba(0,0,0,0.55);
  overflow: hidden;
  position: relative;
}

.sn-scan-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  cursor: zoom-in;
  transform-origin: center;
  transition: transform 220ms ease;
}

.sn-scan-image.is-zoomed {
  cursor: zoom-out;
  transform: scale(1.6);
}

.sn-scan-image-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  margin: 0;
  font-size: 12px;
  opacity: 0.75;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 10px;
  border-radius: 999px;
}

.sn-scan-image-fallback {
  padding: 60px 18px;
  text-align: center;
  opacity: 0.85;
}

/* Found */
.sn-scan-found { text-align: center; padding: 18px 0 0; }

.sn-scan-h2 {
  font-size: clamp(20px, 2.2vw, 28px);
  margin: 0 0 10px;
}

.sn-scan-h3 { font-size: 18px; margin: 0 0 8px; }

.sn-scan-found-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0 6px;
}

/* Form */
.sn-scan-form-section { padding: 42px 0 64px; }

.sn-scan-form-container {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  text-align: left;
}

.sn-scan-form {
  margin-top: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 70px rgba(0,0,0,0.45);
}

.sn-field { margin-bottom: 14px; }

.sn-field label {
  display: block;
  font-size: 13px;
  opacity: 0.85;
  margin: 0 0 6px;
}

.sn-field input,
.sn-field select {
  width: 100%;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 14px;
  padding: 12px 12px;
  outline: none;
}

.sn-field input:focus,
.sn-field select:focus { border-color: rgba(255,215,0,0.6); }

.sn-field-check { margin-top: 6px; }

.sn-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  opacity: 0.9;
}

.sn-check input { margin-top: 3px; }

.sn-error {
  color: rgba(255,180,180,0.95);
  font-size: 12px;
  margin: 6px 0 0;
  min-height: 16px;
}

/* Legal */
.sn-scan-legal details { margin-top: 12px; opacity: 0.95; }
.sn-scan-legal summary { cursor: pointer; }
.sn-legal-text { margin-top: 10px; opacity: 0.88; font-size: 13px; line-height: 1.55; }
.sn-legal-text h3 { font-size: 14px; margin: 14px 0 8px; }
.sn-legal-text p { margin: 0 0 10px; }

/* Prize */
.sn-scan-prize { margin-top: 16px; opacity: 0.92; }
.sn-scan-prize ul { margin: 8px 0 0 18px; }

/* Countdown */
.sn-scan-countdown { margin-top: 22px; text-align: center; }
.sn-scan-countdown-label { opacity: 0.8; margin: 0 0 10px; }

.sn-scan-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.sn-time {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 12px 10px;
}

.sn-time span { display: block; font-size: 26px; font-weight: 700; }
.sn-time small { opacity: 0.75; font-size: 12px; }

@media (max-width: 720px) {
  .sn-trust { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .sn-scan-countdown-grid { grid-template-columns: repeat(2, 1fr); }
  .sn-scan-hero { padding: 56px 0 28px; }
  .sn-scan-brand-logo { width: min(200px, 78vw); }
}

/* Success Overlay */
.sn-success {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  z-index: 99999;
}

.sn-success.is-open { display: grid; }

.sn-success-card {
  width: min(560px, calc(100% - 32px));
  background: rgba(15,16,20,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 22px 90px rgba(0,0,0,0.65);
  text-align: center;
}

.sn-success-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 20%, rgba(255,215,0,0.9), rgba(255,170,0,0.35));
  box-shadow: 0 0 40px rgba(255,215,0,0.18);
}
/* Instagram Follow Card */
.sn-follow {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 12px;
}

.sn-follow-left {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
}

.sn-ig-icon {
  width: 22px;
  height: 22px;
  display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 2h9A5.5 5.5 0 0 1 22 7.5v9A5.5 5.5 0 0 1 16.5 22h-9A5.5 5.5 0 0 1 2 16.5v-9A5.5 5.5 0 0 1 7.5 2Zm9 2h-9A3.5 3.5 0 0 0 4 7.5v9A3.5 3.5 0 0 0 7.5 20h9a3.5 3.5 0 0 0 3.5-3.5v-9A3.5 3.5 0 0 0 16.5 4ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm5.25-2.15a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 2h9A5.5 5.5 0 0 1 22 7.5v9A5.5 5.5 0 0 1 16.5 22h-9A5.5 5.5 0 0 1 2 16.5v-9A5.5 5.5 0 0 1 7.5 2Zm9 2h-9A3.5 3.5 0 0 0 4 7.5v9A3.5 3.5 0 0 0 7.5 20h9a3.5 3.5 0 0 0 3.5-3.5v-9A3.5 3.5 0 0 0 16.5 4ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm5.25-2.15a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.95;
}

.sn-follow-mid strong {
  display: block;
  font-size: 13px;
  margin: 0 0 2px;
}

.sn-follow-mid span {
  display: block;
  font-size: 12px;
  opacity: 0.78;
}

.sn-follow-btn {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 14px;
}

@media (max-width: 520px) {
  .sn-follow {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
  }
  .sn-follow-right {
    grid-column: 1 / -1;
  }
  .sn-follow-btn {
    width: 100%;
  }
}