/* ============================================================
   Pusteblümchen Backstage — "Airy Dandelion" Design System
   Schenken mit Herz und Stil · Persönlich · Individuell
   ============================================================ */

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

:root {
  /* Core palette */
  --cream:        #FBF8F3;
  --cream-2:      #F4EEE4;
  --paper:        #FFFFFF;
  --ink:          #3A3530;
  --ink-soft:     #6B635A;
  --ink-faint:    #A89F94;

  --sage:         #A8B89A;
  --sage-deep:    #7E9070;
  --sage-tint:    #EAEFE4;

  --rose:         #D6A9A0;
  --rose-deep:    #B9847A;
  --rose-tint:    #F6E9E5;

  --gold:         #C8A45C;

  /* Semantic */
  --bg:           var(--cream);
  --surface:      var(--paper);
  --line:         #E7DFD2;
  --line-soft:    #F0E9DD;

  --ok:           #7E9070;
  --warn:         #C8A45C;
  --alert:        #B9847A;

  /* Type */
  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'Inter', -apple-system, system-ui, sans-serif;

  /* Shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(58,53,48,.05), 0 2px 8px rgba(58,53,48,.04);
  --shadow:    0 4px 14px rgba(58,53,48,.07), 0 12px 40px rgba(58,53,48,.06);
  --shadow-lg: 0 10px 30px rgba(58,53,48,.10), 0 30px 80px rgba(58,53,48,.10);

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Soft drifting seed texture behind everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(168,184,154,.10), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(214,169,160,.10), transparent 40%),
    radial-gradient(circle at 70% 88%, rgba(200,164,92,.06), transparent 42%);
  pointer-events: none; z-index: 0;
}

h1,h2,h3,h4 { font-family: var(--display); font-weight: 500; color: var(--ink); line-height: 1.12; margin: 0 0 .4em; letter-spacing: .2px; }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1rem; }
a { color: var(--sage-deep); text-decoration: none; }
a:hover { color: var(--rose-deep); }
small { color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.serif { font-family: var(--display); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--rose-deep);
}

/* Layout */
.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 16px; align-items: center; }
.row.wrap-row { flex-wrap: wrap; }
.spacer { flex: 1; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
@media (max-width: 860px){ .grid-2,.grid-3 { grid-template-columns: 1fr; } }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card.soft { background: linear-gradient(180deg, #fff, var(--cream)); }
.card-pad-lg { padding: 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: .95rem;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #2c2823; color:#fff; box-shadow: var(--shadow); }
.btn-sage { background: var(--sage-deep); color: #fff; }
.btn-sage:hover { background: #6c7d5e; color:#fff; }
.btn-rose { background: var(--rose-deep); color:#fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--cream-2); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn[disabled]{ opacity:.5; cursor: not-allowed; }

/* Inputs */
label.field { display:block; margin-bottom: 14px; }
label.field .lab { display:block; font-weight:600; font-size:.9rem; margin-bottom:6px; color: var(--ink); }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width:100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; transition: border .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-tint); background:#fff;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.55; }

/* Pills / badges */
.badge { display:inline-flex; align-items:center; gap:6px; font-size:.74rem; font-weight:600;
  padding: 4px 11px; border-radius:999px; letter-spacing:.02em; }
.badge-sage { background: var(--sage-tint); color: var(--sage-deep); }
.badge-rose { background: var(--rose-tint); color: var(--rose-deep); }
.badge-gold { background: #F6EFDD; color: #9c7d36; }
.badge-ink  { background: #ECE7DF; color: var(--ink-soft); }

/* Header / nav */
.topbar { position: sticky; top:0; z-index: 20; backdrop-filter: blur(10px);
  background: rgba(251,248,243,.82); border-bottom: 1px solid var(--line-soft); }
.topbar .wrap { display:flex; align-items:center; gap: 18px; height: 68px; }
.brandmark { display:flex; align-items:center; gap:11px; font-family:var(--display); font-size:1.4rem; font-weight:600; color:var(--ink); }
.brandmark .seed { width: 30px; height: 30px; }
.navlinks { display:flex; gap: 4px; }
.navlinks button { background:none; border:none; font-family:var(--body); font-weight:600; font-size:.92rem;
  color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; cursor:pointer; transition: all .15s; }
.navlinks button:hover { color: var(--ink); background: var(--cream-2); }
.navlinks button.active { color:#fff; background: var(--ink); }
@media (max-width:760px){ .navlinks button{ padding:7px 10px; font-size:.82rem;} .topbar .wrap{ gap:8px;} }

.avatar { width:38px; height:38px; border-radius:50%; display:grid; place-items:center;
  font-weight:700; color:#fff; font-size:.9rem; }

/* Hero (login) */
.hero { min-height: 100vh; display:grid; place-items:center; padding: 40px 20px; position:relative; z-index:1; }
.hero-card { width:min(960px,100%); display:grid; grid-template-columns: 1.05fr .95fr;
  background:#fff; border-radius: var(--r-xl); overflow:hidden; box-shadow: var(--shadow-lg); border:1px solid var(--line); }
.hero-visual { background-size: cover; background-position: center; min-height: 480px; position:relative; }
.hero-visual .tagline { position:absolute; bottom: 26px; left:26px; right:26px; color: var(--ink);
  font-family: var(--display); font-size: 1.5rem; line-height:1.2; }
.hero-form { padding: 48px 44px; display:flex; flex-direction:column; justify-content:center; }
@media (max-width: 820px){ .hero-card{ grid-template-columns:1fr; } .hero-visual{ min-height: 220px; } .hero-form{ padding:34px 26px; } }

/* Progress */
.prog { height: 8px; background: var(--cream-2); border-radius:999px; overflow:hidden; }
.prog > i { display:block; height:100%; background: linear-gradient(90deg, var(--sage), var(--sage-deep)); border-radius:999px; transition: width .4s ease; }

/* Scale selector */
.scale { display:flex; gap:8px; flex-wrap:wrap; }
.scale button { flex:1; min-width:54px; background:var(--cream); border:1px solid var(--line);
  border-radius: var(--r-sm); padding:12px 6px; cursor:pointer; font-weight:600; color:var(--ink-soft);
  transition: all .15s; font-family:var(--body); }
.scale button:hover { border-color: var(--sage); color:var(--ink); }
.scale button.sel { background: var(--ink); color:#fff; border-color: var(--ink); }
.scale-labels { display:flex; justify-content:space-between; font-size:.74rem; color:var(--ink-faint); margin-top:6px; }

/* Choice chips */
.choices { display:flex; flex-direction:column; gap:10px; }
.choice { display:flex; align-items:flex-start; gap:12px; padding:14px 16px; border:1px solid var(--line);
  border-radius: var(--r); background:var(--cream); cursor:pointer; transition: all .15s; }
.choice:hover { border-color: var(--sage); background:#fff; }
.choice.sel { border-color: var(--sage-deep); background: var(--sage-tint); box-shadow: inset 0 0 0 1px var(--sage-deep); }
.choice .dot { width:18px; height:18px; border-radius:50%; border:2px solid var(--ink-faint); margin-top:3px; flex:none; }
.choice.sel .dot { border-color: var(--sage-deep); background: var(--sage-deep); box-shadow: inset 0 0 0 3px #fff; }

/* Question block */
.q { padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.q:last-child { border-bottom: none; }
.q .qhead { display:flex; gap:10px; align-items:baseline; margin-bottom: 6px; }
.q .qnum { font-family:var(--display); font-size:1.2rem; color: var(--rose-deep); font-weight:600; }
.q .qtext { font-size:1.12rem; font-weight:500; color:var(--ink); }
.q .qhelp { font-size:.9rem; color: var(--ink-soft); margin: 2px 0 16px; }

/* Analysis */
.kpi { text-align:center; padding: 22px; }
.kpi .num { font-family:var(--display); font-size: 2.6rem; color: var(--ink); line-height:1; }
.kpi .lab { font-size:.8rem; text-transform:uppercase; letter-spacing:.12em; color:var(--ink-faint); margin-top:6px; }

.dimrow { display:grid; grid-template-columns: 180px 1fr 92px; gap:14px; align-items:center; padding:14px 0; border-bottom:1px solid var(--line-soft); }
.dimrow:last-child{ border-bottom:none; }
.dimrow .dname { font-weight:600; }
.bar3 { position:relative; height: 30px; }
.bar3 .track { position:absolute; inset: 11px 0; background: var(--cream-2); border-radius:999px; }
.bar3 .pt { position:absolute; top:50%; transform:translate(-50%,-50%); width:18px; height:18px; border-radius:50%; border:2px solid #fff; box-shadow: var(--shadow-sm); }
.pt.dirk { background: var(--sage-deep); }
.pt.eva  { background: var(--rose-deep); }
.pt.chris{ background: var(--gold); }
.conv { font-weight:700; font-size:.86rem; text-align:right; }
.conv.high { color: var(--ok); } .conv.mid { color: var(--warn); } .conv.low { color: var(--alert); }

.legend { display:flex; gap:18px; flex-wrap:wrap; font-size:.84rem; color:var(--ink-soft); }
.legend .k { display:inline-flex; align-items:center; gap:7px; }
.legend .swatch { width:13px; height:13px; border-radius:50%; }

.decision { display:flex; gap:14px; padding:18px; border:1px solid var(--line); border-radius:var(--r); background:#fff; margin-bottom:12px; }
.decision .ic { width:40px; height:40px; border-radius:12px; display:grid; place-items:center; flex:none; font-size:1.2rem; }
.decision.diverge .ic { background: var(--rose-tint); }
.decision.align .ic { background: var(--sage-tint); }
.decision.gap .ic { background:#F6EFDD; }

/* Roster */
.person { display:flex; gap:14px; align-items:center; padding:16px; border:1px solid var(--line); border-radius:var(--r); background:#fff; }
.person .meta { flex:1; }
.dot-status { width:9px; height:9px; border-radius:50%; display:inline-block; margin-right:6px; }
.dot-status.active { background: var(--ok); }
.dot-status.invited { background: var(--warn); }

/* Misc */
.notice { padding:14px 16px; border-radius:var(--r); font-size:.92rem; }
.notice-info { background: var(--sage-tint); color: var(--sage-deep); }
.notice-warn { background:#F6EFDD; color:#9c7d36; }
.notice-rose { background: var(--rose-tint); color: var(--rose-deep); }
.divider { height:1px; background: var(--line); margin: 28px 0; border:none; }
.hidden { display:none !important; }
.fade-in { animation: fade .5s ease; }
@keyframes fade { from{ opacity:0; transform: translateY(8px);} to{ opacity:1; transform:none;} }
.footer { text-align:center; padding: 40px 0 60px; color: var(--ink-faint); font-size:.85rem; }
.footer a { color: var(--ink-soft); margin: 0 8px; }

/* Floating seeds animation (decorative) */
.seedfield { position: fixed; inset:0; pointer-events:none; z-index:0; overflow:hidden; }
.seedfield .s { position:absolute; width:6px; height:6px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,255,255,.9), rgba(168,184,154,.35)); filter: blur(.3px);
  animation: drift linear infinite; opacity:.5; }
@keyframes drift {
  0%   { transform: translate(0,110vh) rotate(0deg); }
  100% { transform: translate(60px,-12vh) rotate(220deg); }
}
