/* Proppenvoll – Prototyp 09: die Seite als Gespräch */
@font-face { font-family: "Bricolage"; src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #2a1533;        /* Aubergine, Text */
  --plum: #4b2366;       /* Buttons, Akzent dunkel */
  --night: #1c0e23;      /* Seitenhintergrund Desktop */
  --tang: #ff7a2f;       /* Mandarine, Deko */
  --tang-soft: #ffe0c7;  /* "Sie"-Blasen */
  --tang-deep: #b23c00;  /* Fokus, kleine Akzente auf hell */
  --cream: #fbf4ea;      /* Gesprächshintergrund */
  --paper: #ffffff;      /* "wir"-Blasen */
  --mint: #d8f3e3;
  --muted: #6a5872;
  --line: #ead9c6;
  --head: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 20px;
  --bar-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
a { color: var(--plum); }
:focus-visible { outline: 3px solid var(--tang-deep); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--plum); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Bühne ---------- */
.stage { min-height: 100vh; }
.side { display: none; }

/* ---------- "Telefon" (auf Mobil = ganze Seite) ---------- */
.phone {
  display: flex; flex-direction: column;
  min-height: 100vh;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12px 12px, rgba(255, 122, 47, .13) 2.2px, transparent 2.6px),
    radial-gradient(circle at 36px 30px, rgba(75, 35, 102, .07) 1.6px, transparent 2px);
  background-size: 48px 48px;
}

.bar {
  position: sticky; top: 0; z-index: 10;
  background: var(--ink); color: #fff;
  padding: 10px 14px 10px;
}
.bar__speaker { display: none; }
.bar__row { display: flex; align-items: center; gap: 12px; max-width: 680px; margin: 0 auto; }
.bar__avatar { width: 42px; height: 42px; flex: none; }
.bar__who { flex: 1; min-width: 0; }
.bar__name { font-family: var(--head); font-weight: 800; font-size: 1.15rem; line-height: 1.1; letter-spacing: -.01em; }
.bar__status { font-size: .78rem; color: #e6d6ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__wa {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--tang); color: var(--ink);
}
.bar__wa svg { width: 22px; height: 22px; }
.bar__wa:focus-visible { outline-color: #ffb27a; }

.log {
  flex: 1;
  width: 100%; max-width: 680px; margin: 0 auto;
  padding: 14px 12px 28px;
  display: flex; flex-direction: column; gap: 6px;
}

.day { text-align: center; margin: 4px 0 10px; }
.day span {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--paper); color: var(--muted); padding: 3px 12px; border-radius: 999px; box-shadow: 0 1px 0 var(--line);
}

/* ---------- Nachrichten ---------- */
.msg { display: flex; scroll-margin-top: calc(var(--bar-h) + 20px); }
.msg.wir { justify-content: flex-start; }
.msg.sie { justify-content: flex-end; margin-top: 14px; }
.msg.sie + .msg.wir { margin-top: 2px; }

.bubble {
  position: relative;
  max-width: min(88%, 520px);
  padding: 10px 14px 22px;
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(42, 21, 51, .08), 0 2px 10px rgba(42, 21, 51, .05);
}
.wir .bubble { border-bottom-left-radius: 6px; }
.sie .bubble {
  background: var(--tang-soft);
  border-bottom-right-radius: 6px;
  font-weight: 600;
}
.bubble p + p { margin-top: .6em; }
.bubble time {
  position: absolute; right: 12px; bottom: 5px;
  font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.sie .bubble time { color: #7a4a2c; }

/* Hero-Blase */
.bubble--hero { padding: 16px 18px 26px; max-width: min(94%, 560px); }
.kicker { font-weight: 600; color: var(--muted); }
h1 {
  font-family: var(--head); font-weight: 800;
  font-size: clamp(2.1rem, 10vw, 3.4rem); line-height: .98; letter-spacing: -.03em;
  margin: .25em 0 .35em;
}
h1 em {
  font-style: normal; display: inline-block;
  background: var(--tang); color: var(--ink);
  padding: 0 .14em .04em; border-radius: .18em;
  transform: rotate(-1.5deg);
}

/* Karten-Blasen */
.bubble--card, .bubble--form, .bubble--media, .bubble--cta { max-width: min(94%, 540px); width: 100%; }
.card__title { font-family: var(--head); font-weight: 800; font-size: 1.25rem; line-height: 1.15; letter-spacing: -.01em; margin-bottom: .55em; }

.card__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.card__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; font-size: .95rem; }
.card__steps b { display: block; font-family: var(--head); font-weight: 700; font-size: 1.05rem; }
.no {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--ink); color: #fff; font-family: var(--head); font-weight: 800; font-size: .95rem;
}
.card__steps li:nth-child(2) .no { background: var(--plum); }
.card__steps li:nth-child(3) .no { background: var(--tang); color: var(--ink); }
.card__steps li:nth-child(4) .no { background: var(--mint); color: var(--ink); }

/* Bilder */
.bubble--media { padding: 6px 6px 24px; }
.bubble--media .caption, .bubble--media .demo { padding: 0 8px; }
.album { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.album li { position: relative; overflow: hidden; border-radius: 6px; }
.album li:first-child { border-top-left-radius: 15px; }
.album li:nth-child(3) { border-top-right-radius: 15px; }
.album img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.album .more span {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(28, 14, 35, .62); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.6rem;
}
.caption { font-size: .95rem; }
.demo { font-size: .75rem; color: var(--muted); margin-top: .35em; }
.bubble--media .demo { margin-top: .35em; }

.formats { display: grid; grid-template-columns: 4fr 2.6fr 7fr; gap: 6px; align-items: end; margin-bottom: 8px; }
.formats figure { margin: 0; }
.formats img { width: 100%; object-fit: cover; border-radius: 8px; }
.f45 img { aspect-ratio: 4 / 5; object-position: 30% 50%; }
.f916 img { aspect-ratio: 9 / 16; object-position: 70% 50%; }
.f169 img { aspect-ratio: 16 / 9; }
.formats figcaption { font-size: .72rem; font-weight: 600; color: var(--muted); margin-top: 3px; }
.formats figure:first-child img { border-top-left-radius: 15px; }
.formats figure:last-child img { border-top-right-radius: 15px; }

/* Branchen */
.tags { list-style: none; margin: .6em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
.bubble--calm { background: #eef4f1; }

/* Preise */
.price { margin: 0; display: grid; gap: 0; }
.price__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.price__row:first-child { border-top: 0; padding-top: 0; }
.price dt { font-weight: 600; }
.price dt small, .price dd small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.price dd { margin: 0; text-align: right; font-family: var(--head); font-weight: 800; font-size: 1.35rem; line-height: 1.1; white-space: nowrap; }
.price__row--main dd { font-size: 1.8rem; }
.price__row--main dd::after {
  content: ""; display: block; height: 6px; margin-top: 2px; border-radius: 3px; background: var(--tang);
}
.fine { font-size: .82rem; color: var(--muted); margin-top: .5em; }

/* Zeitplan */
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 4px 0; }
.timeline li::before {
  content: ""; position: absolute; left: -18px; top: 11px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--plum);
}
.timeline li:last-child::before { background: var(--tang); border-color: var(--tang); }
.timeline span { display: inline-block; min-width: 7.2em; font-weight: 600; color: var(--plum); }

/* Listen */
.need { margin: .5em 0 .6em; padding-left: 1.3em; }
.need li + li { margin-top: .3em; }
.need li::marker { font-family: var(--head); font-weight: 800; color: var(--tang-deep); }
.nope { list-style: none; margin: .5em 0 0; padding: 0; }
.nope li { position: relative; padding-left: 1.6em; }
.nope li + li { margin-top: .35em; }
.nope li::before {
  content: "×"; position: absolute; left: 0; top: -.05em;
  font-family: var(--head); font-weight: 800; font-size: 1.15em; color: var(--tang-deep);
}

.bubble--honest { border: 2px solid var(--ink); }
.honest { font-family: var(--head); font-weight: 800; font-size: 1.3rem; line-height: 1.15; }

.cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cases li { background: var(--ink); color: #fff; border-radius: 14px; padding: 12px; }
.cases b { display: block; font-family: var(--head); font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; }
.cases span { display: block; font-size: .8rem; color: #e6d6ee; }
.cases em { display: inline-block; margin-top: 8px; font-style: normal; font-size: .78rem; font-weight: 600; background: var(--tang); color: var(--ink); padding: 2px 8px; border-radius: 999px; }

/* CTA */
.bubble--cta { background: var(--ink); color: #fff; padding: 16px 16px 26px; }
.bubble--cta time { color: #d9c5e3; }
.cta__h { font-family: var(--head); font-weight: 800; font-size: 1.6rem; line-height: 1.1; letter-spacing: -.02em; margin-bottom: .4em; }
.bubble--cta p + p { margin-top: 0; }
.bubble--cta :focus-visible { outline-color: #ffb27a; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 18px; border-radius: 999px;
  font: 600 1rem/1.2 var(--body); text-decoration: none; text-align: center; cursor: pointer; border: 0;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa { background: var(--tang); color: var(--ink); margin-top: 14px; font-weight: 600; }
.btn--wa:hover { background: #ff9152; }
.btn--ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .45); margin-top: 8px; }
.btn--ghost:hover { border-color: #fff; }
.btn--send { width: 100%; background: var(--plum); color: #fff; margin-top: 6px; }
.btn--send:hover { background: var(--ink); }

/* Formular */
.form { display: grid; gap: 10px; }
.form label { display: grid; gap: 4px; font-size: .88rem; font-weight: 600; }
.form input[type="text"], .form select, .form textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink);
  padding: 10px 12px; border: 1.5px solid #cdb9a4; border-radius: 12px; background: var(--cream);
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { border-color: var(--plum); outline-offset: 1px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .82rem; }
.form .check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--plum); }

/* Tipp-Anzeige */
.typing .bubble { padding: 12px 16px; display: flex; gap: 5px; }
.typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: .5; }

/* Ziel einer Schnellantwort hervorheben */
.msg:target .bubble { box-shadow: 0 0 0 3px var(--tang), 0 2px 10px rgba(42, 21, 51, .1); }

/* ---------- Schnellantworten ---------- */
.composer {
  position: sticky; bottom: 0; z-index: 10;
  background: rgba(251, 244, 234, .94);
  border-top: 1px solid var(--line);
  padding: 8px 0 10px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.composer__label { max-width: 680px; margin: 0 auto 4px; padding: 0 14px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chips {
  list-style: none; margin: 0 auto; padding: 2px 14px 4px; max-width: 680px;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chips li { flex: none; }
.chips a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
  border-radius: 999px; border: 1.5px solid var(--plum); background: var(--paper);
  color: var(--plum); font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap;
}
.chips a:hover { background: var(--tang-soft); }
.chips .chip--go { background: var(--plum); color: #fff; }
.chips .chip--go:hover { background: var(--ink); }

.foot { background: var(--ink); color: #e6d6ee; text-align: center; font-size: .85rem; padding: 16px 14px 20px; display: grid; gap: 4px; }
.foot a { color: #fff; }
.foot :focus-visible { outline-color: #ffb27a; }

/* ---------- Bewegung (nur wenn erwünscht) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .intro { animation: pop .45s cubic-bezier(.2, .8, .3, 1.2) both; }
  .intro:nth-of-type(2) { animation-delay: .35s; }
  .intro:nth-of-type(3) { animation-delay: .7s; }
  .typing span { animation: blink 1.2s infinite ease-in-out; }
  .typing span:nth-child(2) { animation-delay: .15s; }
  .typing span:nth-child(3) { animation-delay: .3s; }
  .msg:target .bubble { animation: ping 1.4s ease-out 1; }
  .chips a, .btn { transition: background-color .15s, border-color .15s; }
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 47, .9); }
  70% { box-shadow: 0 0 0 12px rgba(255, 122, 47, 0); }
  100% { box-shadow: 0 0 0 3px var(--tang); }
}

/* ---------- Tablet ---------- */
@media (min-width: 700px) {
  .log { padding: 22px 20px 36px; gap: 8px; }
  .bubble { max-width: min(80%, 520px); }
}

/* ---------- Desktop: Telefon in der Mitte, Infos links und rechts ---------- */
@media (min-width: 1180px) {
  body {
    background: var(--night);
    background-image: radial-gradient(1200px 600px at 50% -10%, #3b1d4a 0%, transparent 70%);
  }
  .stage {
    display: grid; grid-template-columns: 1fr 440px 1fr; gap: 56px;
    max-width: 1360px; margin: 0 auto; padding: 36px 40px 60px;
    align-items: start;
  }
  .phone {
    min-height: 0;
    border: 12px solid #0f0714; border-radius: 48px;
    box-shadow: 0 0 0 2px #3d2a47, 0 40px 80px rgba(0, 0, 0, .45);
    overflow: clip;
  }
  .bar { padding-top: 26px; }
  .bar__speaker { display: block; position: absolute; top: 9px; left: 50%; width: 86px; height: 8px; margin-left: -43px; border-radius: 6px; background: #0f0714; }
  .log { padding: 18px 14px 30px; }
  .bubble { max-width: 86%; }
  .bubble--card, .bubble--form, .bubble--media, .bubble--cta, .bubble--hero { max-width: 94%; }
  h1 { font-size: 3rem; }

  .side {
    display: block; position: sticky; top: 36px;
    color: #f1e6f5; padding-top: 24px;
  }
  .side--left { justify-self: end; max-width: 340px; }
  .side--right { justify-self: start; max-width: 320px; }
  .side :focus-visible { outline-color: #ffb27a; }
  .side__brand { margin-bottom: 30px; }
  .logo { width: 64px; height: 64px; margin-bottom: 12px; }
  .side__name { font-family: var(--head); font-weight: 800; font-size: 2.5rem; line-height: 1; letter-spacing: -.03em; color: #fff; }
  .side__slogan { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: #ffb27a; margin-top: 6px; }
  .side__h { font-family: var(--head); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #ffb27a; margin: 28px 0 10px; }
  .steps, .weeks, .side__list { list-style: none; margin: 0; padding: 0; }
  .steps li { padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; color: #d9c8e2; }
  .steps b { display: block; font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: #fff; }
  .weeks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .weeks li { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 8px 10px; font-size: .86rem; color: #e6d6ee; }
  .weeks span { display: block; font-family: var(--head); font-weight: 800; color: #fff; }
  .mini { margin: 0; }
  .mini div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .mini dt { font-size: .92rem; color: #d9c8e2; }
  .mini dd { margin: 0; font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: #fff; white-space: nowrap; }
  .side__fine { font-size: .8rem; color: #c6b2d1; margin-top: 4px; }
  .side__list li { position: relative; padding: 6px 0 6px 22px; font-size: .92rem; color: #e6d6ee; }
  .side__list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 10px; border-radius: 3px; background: var(--tang); }
  .side__promise { margin-top: 26px; padding: 14px 16px; border: 2px solid #ffb27a; border-radius: 16px 16px 16px 4px; font-family: var(--head); font-weight: 800; font-size: 1.15rem; line-height: 1.2; color: #fff; }
  .btn--side { margin-top: 18px; }
}
