/* physiopraxis.online – Website. Farben wie in der App, damit Website und App zusammengehören. */
:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-2: #eef1ed;
  --border: #dde2dc;
  --text: #1d2a26;
  --muted: #5d6b66;
  --primary: #1f6f5c;
  --primary-hover: #185a4a;
  --primary-soft: #e3f1ec;
  --accent: #c2410c;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px rgb(0 0 0 / 0.06);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--primary); }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
section { padding: 72px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--border); }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 10; background: rgb(246 247 245 / 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); text-decoration: none; font-size: 1.05rem; }
.brand small { font-weight: 500; color: var(--muted); }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.top nav a:hover { color: var(--primary); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 650; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 0.92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Einstieg */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 0.9rem; color: var(--muted); }
.trust span::before { content: '✓ '; color: var(--primary); font-weight: 700; }

/* Handy-Ansicht aus Bausteinen statt Screenshot */
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: #1d2a26; border-radius: 38px; padding: 12px; box-shadow: 0 30px 60px rgb(29 42 38 / 0.25); }
.screen { background: var(--bg); border-radius: 28px; overflow: hidden; }
.screen .bar { background: var(--surface); padding: 14px 16px 10px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 0.95rem; display: flex; justify-content: space-between; }
.screen .bar span { color: var(--muted); font-weight: 500; }
.slot { margin: 10px 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border-left: 4px solid var(--primary); font-size: 0.85rem; box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); }
.slot b { display: block; font-size: 0.92rem; }
.slot.home { border-left-color: #2563eb; }
.slot.done { border-left-color: #94a3b8; opacity: 0.75; }
.slot .tag { display: inline-block; margin-top: 4px; font-size: 0.72rem; padding: 1px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.screen .fab { margin: 14px auto 16px; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.5rem; }

/* Funktionen */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
section.alt .card { background: var(--bg); box-shadow: none; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.card li { margin: 4px 0; }

/* Verordnung: drei Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; counter-reset: step; }
.step { position: relative; padding: 24px 24px 24px 72px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; }

/* Datenschutz */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-soft);
  box-shadow: inset 0 0 0 6px var(--primary-soft), inset 0 0 0 10px var(--primary); }

/* Preise */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.price .card.highlight { border: 2px solid var(--primary); }
.price .amount { font-size: 1.6rem; font-weight: 800; margin: 6px 0 12px; }

/* Fragen */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 650; list-style: none; }
details summary::after { content: '+'; float: right; color: var(--primary); font-weight: 800; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Anfrage */
form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
input, textarea, select { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); }
input:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.notice.ok { background: var(--primary-soft); color: var(--primary); }
.notice.err { background: #fbe9e7; color: #b4372f; }

/* Fuß */
footer { padding: 36px 0 48px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer a { color: var(--muted); }
footer .grow { flex: 1; }

/* Unterseiten (Impressum, Datenschutz) */
.doc { max-width: 760px; padding: 48px 20px 72px; margin: 0 auto; }
.doc h2 { font-size: 1.25rem; margin-top: 2rem; }
.todo { background: #fdf3dc; color: #8a5a00; padding: 2px 6px; border-radius: 6px; font-weight: 600; }

@media (max-width: 860px) {
  .hero .wrap, .split, .price { grid-template-columns: 1fr; }
  .grid, .steps { grid-template-columns: 1fr; }
  .top nav { display: none; }
  section { padding: 56px 0; }
  .hero { padding-top: 40px; }
  .row2 { grid-template-columns: 1fr; }
}
