/* Telefonie & KI-Notiz – nur Komposition und Mockups dieser Seite (Komponenten stehen in site.css).
   Präfix tk- = seitenlokal. Mobile-first, Breakpoints wie site.css: 30em · 48em · 56.25em · 68.75em · 80em */

/* ---------- Hero: links Botschaft, rechts Anruf-Erkennung → KI-Gesprächsnotiz ---------- */
.tk-hero { padding-top: clamp(1.75rem, 4vw, 3.25rem); }
.tk-hero-grid { display: grid; gap: var(--sp-8); }
.tk-hero .hero-copy { gap: 22px; }
.tk-hero .h1 { font-size: clamp(2.25rem, 1rem + 3.2vw, 3.875rem); max-width: 17ch; }
.tk-stand { font-size: var(--fs-sm); color: var(--text-3); }
.tk-stage { display: grid; width: 100%; max-width: 36rem; }
.tk-stage-toast, .tk-stage-note { width: 100%; min-width: 0; }
.tk-stage-toast { position: relative; z-index: 2; }
.tk-stage-link {
  display: flex; align-items: center; gap: 10px; padding: 10px 0 10px 26px;
  font: 500 var(--fs-xs)/1.2 var(--ff-display); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
}
.tk-stage-link::before { content: ""; width: 1px; height: 26px; background: var(--grad); flex: none; }
.tk-stage .mock-cap { margin-top: 14px; }
/* Handy: Notiz im Hero kompakter – alle sechs Felder stehen weiter unten im Abschnitt „Was in der KI-Notiz steht“ */
@media (max-width: 47.99em) {
  .tk-stage .ki-fields > span:nth-child(2), .tk-stage .ki-fields > span:nth-child(3), .tk-stage .ki-fields > span:nth-child(4) { display: none; }
}
@media (min-width: 48em) {
  .tk-stage-toast { width: 88%; }
  .tk-stage-note { width: 94%; justify-self: end; }
}
/* 768–1023 px (Tablet hochkant): einspaltig – Bühne mittig statt links mit leerer rechter Hälfte */
@media (min-width: 48em) and (max-width: 63.99em) { .tk-stage { justify-self: center; } }
/* ab 1024 px (Tablet quer, kleine Laptops) zweispaltig. Eigener Wechselpunkt 64em statt 56.25em:
   darunter bricht der Hero-Button in der Textspalte zweizeilig um und der Anruf-Toast wird zu eng (geprüft bei 900 px). */
@media (min-width: 64em) {
  .tk-hero-grid { grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); column-gap: clamp(2rem, 4.5vw, 4.5rem); align-items: start; }
  .tk-hero .hero-copy { padding-top: 8px; padding-right: 16px; }
  .tk-stage { justify-self: end; padding-top: 4px; }
}
/* 1024–1099 px: schmale Spalten – H1 kleiner, Bühne ohne Versatz in voller Spaltenbreite */
@media (min-width: 64em) and (max-width: 68.74em) {
  .tk-hero .h1 { font-size: 2.5rem; }
  .tk-hero .hero-copy { padding-right: 0; }
  .tk-stage-toast, .tk-stage-note { width: 100%; }
}
/* 1100–1279 px: schmalere Textspalte – H1 kleiner, damit „den Wohnungsvertrieb“ in einer Zeile bleibt */
@media (min-width: 68.75em) and (max-width: 79.99em) { .tk-hero .h1 { font-size: 2.875rem; } }

/* Überschriften in Zeilen und Abschnitten dieser Seite: etwas kleiner als .h2 (lange Fachwörter) */
.tk-h2 { font-size: clamp(1.875rem, 1.2rem + 2.1vw, 3.125rem); max-width: 18ch; }
@media (min-width: 56.25em) and (max-width: 68.74em) { .row .tk-h2 { font-size: 2.125rem; } }

/* ---------- Mockup: KI-Gesprächsnotiz (Detail) ---------- */
.tk-note-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 12px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.tk-note-head .tag { grid-column: 1 / -1; justify-self: start; }
.tk-note-name { font: 500 .9375rem/1.3 var(--ff-display); color: var(--text); letter-spacing: -.005em; }
.tk-note-meta { font-size: var(--fs-micro); color: var(--text-3); margin-top: 2px; }
.tk-note-fields { padding: 14px 16px; background: linear-gradient(180deg, rgba(99, 102, 241, .08), rgba(99, 102, 241, 0)); }
.tk-note-foot { display: grid; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid var(--line); background: rgba(34, 211, 238, .03); }
.tk-note-foot > span { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--text-2); }
.tk-note-foot .ico { width: 14px; height: 14px; color: var(--accent); }
@media (min-width: 30em) {
  .tk-note-head { grid-template-columns: auto minmax(0, 1fr) auto; }
  .tk-note-head .tag { grid-column: auto; }
  .tk-note .ki-fields > span { grid-template-columns: 124px minmax(0, 1fr); }
}

/* ---------- Mockup: Telefonanlage mit Anrufer-Erkennung ---------- */
.tk-phone-body {
  display: grid; justify-items: center; gap: 4px; padding: 22px 16px 16px; text-align: center;
  background: radial-gradient(closest-side, rgba(34, 211, 238, .09), transparent) center 40% / 90% 140% no-repeat;
}
.tk-phone-k { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; font-size: var(--fs-micro); color: var(--text-3); letter-spacing: .02em; }
.tk-phone-name { margin-top: 8px; font: 400 1.75rem/1.15 var(--ff-display); letter-spacing: -.03em; color: var(--text); }
.tk-phone-sub { font-size: .75rem; color: var(--text-2); }
.tk-phone-src {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 10px; border-radius: var(--r-pill);
  font-size: var(--fs-micro); color: var(--accent-soft); border: 1px solid rgba(34, 211, 238, .32); background: rgba(34, 211, 238, .06);
}
.tk-phone-src .ico { width: 12px; height: 12px; }
.tk-phone-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 16px; }
.tk-phone-btns .mbtn { justify-content: center; }
.tk-mbtn-ok { color: var(--ok); border-color: rgba(134, 239, 172, .4); background: rgba(134, 239, 172, .08); }

/* ---------- Mockup: Lead-Verlauf mit Anrufen, WhatsApp, Nebenstellen-Filter ---------- */
.tk-hist-list { display: grid; }
.tk-ev { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tk-ev:last-child { border-bottom: 0; }
.tk-ev.is-focus { background: rgba(34, 211, 238, .05); box-shadow: inset 2px 0 0 var(--accent); }
.tk-ev-txt { display: grid; justify-items: start; gap: 3px; min-width: 0; }
.tk-ev-t { font-size: .8125rem; font-weight: 500; color: var(--text); }
.tk-ev-d { font-size: .75rem; color: var(--text-2); }
.tk-ev .tag { margin-top: 4px; }
.tk-ev-m { padding-top: 2px; font-size: var(--fs-micro); color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tk-hist-foot { display: grid; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid var(--line); background: rgba(10, 13, 20, .35); }
.tk-nst { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-chip-off { border-style: dashed; color: var(--text-3); }

/* Zusammenspiel Telefonanlage → Lead-Verlauf */
.tk-duo { display: grid; }
.tk-duo-phone, .tk-duo-hist { width: 100%; min-width: 0; }
.tk-duo-link {
  display: flex; align-items: center; gap: 10px; padding: 10px 0 10px 26px;
  font: 500 var(--fs-xs)/1.2 var(--ff-display); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
}
.tk-duo-link::before { content: ""; width: 1px; height: 26px; background: var(--grad); flex: none; }
@media (min-width: 48em) {
  .tk-duo-phone { width: 64%; }
  .tk-duo-hist { width: 88%; justify-self: end; }
}

/* ---------- „Aus der Praxis“ (Ich-Form, kein Zitat-Look) ---------- */
.tk-practice { margin-top: var(--sp-2); }
.tk-practice .od-mark { width: 40px; height: 40px; }
.tk-practice .tk-practice-k { margin-bottom: 6px; font: 500 var(--fs-xs)/1.2 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

.tk-tasks, .tk-ask { width: 100%; max-width: 32rem; justify-self: center; }
.tk-vis { display: grid; gap: var(--sp-6); justify-items: center; min-width: 0; }
.tk-vis .tk-practice { width: 100%; max-width: 32rem; margin-top: 0; }

/* ---------- Aufzeichnung: Hinweisbox ---------- */
.tk-consent {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: var(--sp-5);
  padding: clamp(1.5rem, 3.4vw, 2.75rem); border-radius: 22px; border: 1px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box;
}
.tk-consent::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -50%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(99, 102, 241, .13), transparent 70%); pointer-events: none; }
.tk-consent-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-lg); color: var(--accent); background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .35); }
.tk-consent-ico .ico { width: 26px; height: 26px; }
.tk-consent-body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); min-width: 0; }
.tk-consent-k { font: 500 var(--fs-xs)/1.2 var(--ff-display); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.tk-consent-t { font: 300 clamp(1.0625rem, .95rem + .7vw, 1.5rem)/1.5 var(--ff-display); letter-spacing: -.01em; color: var(--text); max-width: 54rem; text-wrap: pretty; }
@media (min-width: 48em) { .tk-consent { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--sp-6); } }

/* Weg einer Aufnahme (senkrechte Schritte) + Aufnahme-Mockup */
.tk-rec-grid { display: grid; gap: var(--sp-8); margin-top: clamp(3rem, 6vw, 5rem); align-items: start; }
.tk-rec-fig { width: 100%; max-width: 32rem; justify-self: center; }
@media (min-width: 56.25em) {
  .tk-rec-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(2rem, 5vw, 5rem); }
  .tk-rec-fig { justify-self: end; }
}
.tk-flow { width: 100%; border-top: 1px solid var(--line); }
.tk-flow li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tk-flow-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 500 .8125rem/1 var(--ff-display); color: var(--c-ink-950); background: var(--grad-btn); }
.tk-flow-t { margin-bottom: 4px; font: 500 1.0625rem/1.3 var(--ff-display); color: var(--text); }
.tk-flow li p + p { font-size: .9375rem; line-height: 1.55; color: var(--text-2); }

/* ---------- Mockup: Aufnahme mit Rechte-Stufe, Löschfrist, Zugriffsprotokoll ---------- */
.tk-rec-top { display: grid; justify-items: start; gap: 12px; padding: 14px 16px 6px; }
.tk-player { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; width: 100%; }
.tk-play { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--accent); border: 1px solid rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .08); }
.tk-play .ico { width: 13px; height: 13px; }
.tk-wave { display: flex; align-items: center; justify-content: space-between; height: 32px; min-width: 0; overflow: hidden; }
.tk-wave i { flex: none; width: 3px; height: 26%; border-radius: 2px; background: var(--grad-bar); opacity: .7; }
.tk-wave i:nth-child(4n + 1) { height: 46%; }
.tk-wave i:nth-child(3n) { height: 70%; }
.tk-wave i:nth-child(5n) { height: 92%; }
.tk-wave i:nth-child(7n) { height: 58%; }
.tk-wave i:nth-child(n + 15) { opacity: .3; }
.tk-rec .stat { grid-template-columns: auto minmax(0, 1fr); }
.tk-rec .stat .ico { color: var(--accent); }
.tk-rec .stat-v { grid-column: 2; font-size: .75rem; }
@media (min-width: 30em) {
  .tk-rec .stat { grid-template-columns: auto minmax(0, 1fr) auto; }
  .tk-rec .stat-v { grid-column: auto; text-align: right; }
}
.tk-rec-del { display: grid; gap: 6px; padding: 0 16px 14px; }
.tk-rec-bar { position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.tk-rec-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); min-width: 6px; border-radius: 3px; background: var(--grad); }
.tk-rec-del-l { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; font-size: var(--fs-micro); color: var(--text-3); }
.tk-log { display: grid; padding: 12px 16px 14px; border-top: 1px solid var(--line); background: rgba(10, 13, 20, .35); }
.tk-log > .k { margin-bottom: 4px; }
.tk-log-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line-2); font-size: .75rem; color: var(--text-2); }
.tk-log-row:last-child { border-bottom: 0; }
.tk-log-m { color: var(--text-3); font-variant-numeric: tabular-nums; }
.tk-log-w { display: flex; align-items: center; color: var(--text); min-width: 0; }
.tk-log-a { grid-column: 2; color: var(--accent-soft); }
@media (min-width: 30em) {
  .tk-log-row { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .tk-log-a { grid-column: auto; text-align: right; }
}

/* ---------- Was in der KI-Notiz steht: sechs Felder ---------- */
.tk-anatomy { border-bottom: 1px solid var(--line); }
.tk-anatomy li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.tk-an-n { font: 300 2rem/1 var(--ff-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.tk-an-t { margin-bottom: 6px; font: var(--fw-display) clamp(1.25rem, 1.1rem + .6vw, 1.625rem)/1.2 var(--ff-display); letter-spacing: -.02em; color: var(--text); }
.tk-anatomy p { font-size: 1rem; line-height: 1.6; }
.tk-an-ex { position: relative; margin-top: 12px; padding-left: 16px; font-style: italic; color: var(--text); }
.tk-an-ex::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 1px; background: var(--grad); }
.tk-an-ex span { display: block; margin-bottom: 2px; font: 500 var(--fs-xs)/1.3 var(--ff-display); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
@media (min-width: 56.25em) {
  .tk-anatomy li { grid-template-columns: 80px minmax(0, 1fr); padding: 26px 0; }
  .tk-an-n { font-size: 2.75rem; }
}

/* ---------- Feedback zur Gesprächsqualität ---------- */
.tk-feedback { display: grid; gap: var(--sp-8); }
.tk-fb-for { display: grid; gap: 8px; max-width: 34rem; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.6; color: var(--text-2); }
.tk-fb-for-k { font: 500 var(--fs-xs)/1.2 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.tk-rules-box { min-width: 0; }
.tk-rules-h { margin-bottom: 14px; font: 500 var(--fs-xs)/1.2 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.tk-rules { border-top: 1px solid var(--line-2); }
.tk-rules li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tk-rules-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--line-2); color: var(--accent); background: rgba(255, 255, 255, .015); }
.tk-rules-t { margin-bottom: 6px; font: 500 1.125rem/1.3 var(--ff-display); color: var(--text); }
.tk-rules li p + p { font-size: 1rem; line-height: 1.6; }
@media (min-width: 56.25em) { .tk-feedback { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; } }

/* ---------- Voraussetzungen ---------- */
.tk-req { display: grid; gap: 16px; }
.tk-req-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(1.5rem, 2.6vw, 2.25rem); border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .012); }
.tk-req-card-rs { border-color: transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; }
.tk-req-k { font: 500 var(--fs-xs)/1.2 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.tk-req-t { font: var(--fw-display) clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--ff-display); letter-spacing: -.025em; color: var(--text); }
.tk-req-card .ticks { margin-top: 4px; }
.tk-req-card .link-arrow { margin-top: auto; }
.tk-req-note { margin-top: 20px; max-width: 48rem; font-size: var(--fs-sm); color: var(--text-3); }
@media (min-width: 56.25em) { .tk-req { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }

/* Baustein-Navigation: gemeinsamer Baustein partials/baustein-nav.html, Stile .bnav in site.css (keine seitenlokalen Stile mehr). */
