:root {
  --gruen: #1f7a5a;
  --gruen-hell: #dff3e8;
  --text: #141414;
  --grau: #6b6b6b;
  --linie: #ececec;
  --bg: #ffffff;
  --karte: #ffffff;
  --schatten: 0 10px 30px rgba(0, 0, 0, .10);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.45 var(--sans); }
body { min-height: 100dvh; }
main { max-width: 480px; margin: 0 auto; padding: 8px 16px 48px; }

.kopf { display: flex; align-items: center; gap: 10px; max-width: 480px; margin: 0 auto; padding: 14px 16px; }
.logo { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1d3a57; color: #fff; font: 600 13px var(--sans); }
.logo.klein { width: 30px; height: 30px; font-size: 12px; }
.firma { font-weight: 600; }

.schritt { display: none; }
.schritt.aktiv { display: block; animation: rein .35s ease; }
@keyframes rein { from { opacity: 0; transform: translateY(8px); } }
.versteckt { display: none !important; }

.dachzeile { color: var(--gruen); font-weight: 600; margin: 28px 0 4px; }
h1 { font: 700 38px/1.1 var(--serif); margin: 0 0 12px; letter-spacing: -.01em; }
.unter { color: var(--grau); margin: 0 0 28px; font-size: 17px; }

.knopf { display: block; text-align: center; padding: 16px; border-radius: 14px; font-weight: 600; cursor: pointer; margin-bottom: 10px; }
.knopf.haupt { background: var(--gruen); color: #fff; font-size: 17px; }
.knopf.leise { background: #f3f3f3; }
.link { background: none; border: 0; color: var(--gruen); font: 500 15px var(--sans); padding: 10px 0; cursor: pointer; text-decoration: underline; }
.hinweis { color: var(--grau); font-size: 13px; margin-top: 18px; }

/* Bild mit Preisschildern */
.bildkarte { position: relative; margin-top: 8px; border-radius: 18px; overflow: hidden; box-shadow: var(--schatten); background: #eee; }
.bildkarte img { display: block; width: 100%; max-height: 62dvh; object-fit: cover; }
.scan { position: absolute; left: 0; right: 0; height: 3px; background: var(--gruen); box-shadow: 0 0 18px 4px rgba(31, 122, 90, .55); top: 0; animation: scan 1.8s ease-in-out infinite alternate; }
@keyframes scan { to { top: calc(100% - 3px); } }
.fertig .scan { display: none; }
.uhr { position: absolute; top: 12px; right: 12px; background: var(--gruen); color: #fff; font: 600 15px var(--sans); padding: 6px 14px; border-radius: 999px; font-variant-numeric: tabular-nums; }

.schild { position: absolute; transform: translate(-50%, -50%) scale(.6); opacity: 0; background: #fff; color: var(--text); border-radius: 999px; padding: 7px 12px 7px 10px; font: 600 13px var(--sans); white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); display: flex; align-items: center; gap: 7px; transition: transform .35s cubic-bezier(.2, 1.4, .4, 1), opacity .25s; }
.schild::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); flex: none; }
.schild.da { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.schild.wahrscheinlich { background: var(--gruen); color: #fff; }
.schild.wahrscheinlich::before { background: #fff; }
.schild.moeglich { border: 1.5px dashed var(--gruen); }
.schild b { font-weight: 500; color: inherit; opacity: .85; }

/* Frage während der Analyse */
.frage { margin-top: 20px; padding: 16px; border-radius: 16px; background: #f6f7f6; }
.frage p { margin: 0 0 6px; }
.frage-titel { color: var(--gruen); font-weight: 600; font-size: 14px; }
.regler { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.regler input { flex: 1; accent-color: var(--gruen); height: 28px; }
.regler output { font: 700 20px var(--serif); min-width: 56px; text-align: right; }

/* Preis */
.preis { text-align: center; margin: 26px 0 8px; animation: rein .4s ease; }
.preis-titel { color: var(--grau); margin: 0; }
.preis-zahl { font: 700 44px/1.15 var(--serif); margin: 4px 0 8px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.preis-grund { font: 500 19px/1.35 var(--serif); margin: 0 0 10px; }
.kleingedruckt { color: var(--grau); font-size: 12.5px; margin: 0; }

/* Chat */
.chat { margin-top: 26px; animation: rein .4s ease; }
.absender { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.absender small { display: block; color: #19a35b; font-size: 12.5px; }
.blase { max-width: 85%; padding: 11px 14px; border-radius: 18px; margin: 6px 0; box-shadow: 0 4px 14px rgba(0, 0, 0, .07); animation: rein .3s ease; font-size: 16px; }
.blase.betrieb { background: #f1f1f1; border-bottom-left-radius: 6px; }
.blase.kunde { background: #d9fdd3; margin-left: auto; border-bottom-right-radius: 6px; }
.blase .zeit { display: block; text-align: right; color: #8a8a8a; font-size: 11px; margin-top: 2px; }
.tippt { display: inline-flex; gap: 4px; padding: 14px 16px; }
.tippt i { width: 7px; height: 7px; border-radius: 50%; background: #9a9a9a; animation: tipp 1s infinite; }
.tippt i:nth-child(2) { animation-delay: .15s; }
.tippt i:nth-child(3) { animation-delay: .3s; }
@keyframes tipp { 50% { opacity: .3; transform: translateY(-3px); } }

.eingabe, .lead { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.eingabe input, .lead input { flex: 1; min-width: 0; font: 16px var(--sans); padding: 13px 14px; border: 1.5px solid var(--linie); border-radius: 12px; }
.eingabe input:focus, .lead input:focus { outline: none; border-color: var(--gruen); }
.euro { align-self: center; font-weight: 600; }
.eingabe button, .lead button { background: var(--gruen); color: #fff; border: 0; border-radius: 12px; padding: 0 18px; font: 600 16px var(--sans); cursor: pointer; }
.lead { flex-direction: column; }
.lead button { padding: 14px; }
#neu { display: block; margin: 24px auto 0; }
