@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400&display=swap');

/* tosië – warm cream knit, taupe accents, Playfair Display per Brand-Spec */
:root {
  --bg-cream: #efe7da;

  --logo: #6f6f6f;          /* Brand-Spec Headline */
  --ink: #5b554e;           /* starke Headlines */
  --ink-soft: #8a817a;      /* Fließtext */
  --subline-grey: #9a8f83;  /* Subline */
  --pillar: #7c736b;

  --taupe: #b89a85;         /* Button / Akzent */
  --taupe-deep: #a8866f;    /* Hover */

  --hair: rgba(150, 124, 100, 0.32);
  --card-bg: rgba(247, 242, 234, 0.82);
  --field-bg: #fbf8f3;

  --veil-top: rgba(250, 246, 239, 0.20);
  --veil-bottom: rgba(250, 246, 239, 0.34);
  --card-shadow: rgba(91, 78, 65, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-cream);
  color: var(--ink-soft);
}

.landing {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 84px 22px 32px;
  background-color: var(--bg-cream);
  background-image:
    linear-gradient(var(--veil-top), var(--veil-bottom)),
    url("assets/bg.webp");
  background-size: cover;
  background-position: center;
}

.content {
  width: min(92vw, 440px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero {
  margin: auto 0;
}

/* ---------- Logo ---------- */
.logo {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(62px, 14vw, 92px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--logo);
}

/* ---------- Herzen & feine Linien ---------- */
.heart {
  display: block;
  color: var(--taupe);
  font-size: 19px;
  line-height: 1;
  margin: 24px 0 0;
}

/* ---------- Subline ---------- */
.subline {
  margin: 28px 0 38px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(15px, 3.4vw, 19px);
  letter-spacing: 0.32em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--subline-grey);
}

/* ---------- Signup-Card ---------- */
.signup-card {
  padding: 34px 30px 30px;
  background: var(--card-bg);
  border-radius: 26px;
  box-shadow: 0 20px 50px var(--card-shadow);
  backdrop-filter: blur(4px);
  text-align: center;
}

.card-title {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(17px, 4vw, 21px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.card-text {
  margin: 0 0 22px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.field { position: relative; width: 100%; }

#signup input[type="email"] {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  padding: 14px 44px 14px 18px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: var(--field-bg);
  color: var(--ink);
  letter-spacing: 0.01em;
}

#signup input[type="email"]::placeholder { color: #b1a89e; }

#signup input[type="email"]:focus {
  outline: none;
  border-color: var(--taupe);
}

.field-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--taupe);
  pointer-events: none;
  display: inline-flex;
}

#signup button {
  width: 100%;
  margin-top: 14px;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  background: var(--taupe);
  color: #fdfbf8;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

#signup button:hover { background: var(--taupe-deep); transform: translateY(-1px); }
#signup button:disabled { opacity: 0.6; cursor: default; transform: none; }

/* Honeypot komplett aus dem Blickfeld */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

#signup-status {
  margin: 14px 0 0;
  min-height: 1.2em;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
#signup-status[data-state="error"] { color: #b06a5a; }
#signup-status[data-state="success"] { color: var(--ink); }

/* Erfolg: Form ausblenden, Status bleibt */
.signup-card.is-done #signup { display: none; }

/* ---------- Confirm-Seite (DOI) ---------- */
.confirm-msg {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Pillars ---------- */
.pillars {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pillars li {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(12px, 3vw, 15px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pillar);
  padding: 0 18px;
  line-height: 1.1;
}
.pillars li + li { border-left: 1px solid var(--hair); }

/* ---------- Footer: Impressum / Datenschutz (weiß, klein) ---------- */
.legal {
  margin-top: 0;
  text-align: center;
}
.legal a {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  /* Outline-Kontur, damit Weiß auf hellem Creme lesbar bleibt */
  text-shadow:
    0 1px 2px rgba(64, 50, 36, 0.85),
    0 0 2px rgba(64, 50, 36, 0.75),
    0 0 4px rgba(64, 50, 36, 0.5);
}
.legal a:hover { text-decoration: underline; }
.legal .sep {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 9px;
  text-shadow:
    0 1px 2px rgba(64, 50, 36, 0.85),
    0 0 2px rgba(64, 50, 36, 0.75);
}

@media (max-width: 600px) {
  .landing { padding: 64px 20px 24px; }
  .signup-card { padding: 30px 24px 26px; border-radius: 22px; }
  .pillars li { padding: 0 13px; }
}
