/*
 Theme Name:   Trust Nature — Coming Soon
 Theme URI:    https://www.trustnature.store
 Description:  Eigenständige Coming-Soon-Seite im Trust-Nature-Design, mit der echten
               Scroll-Enthüllung ("TN" → "Trust Nature") von der Hauptseite und einem
               live laufenden Countdown. Temporäres Theme, bis der echte Shop fertig ist.
 Author:       Trust Nature
 Version:      1.0.0

 WICHTIG: Dies ist ein EIGENSTÄNDIGES Theme (kein Child-Theme) — läuft unabhängig
 vom großen Shop-Theme. Einfach über Design → Themes → Hochladen aktivieren, und
 später wieder zurück auf das Shop-Theme wechseln, sobald alles fertig ist.
*/

:root{
  --tn-bg: #F6F4EF;
  --tn-bg-deep: #EFEBE2;
  --tn-ink: #15140F;
  --tn-ink-soft: #4B4A42;
  --tn-accent: #6E6B52;
  --tn-line: #D8D4C6;
  --tn-leaf: #4F6B47;
}

*{ box-sizing: border-box; }
html{
  background: var(--tn-bg);
  color-scheme: light;
  scroll-behavior: smooth;
}
body{
  margin: 0;
  background: var(--tn-bg);
  color: var(--tn-ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.font-display{ font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; }

/* Feines Grain-Overlay, wie auf der Hauptseite */
.grain::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Hero: "TN" → "Trust Nature" beim Scrollen — 1:1 dieselbe Mechanik wie die Hauptseite ===== */
.hero-mark{ letter-spacing: -0.02em; }
.word-trust-nature{ letter-spacing: 0.28em; }
.scroll-line{ transform-origin: top; }
.scroll-cue{ writing-mode: horizontal-tb; }

#hero{ position: relative; height: 200vh; }
#heroPin{
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#heroContent{ position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; }

/* ===== Coming-Soon-Bereich, nach dem Hero ===== */
.cs-section{
  position: relative;
  padding: 5rem 1.5rem 6rem;
  text-align: center;
  border-top: 1px solid var(--tn-line);
}
.medal{
  width: 64px; height: 64px;
  border-radius: 999px;
  border: 1px solid var(--tn-line);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.75rem;
}
.medal svg{ width: 30px; height: 30px; }
.medal path{ stroke: var(--tn-leaf); stroke-width: 1.3; fill: none; }

.cs-headline{
  font-weight: 900;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  max-width: 560px;
  margin: 0 auto 0.75rem;
  line-height: 1.25;
}
.cs-sub{
  font-size: 0.9rem;
  color: var(--tn-ink-soft);
  max-width: 440px;
  line-height: 1.65;
  margin: 0 auto 2.5rem;
}

/* ===== Countdown ===== */
.countdown{
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 auto 2.75rem;
  flex-wrap: wrap;
}
.countdown-unit{
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
}
.countdown-num{
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 6vw, 2.75rem);
  line-height: 1;
  color: var(--tn-ink);
  font-variant-numeric: tabular-nums;
}
.countdown-label{
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tn-ink-soft);
  margin-top: 0.5rem;
}
.countdown-sep{
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 6vw, 2.75rem);
  color: var(--tn-line);
  align-self: flex-start;
  margin-top: -2px;
}

/* ===== Anmeldeformular ===== */
.incentive{
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tn-leaf);
  margin-bottom: 1rem;
}
.signup{
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}
.signup input[type="email"]{
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1px solid var(--tn-line);
  padding: 0.85em 1em;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--tn-ink);
}
.signup input[type="email"]::placeholder{ color: var(--tn-ink-soft); }
.signup input[type="email"]:focus{ outline: none; border-color: var(--tn-ink); }
.signup button{
  background: var(--tn-ink);
  color: var(--tn-bg);
  border: none;
  padding: 0 1.4em;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s ease;
}
.signup button:hover{ opacity: 0.85; }
.signup-note{
  font-size: 9px;
  color: var(--tn-ink-soft);
  margin: 0.75rem auto 0;
  max-width: 380px;
}
.success{
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tn-leaf);
  font-weight: 700;
}

.social{
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}
.social a{
  width: 36px; height: 36px;
  border: 1px solid var(--tn-line);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, transform .2s ease;
}
.social a:hover{ border-color: var(--tn-ink); transform: translateY(-2px); }
.social svg{ width: 16px; height: 16px; stroke: var(--tn-ink); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

.cs-footer{
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tn-ink-soft);
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--tn-line);
}

.sr-only{
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
