/* =========================================================
   Die Behandler – Übungsplattform (Clickdemo)
   Design-System / Basis-Styles
   Spätere Wiederverwendung als Blade-Frontend.
   ========================================================= */

:root {
  /* Farben – CI „Die Behandler" (Pastell + Petrol + Grün) */
  --bg:           #FBFAF7;   /* warmes Off-White */
  --surface:      #FFFFFF;
  --surface-2:    #F1F0EB;
  --primary:      #1E4B47;   /* dunkles Petrol/Teal – Buttons, Footer */
  --primary-dark: #143430;
  --primary-soft: #E3ECEA;
  --accent:       #5AA46A;   /* Grün – Akzent/Pin */
  --text:         #1F2A2E;
  --text-muted:   #5E6B6E;
  --border:       #E6E6DF;
  --success:      #5AA46A;
  --success-soft: #E6F1E7;
  /* Pastell-Sektionen aus der CI */
  --blush:        #F6E2DC;
  --sky:          #DCE7F0;
  --mint:         #E3EDDD;

  /* Form */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16,40,34,.06), 0 1px 3px rgba(16,40,34,.07);
  --shadow-md: 0 6px 18px rgba(16,40,34,.10);
  --shadow-lg: 0 16px 40px rgba(16,40,34,.16);

  --maxw: 1080px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Layout */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 48px; }
.stack > * + * { margin-top: 16px; }

/* Typografie */
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
}
.muted { color: var(--text-muted); }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 52ch; }

/* Pills / Tags */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 600;
  background: var(--primary-soft); color: var(--primary-dark);
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  font-size: .8rem; font-weight: 500;
  background: var(--surface-2); color: var(--text-muted);
  border: 1px solid var(--border);
}
.tag--active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  min-height: 50px;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn--block { width: 100%; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card--pad { padding: 24px; }

/* Auswahl-Karten (Startseite) */
.choice-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 36px; }
@media (min-width: 760px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}
.choice:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.choice__icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-dark);
}
.choice__meta { font-size: .85rem; color: var(--text-muted); margin-top: auto; }
.choice__cta { color: var(--primary-dark); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }

/* Telefon-Rahmen (Patienten-Ansicht) */
.phone {
  width: 390px; max-width: 100%;
  margin-inline: auto;
  background: var(--surface);
  border-radius: 38px;
  box-shadow: var(--shadow-lg);
  border: 10px solid #11201C;
  overflow: hidden;
  min-height: 780px;
}

/* Play-Overlay für Übungsbilder (suggeriert Video) */
.thumb { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__play {
  position: absolute; inset: 0; margin: auto;
  width: 54px; height: 54px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--primary-dark);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.thumb__dur {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(17,32,28,.78); color: #fff;
  font-size: .72rem; font-weight: 600;
  padding: 2px 8px; border-radius: 6px;
}

/* Fortschritt */
.progress { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress__bar { height: 100%; background: var(--primary); border-radius: 999px; }

/* Done-Häkchen */
.check {
  width: 30px; height: 30px; border-radius: 999px;
  border: 2px solid var(--border);
  display: grid; place-items: center; color: transparent;
  transition: all .15s ease; flex: none;
}
.check--done { background: var(--success); border-color: var(--success); color: #fff; }

/* Demo-Hinweisleiste */
.demo-banner {
  background: #11201C; color: #cfe6df;
  font-size: .8rem; text-align: center; padding: 8px 16px;
}
.demo-banner strong { color: #fff; }

/* Footer */
.foot { text-align: center; color: var(--text-muted); font-size: .85rem; padding-block: 32px; }
