/* =============================================
   wurzelwerk.pro Coming-Soon Stub
   CD: Schattenwerk v3 (Schatten-Tiefe Monochrom)
   Akzent: Mykel-Gruen #00e86a (Wachstum / Verschleiss / Mykorrhiza)
   Typo: Big Shoulders Display (display) + IBM Plex Sans (text)
   ============================================= */

:root {
  --bg-color: #0a0a0f;
  --bg-hero: #050507;
  --bg-elevated: #14141c;
  --text-color: #e8e6e3;
  --text-secondary: #9aa5b4;
  --text-muted: #6a7280;
  --structure: #2a2a38;
  --structure-soft: rgba(232, 230, 227, 0.08);

  /* Wurzelwerk-Akzent (Mykel-Gruen) */
  --accent: #00e86a;
  --accent-hover: #2af287;
  --accent-soft: rgba(0, 232, 106, 0.12);
  --accent-glow: rgba(0, 232, 106, 0.3);

  /* Heilung (Weiss-Akzent fuer den Gegensatz, sparsam) */
  --healing: #f5f3ef;

  --glass-bg: rgba(232, 230, 227, 0.05);
  --glass-border: rgba(232, 230, 227, 0.12);
  --glass-border-hover: rgba(232, 230, 227, 0.25);

  --font-display: 'Big Shoulders Display', 'Inter', system-ui, sans-serif;
  --font-text: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;

  --hover-speed: 180ms;
  --easing: cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Noise overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

/* Hintergrund-Glow (Mykel-Wurzel, gedaempft) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 760px 540px at 18% 28%, rgba(0, 232, 106, 0.12), transparent 60%),
    radial-gradient(ellipse 640px 480px at 82% 72%, rgba(124, 77, 219, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

/* =============================================
   Layout
   ============================================= */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.site-header {
  padding: 2rem 0 1rem;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--text-color);
  text-decoration: none;
  line-height: 1;
  text-transform: lowercase;
}

.logo span {
  color: var(--accent);
  font-weight: 600;
}

.header-link {
  font-family: var(--font-text);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  transition: all var(--hover-speed) ease;
}

.header-link:hover {
  color: var(--text-color);
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* =============================================
   Hero / Stub-Content
   ============================================= */
.stub {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0 4rem;
}

.stub-tag {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.stub h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text-color);
  text-transform: uppercase;
}

.stub h1 .accent {
  color: var(--accent);
}

.stub-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.65;
}

.stub-meta {
  font-family: var(--font-text);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--accent);
}

/* =============================================
   Waitlist-Form
   ============================================= */
.waitlist {
  margin-top: 2rem;
  padding: 1.75rem;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.waitlist h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.waitlist p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.waitlist form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.waitlist input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--structure);
  border-radius: 4px;
  font-family: var(--font-text);
  font-size: 0.95rem;
  color: var(--text-color);
  transition: border-color var(--hover-speed) ease;
}

.waitlist input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.waitlist button {
  padding: 0.85rem 1.5rem;
  background: var(--accent);
  color: #0a0a0f;
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-family: var(--font-text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--hover-speed) ease, transform var(--hover-speed) ease;
}

.waitlist button:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.waitlist button:disabled {
  background: var(--text-muted);
  border-color: var(--text-muted);
  cursor: wait;
}

.waitlist-status {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: var(--text-secondary);
}

.waitlist-status.ok    { color: var(--accent); }
.waitlist-status.err   { color: #f08236; }

/* =============================================
   Footer
   ============================================= */
.site-footer {
  border-top: 1px solid var(--structure);
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-right: 1.25rem;
  transition: color var(--hover-speed) ease;
}

.site-footer a:last-child { margin-right: 0; }

.site-footer a:hover {
  color: var(--accent);
}

.footer-tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 560px) {
  .site-header { padding-top: 1.5rem; }
  .stub { padding-top: 2rem; padding-bottom: 3rem; }
  .stub h1 { font-size: clamp(2.25rem, 11vw, 3rem); }
  .waitlist { padding: 1.25rem; }
  .waitlist form { flex-direction: column; }
  .waitlist button { width: 100%; }
  .site-footer .container { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
