:root {
  --bg: #eef0ea;          /* helles Salbei-Grau */
  --surface: #f9faf6;
  --ink: #1f2620;         /* tiefes Waldgrün-Schwarz */
  --muted: #6c7568;
  --line: #d7dccf;
  --sage: #7d8f74;        /* Salbei */
  --sage-deep: #4a5a45;
  --sage-soft: #dfe5d8;
  --ok: #4a5a45;
  --danger: #8a4b3f;
  --radius: 10px;
  --sans: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--sage-deep); text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.03em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 400; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.05rem; letter-spacing: -.01em; }
em { font-style: normal; color: var(--sage); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font: 500 .7rem var(--mono); color: var(--sage); margin: 0 0 .9em; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.logo { font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo::before { content: ''; width: 14px; height: 20px; border: 1.5px solid var(--sage-deep); border-radius: 3px; background: linear-gradient(var(--sage) 0 0) center/6px 6px no-repeat; }

/* Buttons & Felder */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--ink); color: var(--surface); border: 0; border-radius: var(--radius);
  padding: 14px 22px; font: 500 .95rem var(--sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: background .2s, transform .1s, opacity .2s; }
.btn:hover { background: var(--sage-deep); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .3; cursor: not-allowed; background: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--sage); background: transparent; }
.btn.small { padding: 8px 14px; font-size: .85rem; }
.btn.big { width: 100%; padding: 17px; font-size: 1rem; background: var(--sage-deep); }
.btn.big:hover:not(:disabled) { background: var(--ink); }
label { display: flex; flex-direction: column; gap: 7px; font-weight: 500; font-size: .88rem; }
label.row { flex-direction: row; }
input, textarea, select { font: 16px var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%; transition: border-color .2s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--sage-deep); }
select { width: auto; }
.prompt-edit select { width: 100%; font-weight: 500; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
legend { font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 12px; }

.card { background: var(--surface); border-radius: 14px; padding: 24px; border: 1px solid var(--line); }
.alert { background: #f1e4df; color: var(--danger); padding: 12px 16px; border-radius: 8px; font-weight: 500; font-size: .92rem; }
.flash { background: var(--sage-soft); color: var(--sage-deep); padding: 10px 16px; border-radius: 8px; font-weight: 500; font-size: .92rem; }
.empty { color: var(--muted); padding: 36px 0; text-align: center; }
.tag { font: 500 .68rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border: 1px solid var(--line); padding: 4px 9px; border-radius: 6px; white-space: nowrap; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { flex-direction: row; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 500; font-size: .92rem; user-select: none; transition: all .15s; }
.chip span:hover { border-color: var(--sage); }
.chip input:checked + span { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--surface); }
.chip input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }

/* Startseite */
.hero { max-width: 1080px; margin: 0 auto; padding: 48px 16px; display: grid; grid-template-columns: 1fr 340px; gap: 72px; align-items: center; min-height: 100vh; }
.hero-card { display: flex; justify-content: center; order: 2; }
.hero-card .wc { transform: rotate(4deg); box-shadow: 0 40px 80px -30px rgba(31, 38, 32, .35); }
.hero-text .logo { margin-bottom: 56px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 500px; }
.steps { margin: 48px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 520px; }
.steps li { counter-increment: s; padding: 14px 0 14px 44px; position: relative; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .95rem; }
.steps li::before { content: '0' counter(s); position: absolute; left: 0; top: 15px; font: 500 .75rem var(--mono); color: var(--sage); }
.steps b { color: var(--ink); font-weight: 500; }
.hero .row { margin-top: 32px; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 32px; min-height: 0; } .hero-card { order: 0; } .hero-card .wc { transform: rotate(3deg) scale(.88); } .hero-text .logo { display: none; } }

.narrow { max-width: 420px; margin: 0 auto; padding: 56px 16px; }
.narrow .logo { display: flex; margin-bottom: 48px; }
.narrow.center .logo { justify-content: center; }

/* Öffentliches Profil */
.profile { max-width: 500px; margin: 0 auto; padding: 32px 16px 60px; display: flex; flex-direction: column; gap: 12px; }
.p-head { padding: 8px 4px 12px; }
.p-head h1 { margin: 0; font-size: 2.6rem; }
.age { color: var(--sage); }
.photo { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts div { padding: 14px 18px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts small { display: block; font: 500 .65rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 2px; }
.facts span { font-weight: 500; }
.prompt { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px 24px 30px; }
.prompt .q { margin: 0 0 10px; font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--sage); }
.prompt .a { margin: 0; font-size: 1.45rem; line-height: 1.3; letter-spacing: -.02em; }
.prompt .a.small { font-size: 1.05rem; line-height: 1.6; letter-spacing: 0; color: var(--ink); }
.book { margin-top: 20px; scroll-margin-top: 16px; background: var(--surface); }
.book h2 { margin-bottom: 24px; font-size: 2rem; font-weight: 400; }
.summary { background: var(--sage-soft); color: var(--sage-deep); padding: 13px 16px; border-radius: 8px; font-weight: 500; text-align: center; font-size: .95rem; }
.foot { text-align: center; color: var(--muted); font: 500 .68rem var(--mono); text-transform: uppercase; letter-spacing: .12em; padding-top: 28px; }
.preview-bar { background: var(--ink); color: var(--surface); text-align: center; padding: 10px 16px; font-size: .88rem; position: sticky; top: 0; z-index: 5; }
.preview-bar a { color: var(--surface); font-weight: 600; margin-left: 8px; }

/* Kalender */
.cal { background: var(--bg); border-radius: 12px; padding: 14px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-head b { font-weight: 500; letter-spacing: -.01em; }
.cal-head button { background: none; border: 0; font-size: 1.4rem; line-height: 1; width: 38px; height: 38px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.cal-head button:hover:not(:disabled) { background: var(--sage-soft); }
.cal-head button:disabled { opacity: .2; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.wd { font: 500 .65rem var(--mono); text-transform: uppercase; color: var(--muted); padding: 4px 0 6px; letter-spacing: .05em; }
.day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; font-size: .9rem; color: #b3baad; border: 0; background: none; font-family: var(--sans); }
button.day.free { color: var(--ink); background: var(--surface); font-weight: 500; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
button.day.free:hover { box-shadow: inset 0 0 0 1px var(--sage); }
button.day.free.sel { background: var(--sage-deep); color: var(--surface); box-shadow: none; }
#pickcal button.day.free { box-shadow: none; background: none; }
#pickcal button.day.free:hover { background: var(--sage-soft); }
#pickcal button.day.free.has { position: relative; }
#pickcal button.day.free.has::after { content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--sage); }
#pickcal button.day.free.sel { background: var(--ink); color: var(--surface); }
.day.past { opacity: .5; }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.times p { margin: 0; }
.time { padding: 10px 18px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font: 500 .92rem var(--mono); cursor: pointer; color: var(--ink); }
.time:hover { border-color: var(--sage); }
.time.sel { background: var(--sage-deep); color: var(--surface); border-color: var(--sage-deep); }

/* Bestätigung */
.done-badge { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--sage-deep); color: var(--sage-deep); font-size: 1.4rem; display: grid; place-items: center; margin: 0 auto 28px; }
.ticket { margin: 32px 0; text-align: left; padding: 0; overflow: hidden; }
.ticket p { margin: 0; padding: 0 24px; }
.t-act { font: 500 .7rem var(--mono) !important; text-transform: uppercase; letter-spacing: .14em; color: var(--sage); padding-top: 22px !important; }
.t-date { font-size: 1.4rem; letter-spacing: -.02em; margin-top: 10px !important; }
.t-time { font-size: 2.8rem; font-weight: 300; letter-spacing: -.04em; padding-bottom: 20px !important; border-top: 1px dashed var(--line); margin-top: 16px !important; padding-top: 12px !important; }

/* Dashboard */
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 16px; max-width: 780px; margin: 0 auto; }
.topbar form { margin: 0; }
.tabs { display: flex; gap: 2px; overflow-x: auto; padding: 0 16px; max-width: 780px; margin: 0 auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs a { padding: 12px 12px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .9rem; white-space: nowrap; border-bottom: 1.5px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-color: var(--ink); }
.dot { font: 500 .65rem var(--mono); background: var(--sage-deep); color: var(--surface); border-radius: 4px; padding: 1px 5px; margin-left: 4px; }
.dash { max-width: 780px; margin: 0 auto; padding: 28px 16px 80px; display: flex; flex-direction: column; gap: 12px; }
.dash h2 { margin: 8px 0 0; }
.dash > p.muted { margin: 0 0 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.prompt-edit { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 10px; background: var(--bg); }

.checklist { display: flex; flex-direction: column; }
.checklist h3 { margin-bottom: 10px; }
.checklist a { display: flex; gap: 14px; padding: 11px 0; color: var(--ink); text-decoration: none; font-weight: 500; border-top: 1px solid var(--line); font-size: .95rem; }
.checklist a span { font-family: var(--mono); color: var(--sage); width: 16px; }
.checklist a.ok { color: var(--muted); text-decoration: line-through; }

.booking { display: flex; gap: 18px; align-items: flex-start; }
.booking.cancelled, .booking:has(.tag) { opacity: .55; }
.b-date { display: flex; flex-direction: column; align-items: flex-start; min-width: 84px; border-right: 1px solid var(--line); padding-right: 16px; }
.b-date b { font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--sage); }
.b-date span { font-size: 1.6rem; font-weight: 300; letter-spacing: -.03em; }
.b-main { flex: 1; min-width: 0; }
.b-main p { margin: 0 0 4px; }
.b-title b { font-weight: 600; }
.b-contact { font: 500 .92rem var(--mono); word-break: break-word; color: var(--sage-deep); }
.b-msg { color: var(--muted); }
@media (max-width: 560px) { .booking { flex-wrap: wrap; } .booking form { width: 100%; } .booking form .btn { width: 100%; } }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot { position: relative; }
.slot form { margin: 0; }
.slot-img { aspect-ratio: 4/5; border-radius: 10px; background: var(--surface) center/cover no-repeat; border: 1px dashed #b9c2b2; display: grid; place-items: center; cursor: pointer; color: var(--muted); font-size: 1.6rem; font-weight: 300; transition: border-color .2s; }
.slot-img:hover { border-color: var(--sage-deep); }
.slot-img[style*="url"] { border: 0; }
.slot-img span { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.slot-img small { font: 500 .65rem var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-top: 8px; }
.slot .x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 6px; border: 0; background: rgba(31, 38, 32, .65); color: #fff; font-size: 1rem; cursor: pointer; }
.slot .n { position: absolute; bottom: 7px; left: 9px; color: #fff; font: 500 .7rem var(--mono); text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }

.slotlist { display: flex; flex-direction: column; gap: 8px; }
.dayrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; }
.dayrow > b { min-width: 180px; font-weight: 500; }
.dayrow .chips { flex: 1; }
.dayrow.booked { background: var(--sage-soft); border-color: var(--sage-soft); }
.slotchip { display: inline-flex; align-items: center; gap: 2px; background: var(--bg); border-radius: 6px; padding: 3px 3px 3px 10px; margin: 0; font: 500 .85rem var(--mono); }
.slotchip button { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 1rem; width: 24px; height: 24px; border-radius: 4px; }
.slotchip button:hover { background: var(--line); }
.slotchip.is-booked { background: var(--sage-deep); color: var(--surface); padding-right: 10px; }
.slotchip em { color: var(--surface); font-size: .7rem; margin-left: 6px; }
#customtime { width: 140px; }

.codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.code { display: flex; flex-direction: column; gap: 12px; }
.code form { margin: 0; }
.code .row { flex-wrap: wrap; }
.code-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.code-id { font: 500 1.05rem var(--mono); color: var(--ink); text-decoration: none; letter-spacing: .1em; }
.code.off { opacity: .5; }
.code input { padding: 8px 12px; font-size: .9rem; }

/* ---------- Wildcard-Karte (minimalistisch, Salbei) ---------- */
.wc { --wc-bg: #f6f7f2; --wc-ink: #1f2620; --wc-accent: #6f8167;
  width: 63mm; height: 88mm; background: var(--wc-bg); border-radius: 3.5mm; position: relative; color: var(--wc-ink); flex: none; overflow: hidden;
  font-family: var(--sans); }
.wc::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 15mm; background: var(--wc-accent); }
.wc-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 4.5mm 5mm 5mm; text-align: center; }
.wc-label { position: relative; align-self: stretch; display: flex; justify-content: space-between; font: 500 2mm var(--mono); letter-spacing: .25em; text-transform: uppercase; color: var(--wc-bg); }
.wc-title { font-weight: 300; font-size: 8.5mm; letter-spacing: -.04em; line-height: 1; margin-top: 11mm; }
.wc-text { font-size: 2.5mm; color: #6c7568; margin: 1.5mm 0 4mm; }
.wc-qr { width: 29mm; height: 29mm; }
.wc-qr svg { width: 100%; height: 100%; display: block; }
.wc-sub { margin-top: auto; align-self: stretch; display: flex; justify-content: space-between; align-items: baseline; border-top: .25mm solid #d7dccf; padding-top: 2mm; font: 500 2.1mm var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6c7568; }
.wc-corner { display: none; }
/* Demo-Karte auf der Startseite (px statt mm) */
.wc-demo { width: 260px; height: 364px; border-radius: 14px; }
.wc-demo::before { height: 62px; }
.wc-demo .wc-inner { padding: 18px 20px 20px; }
.wc-demo .wc-label { font-size: 8.5px; }
.wc-demo .wc-title { font-size: 36px; margin-top: 46px; }
.wc-demo .wc-text { font-size: 11px; margin: 6px 0 16px; }
.wc-demo .wc-qr { width: 118px; height: 118px; }
.wc-demo .wc-sub { font-size: 9px; padding-top: 8px; border-top-width: 1px; }

/* Druckseite */
body.print { background: #e3e7de; }
.print-bar { position: sticky; top: 0; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--muted); z-index: 2; }
.sheet { display: flex; flex-wrap: wrap; gap: 6mm; justify-content: center; padding: 24px 16px; }
.sheet .wc { box-shadow: 0 0 0 .2mm #c6cdbf; }
@media print {
  @page { size: A4; margin: 10mm; }
  body.print { background: #fff; }
  .no-print { display: none !important; }
  .sheet { padding: 0; gap: 4mm; justify-content: flex-start; }
  .wc { break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* =========================================================
   Verspielte Ebene – Salbei bleibt, aber wärmer & lebendiger
   ========================================================= */
:root {
  --bg: #f3efe4;          /* warmes Creme */
  --surface: #fbf9f3;
  --ink: #26302a;
  --muted: #6f776b;
  --line: #dcd8c8;
  --sage: #8ea58a;
  --sage-deep: #44594a;
  --sage-soft: #dde6d5;
  --apricot: #e9a27c;     /* warmer Akzent */
  --apricot-soft: #f8e1d2;
  --butter: #f1dc9a;
  --serif: 'Instrument Serif', Georgia, serif;
  --radius: 999px;
}
body { background:
  radial-gradient(40vmax 40vmax at 100% -5%, rgba(142,165,138,.28), transparent 70%),
  radial-gradient(35vmax 35vmax at -10% 105%, rgba(233,162,124,.18), transparent 70%),
  var(--bg); background-attachment: fixed; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--sage-deep); letter-spacing: -.01em; position: relative; white-space: nowrap; }
h1 em::after { content: ''; position: absolute; left: 2%; right: 2%; bottom: -.08em; height: .28em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 14 C 40 4, 70 18, 105 10 S 170 4, 198 12' fill='none' stroke='%23e9a27c' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
h1 { position: relative; z-index: 0; }
.eyebrow::before { content: '✦ '; color: var(--apricot); }
.logo::before { border-radius: 4px; transform: rotate(-8deg); background: linear-gradient(var(--apricot) 0 0) center/6px 6px no-repeat; }

/* Buttons: weich + kleiner Versatz-Schatten */
.btn { border-radius: 999px; box-shadow: 3px 3px 0 var(--sage); }
.btn:hover { background: var(--sage-deep); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--apricot); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--sage); }
.btn:disabled { box-shadow: none; transform: none; }
.btn.ghost { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink), 3px 3px 0 var(--sage-soft); background: var(--surface); }
.btn.big { background: var(--sage-deep); box-shadow: 4px 4px 0 var(--apricot); }
.btn.small { box-shadow: none; }
.btn.small:not(.ghost) { box-shadow: 2px 2px 0 var(--sage); }

/* Karten & Flächen weicher */
.card, .prompt, .facts { border-radius: 24px; border: 0; box-shadow: 0 1px 0 rgba(38,48,42,.04), 0 18px 40px -28px rgba(38,48,42,.35); }
.book { box-shadow: 6px 6px 0 var(--sage-soft), 0 18px 40px -28px rgba(38,48,42,.35); border: 1.5px solid var(--ink); }
.photo { border-radius: 24px; }
.photo:nth-of-type(odd) { transform: rotate(-.6deg); } .photo:nth-of-type(even) { transform: rotate(.5deg); }
input, textarea, select { border-radius: 14px; border-width: 1.5px; }
.chip span, .time { border-radius: 999px; border-width: 1.5px; }
.chip input:checked + span { background: var(--sage-deep); box-shadow: 2px 2px 0 var(--apricot); }
.chip input:checked + span::before { content: '✦ '; color: var(--butter); }
.time.sel { box-shadow: 2px 2px 0 var(--apricot); }

/* Profil */
.p-head h1 { font-family: var(--serif); font-weight: 400; font-size: 3.4rem; letter-spacing: -.01em; }
.age { font-style: italic; color: var(--apricot); }
.facts div:nth-child(2n) { background: var(--sage-soft); }
.prompt .q::before { content: '✦ '; color: var(--apricot); }
.prompt .a { font-family: var(--serif); font-size: 1.9rem; line-height: 1.15; letter-spacing: 0; }
.prompt .a.small { font-family: var(--sans); }
.prompt:nth-of-type(3n+1) { background: var(--sage-soft); }
.prompt:nth-of-type(3n+2) { background: var(--apricot-soft); }
.summary { background: var(--butter); color: var(--ink); border-radius: 16px; }
.book h2 { font-size: 2.4rem; }

/* Kalender */
.cal { border-radius: 20px; }
.day, button.day.free { border-radius: 50%; }
button.day.free { background: var(--sage-soft); box-shadow: none; }
button.day.free:hover { background: var(--butter); box-shadow: none; }
button.day.free.sel { background: var(--sage-deep); box-shadow: 2px 2px 0 var(--apricot); }

/* Startseite */
.steps li::before { content: '✦'; color: var(--apricot); font-size: .9rem; top: 13px; }
.hero-card { position: relative; }
.hero-card::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--sage-soft); top: 50%; left: 50%; transform: translate(-40%, -55%); z-index: -1; }
.hero-card::after { content: '✦'; position: absolute; font-size: 2.2rem; color: var(--apricot); top: 4%; right: 6%; transform: rotate(14deg); }
.hero-card .wc { transform: rotate(-5deg); }

/* Dashboard */
.tabs a.on { border-color: var(--apricot); border-bottom-width: 2.5px; }
.dot { background: var(--apricot); color: var(--ink); border-radius: 99px; }
.slot-img { border-radius: 20px; border-width: 1.5px; }
.slotchip, .tag { border-radius: 99px; }
.done-badge { background: var(--butter); border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--sage); }
.ticket { border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 var(--apricot-soft); }
.t-date, .t-time { font-family: var(--serif); }
.t-time { font-weight: 400; font-style: italic; color: var(--sage-deep); }

/* ---------- Wildcard-Karte, verspielt ---------- */
.wc { --wc-bg: #fbf8f0; --wc-accent: #8ea58a; --wc-ink: #26302a; border-radius: 4mm; }
.wc::before { height: 16mm;
  -webkit-mask: radial-gradient(2.2mm at 50% 100%, #0000 98%, #000) 50% 0/4.4mm 100% repeat-x, linear-gradient(#000 0 0) top/100% calc(100% - 2.1mm) no-repeat;
          mask: radial-gradient(2.2mm at 50% 100%, #0000 98%, #000) bottom/4.4mm 2.2mm repeat-x, linear-gradient(#000 0 0) top/100% calc(100% - 2.1mm) no-repeat; }
.wc-title { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; font-size: 11mm; letter-spacing: -.01em; margin-top: 11mm; }
.wc-text { color: #6f776b; }
.wc-sticker { position: absolute; top: 12.5mm; right: 4mm; background: #f1dc9a; color: #26302a; font: 500 1.9mm 'Geist Mono', monospace; letter-spacing: .1em; text-transform: uppercase;
  padding: 1.2mm 2.2mm; border-radius: 99px; transform: rotate(10deg); box-shadow: .5mm .5mm 0 #e9a27c; }
.wc-star { position: absolute; color: #e9a27c; font-size: 3.4mm; line-height: 1; }
.wc-star.s1 { top: 30mm; left: 6mm; transform: rotate(-12deg); }
.wc-star.s2 { bottom: 15mm; right: 6.5mm; font-size: 2.4mm; color: #8ea58a; }
.wc-sub span:first-child::after { content: ' ♡'; color: #e9a27c; }
.wc-demo .wc-title { font-size: 46px; margin-top: 44px; }
.wc-demo::before { height: 66px;
  -webkit-mask: radial-gradient(9px at 50% 100%, #0000 98%, #000) bottom/18px 9px repeat-x, linear-gradient(#000 0 0) top/100% calc(100% - 8.5px) no-repeat;
          mask: radial-gradient(9px at 50% 100%, #0000 98%, #000) bottom/18px 9px repeat-x, linear-gradient(#000 0 0) top/100% calc(100% - 8.5px) no-repeat; }
.wc-demo .wc-sticker { top: 52px; right: 14px; font-size: 8px; padding: 5px 9px; box-shadow: 2px 2px 0 #e9a27c; }
.wc-demo .wc-star { font-size: 14px; } .wc-demo .wc-star.s1 { top: 120px; left: 24px; } .wc-demo .wc-star.s2 { bottom: 60px; right: 26px; font-size: 10px; }
.wc-demo .wc-text { margin: 2px 0 14px; }

/* Fotos umsortieren */
.slot.filled { cursor: grab; }
.slot.filled .slot-img { transition: transform .15s, box-shadow .15s; }
.slot.picked .slot-img { transform: scale(.94) rotate(-2deg); box-shadow: 0 0 0 3px var(--apricot); }
.photo-grid.moving .slot:not(.picked) .slot-img { box-shadow: 0 0 0 2px var(--sage-soft); }
.photo-grid.moving .slot:not(.picked) { cursor: pointer; }
.slot.over .slot-img { box-shadow: 0 0 0 3px var(--sage-deep); }
.slot .replace { position: absolute; bottom: 6px; right: 6px; }
.slot .replace label { font: 500 .65rem var(--mono); text-transform: uppercase; letter-spacing: .06em; background: rgba(251,249,243,.92); color: var(--ink); padding: 5px 9px; border-radius: 99px; cursor: pointer; }
.move-hint { background: var(--butter); padding: 10px 16px; border-radius: 14px; margin: 0; font-weight: 500; font-size: .92rem; }
.move-hint a { margin-left: 6px; color: var(--ink); }

/* Wildcards-Seite */
.general { background: var(--sage-soft); }
.general h3, .dash .card h3 { margin-bottom: 4px; }
.dash .card .eyebrow { margin-bottom: .5em; }
.dash .card p.small { margin: 0; }

/* Druckseite mit SVG-Karten */
.seg { display: inline-flex; background: var(--bg); border-radius: 99px; padding: 3px; }
.seg a { padding: 7px 14px; border-radius: 99px; text-decoration: none; color: var(--muted); font-size: .82rem; font-weight: 500; }
.seg a.on { background: var(--ink); color: var(--surface); }
.print-tip { max-width: 680px; margin: 18px auto 0; padding: 0 16px; color: var(--muted); font-size: .88rem; text-align: center; }
.wc-svg { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wc-svg svg { display: block; box-shadow: 0 0 0 .2mm #c6cdbf, 0 14px 30px -18px rgba(38,48,42,.4); max-width: 100%; height: auto; }
@media print { .wc-svg svg { box-shadow: 0 0 0 .1mm #bbb; } .sheet { gap: 0; } .wc-svg { gap: 0; } }
.btn.small.ghost { box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.small.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.code .row { gap: 6px; }

/* ========== Logo ========== */
.logo::before { display: none; }
.logo { gap: 8px; }
.logo-icon { width: 26px; height: 31px; flex: none; }
.wordmark { font-family: var(--serif); font-style: italic; font-size: 1.55rem; font-weight: 400; letter-spacing: -.01em; line-height: 1; display: inline-flex; align-items: baseline; gap: 6px; }
.wordmark small { font: 500 .58rem var(--mono); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-deep); background: var(--sage-soft); padding: 3px 6px 2px; border-radius: 99px; transform: translateY(-3px); }

/* ========== Profil – Dating-App-Look, eigene Note ========== */
.profile-page { background: var(--bg); }
.profile { gap: 14px; padding-bottom: 110px; }
.p-head { padding: 4px 2px 6px; }
.p-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.p-top .logo-icon { width: 22px; height: 27px; }
.pill { font: 500 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); background: var(--sage-soft); padding: 6px 11px; border-radius: 99px; }
.p-head h1 { font-family: var(--sans); font-weight: 600; font-size: 2.3rem; letter-spacing: -.035em; color: var(--ink); margin: 0; }
.p-head h1 .age { color: var(--sage); font-style: normal; font-weight: 500; }
.photo, .photo:nth-of-type(odd), .photo:nth-of-type(even) { transform: none; position: relative; border-radius: 14px; box-shadow: none; }
.prompt, .prompt:nth-of-type(3n+1), .prompt:nth-of-type(3n+2) { background: var(--surface); position: relative; border-radius: 14px; padding: 30px 24px 38px; box-shadow: none; }
.prompt .q { font: 600 .92rem var(--sans); letter-spacing: -.005em; text-transform: none; color: var(--ink); margin-bottom: 14px; }
.prompt .q::before { content: none; }
.prompt .a { font-family: var(--serif); font-size: 2.05rem; line-height: 1.12; letter-spacing: -.005em; padding-right: 30px; }
.prompt.about .a { font-family: var(--sans); font-size: 1.05rem; line-height: 1.6; padding-right: 0; }
.prompt.about { background: var(--sage-soft); }
.spark { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); color: var(--apricot); display: grid; place-items: center;
  box-shadow: 0 4px 14px -4px rgba(38,48,42,.35); transition: transform .15s; }
.prompt .spark { background: var(--bg); box-shadow: none; right: 12px; bottom: 12px; }
.spark svg { width: 22px; height: 22px; }
.spark:hover { transform: scale(1.08) rotate(12deg); }
.vitals { background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: none; }
.v-row { display: flex; overflow-x: auto; scrollbar-width: none; }
.v-row span { display: inline-flex; align-items: center; gap: 8px; padding: 16px 20px; white-space: nowrap; font-weight: 500; border-right: 1px solid var(--line); }
.v-row span:last-child { border-right: 0; }
.v-line { display: flex; align-items: center; gap: 10px; padding: 15px 20px; border-top: 1px solid var(--line); font-weight: 500; }
.ic { width: 20px; height: 20px; color: var(--sage-deep); flex: none; }
.redeem { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 10; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--surface); text-decoration: none; padding: 15px 26px; border-radius: 99px; font-weight: 500; box-shadow: 3px 3px 0 var(--apricot), 0 12px 30px -10px rgba(38,48,42,.5);
  transition: opacity .25s, transform .25s; white-space: nowrap; }
.redeem svg { width: 16px; height: 16px; color: var(--butter); }
.redeem.gone { opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.foot .logo-icon { width: 20px; height: 24px; opacity: .8; }

/* Orte beim Buchen */
.places { display: grid; gap: 8px; }
.place { flex-direction: row; }
.place[hidden] { display: none; }
.place input { position: absolute; opacity: 0; pointer-events: none; }
.place span { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; transition: all .15s; }
.place span b { font-weight: 600; }
.place span small { color: var(--muted); font-weight: 400; font-size: .82rem; }
.place span:hover { border-color: var(--sage); }
.place input:checked + span { border-color: var(--sage-deep); background: var(--sage-soft); box-shadow: 3px 3px 0 var(--apricot); }
.place.guest span { border-style: dashed; }
.t-place { padding-bottom: 20px !important; font-size: .95rem; }
.t-place span { color: var(--muted); }

/* Dashboard Orte */
.placelist { display: flex; flex-direction: column; gap: 8px; }
.placerow { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.placerow > div { flex: 1; display: flex; flex-direction: column; }
.placerow form { margin: 0; }
.b-place { display: flex; align-items: center; gap: 6px; font-weight: 500; flex-wrap: wrap; }
.b-place .ic { width: 16px; height: 16px; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 99px; cursor: pointer; transition: background .2s; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--sage-deep); }
.switch input:checked + span::after { transform: translateX(20px); }
@media (max-width: 480px) { .topbar .wordmark small { display: none; } .topbar .wordmark { font-size: 1.35rem; } .topbar .btn.small { padding: 7px 11px; } }

/* Termine pro Tag */
#dayplans { display: flex; flex-direction: column; gap: 10px; }
.dayplan { background: var(--bg); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.dp-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.dp-actions { display: flex; gap: 6px; }
.dp-actions button { border: 0; background: var(--surface); color: var(--ink); border-radius: 99px; padding: 6px 12px; font: 500 .78rem var(--sans); cursor: pointer; }
.dp-actions button:hover { background: var(--sage-soft); }
.dayplan .chip span { padding: 7px 12px; font-size: .85rem; font-family: var(--mono); }
.addtime { display: inline-flex; gap: 4px; align-items: center; }
.addtime input { width: 118px; padding: 6px 10px; font-size: .88rem; border-radius: 99px; }

/* Checkboxen mit Text */
label.check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; cursor: pointer; }
label.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--sage-deep); padding: 0; }
.small { font-size: .875rem; }

/* Footer Rechtliches */
.legal-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; padding: 24px 16px 32px; font-size: .78rem; color: var(--muted); }
.legal-foot a { color: var(--muted); text-decoration: none; }
.legal-foot a:hover { color: var(--ink); text-decoration: underline; }
.profile-page .legal-foot { padding-bottom: 100px; }
.legal { max-width: 680px; }
.legal h3 { margin: 28px 0 6px; }
.legal p { color: #3c463f; }

/* Konto */
.danger { border: 1.5px solid #e6c9c0 !important; }
.danger-btn { background: #8a4b3f !important; box-shadow: none !important; }
.v-line a { color: var(--ink); text-decoration: none; }
.v-line .wa { margin-left: auto; font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .08em; background: var(--sage-soft); color: var(--sage-deep); padding: 6px 10px; border-radius: 99px; }
.center-row { justify-content: center; margin-bottom: 12px; }
.btn .ic { width: 18px; height: 18px; color: currentColor; }
.ticket.off { opacity: .5; text-decoration: line-through; }
.chip input, .place input, .switch input { width: 1px !important; height: 1px !important; padding: 0 !important; }

/* =========================================================
   AURA – Pastell-Verläufe auf warmem Beige
   ========================================================= */
:root {
  --bg: #f1e9df;            /* Beige */
  --surface: #fffaf5;
  --glass: rgba(255, 250, 245, .68);
  --ink: #2b2530;           /* warmes Pflaume-Schwarz */
  --muted: #7d7177;
  --line: #e7dcd1;
  --lilac: #cbb6ec;
  --blush: #f3c3d3;
  --peach: #f7cfb8;
  --mint: #d4e6d6;
  --sage: #9db39a;
  --sage-deep: #4d4257;     /* Akzent dunkel: Pflaume */
  --sage-soft: #efe4f6;     /* zartes Flieder */
  --apricot: #e7a58c;
  --apricot-soft: #fbe4da;
  --butter: #f6e4ab;
  --aura: linear-gradient(115deg, #cbb6ec 0%, #f3c3d3 38%, #f7cfb8 68%, #d4e6d6 100%);
}
body { background-color: var(--bg); background-image:
  radial-gradient(42vmax 38vmax at 92% -8%, rgba(203,182,236,.55), transparent 65%),
  radial-gradient(36vmax 34vmax at -12% 28%, rgba(243,195,211,.45), transparent 65%),
  radial-gradient(40vmax 36vmax at 105% 70%, rgba(247,207,184,.45), transparent 65%),
  radial-gradient(34vmax 30vmax at 10% 110%, rgba(212,230,214,.55), transparent 65%);
  background-attachment: fixed; }
.card, .prompt, .vitals, .facts, .cal, .dayplan { background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.65) !important; box-shadow: 0 10px 40px -24px rgba(77,66,87,.35); }
.prompt.about { background: linear-gradient(135deg, rgba(203,182,236,.35), rgba(243,195,211,.3)); }
.cal { background: rgba(255,250,245,.5); }
.dayplan { background: rgba(255,250,245,.45); }

/* Text-Akzente */
h1 em, h2 em { color: var(--sage-deep); }
h1 em::after { filter: hue-rotate(-20deg); }
.eyebrow { color: #9a7fb8; }
.eyebrow::before { color: var(--apricot); }
.p-head h1 .age { color: var(--sage); }
.pill { background: rgba(255,255,255,.55); color: var(--sage-deep); border: 1px solid rgba(255,255,255,.8); }

/* Buttons */
.btn { background: var(--ink); box-shadow: 3px 3px 0 var(--lilac); }
.btn:hover { background: var(--sage-deep); box-shadow: 4px 4px 0 var(--blush); }
.btn.big { background: var(--aura); color: var(--ink); font-weight: 600; box-shadow: 0 10px 30px -12px rgba(155,120,200,.6); }
.btn.big:hover:not(:disabled) { background: var(--aura); filter: saturate(1.25); }
.btn.big:disabled { background: var(--line); color: var(--muted); }
.btn.ghost { box-shadow: inset 0 0 0 1.5px rgba(43,37,48,.85); background: rgba(255,255,255,.35); }
.btn.small.ghost { box-shadow: inset 0 0 0 1.5px var(--line); background: rgba(255,255,255,.45); }
.btn.red, .red { color: #a2493b !important; }
.chip span, .time, .place span { background: rgba(255,255,255,.6); }
.chip input:checked + span, .time.sel { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 2px 2px 0 var(--blush); }
.chip input:checked + span::before { color: var(--peach); }
.place input:checked + span { background: linear-gradient(135deg, rgba(203,182,236,.45), rgba(243,195,211,.4)); border-color: var(--ink); box-shadow: 3px 3px 0 var(--peach); }
button.day.free { background: rgba(203,182,236,.35); }
button.day.free:hover { background: var(--blush); }
button.day.free.sel, #pickcal button.day.free.sel { background: var(--ink); color: #fff; box-shadow: 2px 2px 0 var(--blush); }
#pickcal button.day.free.has::after { background: var(--lilac); }
.summary { background: var(--aura); border-radius: 16px; }
.spark { color: #b58ad6; }
.redeem { box-shadow: 3px 3px 0 var(--lilac), 0 12px 30px -10px rgba(77,66,87,.5); }
.redeem svg { color: var(--peach); }
.flash { background: rgba(212,230,214,.7); color: #3d5a43; }
.done-badge { background: var(--aura); box-shadow: 3px 3px 0 var(--lilac); }
.ticket { box-shadow: 5px 5px 0 var(--blush) !important; }
.t-time { color: var(--sage-deep); }
.hero-card::before { background: var(--aura); filter: blur(30px); opacity: .8; }
.dot { background: var(--blush); color: var(--ink); }
.tabs a.on { border-color: var(--lilac); }
.wordmark small { background: rgba(203,182,236,.35); color: var(--sage-deep); }
.switch input:checked + span { background: var(--ink); }
label.check input { accent-color: var(--ink); }
.v-line .wa { background: rgba(212,230,214,.8); color: #3d5a43; }
.general { background: linear-gradient(135deg, rgba(203,182,236,.35), rgba(247,207,184,.35)) !important; }

/* Wildcard-Karte (HTML-Version) */
.wc { --wc-bg: #fffaf4; --wc-ink: #2b2530; }
.wc::before { background: linear-gradient(115deg, #cbb6ec, #f3c3d3 55%, #f7cfb8); }
.wc-label { color: #2b2530; }
.wc-sticker { box-shadow: .5mm .5mm 0 #cbb6ec; }
.wc-demo .wc-sticker { box-shadow: 2px 2px 0 #cbb6ec; }
.wc-star { color: #e7a58c; } .wc-star.s2 { color: #b58ad6; }

/* ===== Handy: App-Navigation unten ===== */
.appnav a { display: inline-flex; align-items: center; gap: 7px; position: relative; }
.appnav svg { width: 18px; height: 18px; flex: none; }
.subnav { display: inline-flex; align-self: flex-start; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.7); border-radius: 99px; padding: 4px; gap: 2px; margin-bottom: 4px; }
.subnav a { padding: 8px 14px; border-radius: 99px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .88rem; white-space: nowrap; }
.subnav a.on { background: var(--ink); color: #fff; }
@media (max-width: 720px) {
  .has-appnav .appnav { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 20; max-width: none; margin: 0;
    justify-content: space-around; gap: 0; padding: 6px; border: 1px solid rgba(255,255,255,.7); border-radius: 24px;
    background: rgba(255,250,245,.82); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 14px 40px -14px rgba(77,66,87,.45); overflow: visible; }
  .has-appnav .appnav a { flex: 1; flex-direction: column; gap: 3px; padding: 8px 2px 6px; border: 0; margin: 0; border-radius: 18px; font-size: .68rem; color: var(--muted); }
  .has-appnav .appnav a svg { width: 22px; height: 22px; }
  .has-appnav .appnav a.on { color: var(--ink); background: linear-gradient(135deg, rgba(203,182,236,.55), rgba(243,195,211,.5)); }
  .has-appnav .appnav .dot { position: absolute; top: 3px; right: calc(50% - 22px); margin: 0; font-size: .6rem; }
  .has-appnav .dash { padding-bottom: 120px; }
  .has-appnav .legal-foot { padding-bottom: 110px; }
  .topbar { padding: 12px 16px; position: sticky; top: 0; z-index: 15; background: rgba(241,233,223,.7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .dash { padding-top: 16px; }
  .dash h2 { font-size: 1.45rem; }
  .card { padding: 18px; border-radius: 20px; }
  .subnav { align-self: stretch; } .subnav a { flex: 1; text-align: center; padding: 8px 6px; }
  .codes { grid-template-columns: 1fr; }
  .photo-grid { gap: 8px; }
  .hero { padding-top: 24px; gap: 28px; }
  .hero h1 { font-size: 2.1rem; }
  .steps { margin-top: 32px; }
  .profile { padding-top: 20px; }
  .p-head h1 { font-size: 2rem; }
  .prompt .a { font-size: 1.75rem; }
  .narrow { padding-top: 32px; }
  .narrow .logo { margin-bottom: 32px; }
}

/* ===== Admin ===== */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.kpi { background: var(--glass); border: 1px solid rgba(255,255,255,.65); border-radius: 20px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.kpi b { font-size: 1.9rem; font-weight: 500; letter-spacing: -.03em; }
.kpi span { font-weight: 500; font-size: .88rem; }
.kpi small { color: var(--muted); font-size: .75rem; }
.urow { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.urow.off { opacity: .55; }
.u-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 260px; }
.u-stats { font-size: .8rem; color: var(--muted); }
.urow form { margin: 0; }
.report-link { font-size: .75rem; color: var(--muted); }
body { background-image:
  radial-gradient(46vmax 40vmax at 95% -6%, rgba(203,182,236,.8), transparent 62%),
  radial-gradient(40vmax 36vmax at -14% 30%, rgba(243,195,211,.7), transparent 62%),
  radial-gradient(44vmax 38vmax at 108% 72%, rgba(247,207,184,.7), transparent 62%),
  radial-gradient(38vmax 32vmax at 8% 112%, rgba(212,230,214,.8), transparent 62%); }
@media (max-width: 800px) { .hero-text .logo { display: inline-flex; margin-bottom: 20px; } .hero-card .wc { transform: rotate(3deg) scale(.8); margin: -30px 0; } }
.admin-entry { display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: var(--ink); background: var(--aura) !important; }
.admin-entry .arrow { font-size: 1.4rem; }

/* ===== Freundeskreis ===== */
.friends { display: flex; flex-direction: column; gap: 4px; }
.friend { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; text-decoration: none; color: var(--ink); flex: 1; min-width: 0; }
a.friend[href]:hover { background: rgba(255,255,255,.55); }
.av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; background: var(--aura); display: grid; place-items: center; font-weight: 600; box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.big { width: 96px; height: 96px; margin: 0 auto 18px; }
.fn { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.fn small { color: var(--muted); }
.friend .arrow { color: var(--muted); }
.friend-row { display: flex; align-items: center; gap: 8px; }
.friend-row form { margin: 0; }
.invite { display: flex; gap: 8px; }
.invite input { font: 500 .85rem var(--mono); }
.teaser { text-align: left; background: var(--aura) !important; }
.teaser .btn { margin-top: 8px; }
.locked { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; }
.locked li::before { content: '🔒 '; }
.preview-bar.soft { background: rgba(255,250,245,.85); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.preview-bar.soft a, .preview-bar a + a { color: inherit; }
.tiny { font-size: .72rem; margin-top: 14px; }

/* ===== Human Design ===== */
.hd { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: start; }
.bodygraph { width: 100%; height: auto; display: block; }
.hd-type { font-family: var(--serif); font-style: italic; font-size: 2rem; line-height: 1.05; margin: 0 0 6px; }
.hd-text { margin: 0 0 14px; }
.hd dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .9rem; }
.hd dt { font: 500 .66rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 3px; }
.hd dd { margin: 0; font-weight: 500; }
.astro hr { border: 0; border-top: 1px dashed var(--line); margin: 26px 0; }
.compat .score { display: inline-flex; align-items: baseline; gap: 8px; background: var(--aura); border-radius: 99px; padding: 8px 18px; margin-bottom: 10px; }
.compat .score b { font-size: 2.2rem; font-weight: 500; letter-spacing: -.03em; }
.compat .score b::after { content: '%'; font-size: 1.2rem; }
.compat .score span { font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.compat h4 { margin: 18px 0 2px; font-size: .98rem; }
.compat p { margin: 4px 0; }
.compat .tag { display: inline-block; margin: 2px 0; text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: .78rem; }
.small-graph { display: flex; gap: 14px; align-items: center; margin: 12px 0; }
.small-graph svg { width: 120px; flex: none; }
.lilac { color: #9a6fc4; font-weight: 600; }
details { margin-top: 16px; } summary { cursor: pointer; font-weight: 500; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; font-size: .85rem; }
.acts div { display: flex; flex-direction: column; gap: 2px; }
.acts i { font-style: normal; font-family: var(--mono); color: var(--sage-deep); float: right; }
@media (max-width: 560px) { .hd { grid-template-columns: 1fr; } .hd-graph { max-width: 200px; margin: 0 auto; } .small-graph svg { width: 96px; } }
@media (max-width: 720px) { .has-appnav .appnav a { font-size: .62rem; } }
