/* =================================================================
   telefon.css — eigene Bausteine der Seite telefon.php (Talk)
   Akzent Grün: #15803d (Kontrast auf Weiß 5,0:1), Text #166534 (7,1:1).
   Nachbarfarbe für Links: Meet & Connect Violett (t-mt).
   Alles unter #container, nur logische Eigenschaften (RTL-tauglich).
   ================================================================= */
#container { --tk: #15803d; --tk-t: #166534; --tk-l: #f0fdf4; --tk-b: #bbf7d0; }
#container .t-tk { --c: #15803d; --ct: #166534; --cl: #f0fdf4; --cb: #bbf7d0; }
#container .t-mt { --c: #6d28d9; --ct: #5b21b6; --cl: #f5f3ff; --cb: #ddd6fe; }
#container .tk-t { color: var(--tk-t); }
#container .tk-acc { color: var(--tk); }
#container .tk-ic { background: var(--tk-l) !important; color: var(--tk) !important; }
#container .tk-h4 { font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 1.02rem; margin-bottom: 3px; line-height: 1.3; }
#container .hero h1 { overflow-wrap: break-word; hyphens: auto; }

/* ---------- Telefon: Talk-App ---------- */
#container .tk-hv { position: relative; padding-block: 10px 30px; display: flex; justify-content: center; }
#container .tk-phone .vk-phone-scr { background: #fff; }
#container .tk-av { width: 34px; height: 34px; border-radius: 50%; background: var(--a); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.68rem; flex-shrink: 0; }
#container .tk-ring { margin: 38px 10px 6px; background: #111827; color: #fff; border-radius: 18px; padding: 12px; display: grid; gap: 8px; box-shadow: 0 12px 28px rgba(0,0,0,0.25); animation: tk-pop 3.2s ease-in-out infinite; }
#container .tk-ring small { font-size: 0.58rem; color: rgba(255,255,255,0.65); }
#container .tk-ring .who { display: flex; align-items: center; gap: 9px; }
#container .tk-ring .who b { font-size: 0.86rem; font-weight: 600; }
#container .tk-ring .btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
#container .tk-ring .btns span { display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 9px; padding: 6px 2px; font-size: 0.56rem; font-weight: 600; white-space: nowrap; overflow: hidden; }
#container .tk-ring .no { background: #dc2626; } #container .tk-ring .vid { background: rgba(255,255,255,0.14); } #container .tk-ring .yes { background: #16a34a; }
@keyframes tk-pop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
#container .tk-app-head { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 14px 6px; }
#container .tk-app-head.top { padding-top: 44px; }
#container .tk-app-head b { font-family: 'Roboto Serif', serif; font-weight: 600; font-size: 1.2rem; color: #1d1d1f; }
#container .tk-app-head span { font-size: 0.66rem; color: var(--tk); font-weight: 500; }
#container .tk-seg { display: flex; margin: 2px 14px 6px; background: #f1f2f5; border-radius: 9px; padding: 3px; font-size: 0.62rem; }
#container .tk-seg span { flex: 1; text-align: center; padding: 4px; border-radius: 7px; color: #515154; }
#container .tk-seg span.on { background: #fff; color: #1d1d1f; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
#container .tk-list { flex: 1; padding: 0 10px; display: grid; align-content: start; }
#container .tk-li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 8px 4px; border-bottom: 1px solid #f2f2f5; font-size: 0.7rem; }
#container .tk-li b { display: block; font-weight: 600; color: #1d1d1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#container .tk-li small { display: block; font-size: 0.6rem; color: #86868b; }
#container .tk-li.miss b, #container .tk-li.miss small { color: #b91c1c; }
#container .tk-li em { font-style: normal; font-size: 0.6rem; color: #86868b; }
#container .tk-li .act { width: 30px; height: 30px; border-radius: 50%; background: var(--tk-l); color: var(--tk); display: flex; align-items: center; justify-content: center; }
#container .tk-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #ececf0; padding: 8px 4px 14px; background: #fafafb; }
#container .tk-tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 0.54rem; color: #86868b; }
#container .tk-tabs span.on { color: var(--tk); font-weight: 600; }
#container .tk-toast-a { inset-inline-start: 0; bottom: 6%; }

/* Gespräch */
#container .tk-call { background: linear-gradient(180deg, #14532d 0%, #052e16 100%) !important; color: #fff; align-items: center; padding: 50px 14px 22px; }
#container .tk-call .art { font-size: 0.62rem; color: rgba(255,255,255,0.6); }
#container .tk-call .big { margin: 30px 0 12px; }
#container .tk-call .big .tk-av { width: 96px; height: 96px; font-size: 1.6rem; box-shadow: 0 0 0 10px rgba(255,255,255,0.06), 0 0 0 22px rgba(255,255,255,0.03); }
#container .tk-call .name { font-size: 1.1rem; font-weight: 600; }
#container .tk-call .uhr { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-top: 2px; font-variant-numeric: tabular-nums; }
#container .tk-call .ctl { margin-top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; width: 100%; }
#container .tk-call .ctl span { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 0.56rem; color: rgba(255,255,255,0.8); }
#container .tk-call .ctl i { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; }
#container .tk-call .ctl .end i { background: #dc2626; }

/* ---------- Klingeln ---------- */
#container .tk-top { border-top: 3px solid var(--tk); }
#container .tk-st { list-style: none; margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#container .tk-st li { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 9px 11px; font-size: 0.84rem; color: rgba(255,255,255,0.88); min-width: 0; }
#container .tk-st i { width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; flex-shrink: 0; }
#container .tk-st .s-klingelt i { background: #fbbf24; } #container .tk-st .s-angenommen i { background: #4ade80; }
#container .tk-st .s-besetzt i, #container .tk-st .s-abgelehnt i { background: #f87171; }

/* ---------- Gespräch (dunkel) ---------- */
#container .tk-dark { background: #052e16; }
#container .tk-dark h2 { color: #fff; }
#container .tk-dark .section-intro p { color: rgba(255,255,255,0.68); }
#container .tk-t2 { color: #86efac; }
#container .tk-feats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
#container .tk-feat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 20px; padding: 22px; }
#container .tk-feat .fi { width: 42px; height: 42px; border-radius: 12px; background: rgba(134,239,172,0.13); color: #86efac; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
#container .tk-feat h3 { color: #fff; font-size: 1.08rem; margin-bottom: 6px; }
#container .tk-feat p { color: rgba(255,255,255,0.64); font-size: 0.88rem; }

/* ---------- Rechte ---------- */
#container .tk-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
#container .tk-rg { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
#container .tk-set-in { padding: 16px 18px 18px; }
#container .tk-set-in h5 { font-family: 'Roboto', sans-serif; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--tk-t); margin: 0 0 8px; }
#container .tk-set-in .row { display: grid; gap: 8px; padding: 10px 0; border-bottom: 1px solid #f2f2f5; font-size: 0.82rem; color: #1d1d1f; }
#container .tk-set-in .row:last-child { border-bottom: 0; }
#container .tk-set-in .row small { display: block; color: #86868b; font-size: 0.72rem; }
#container .tk-set-in .opts { display: flex; flex-wrap: wrap; gap: 6px; }
#container .tk-set-in .opts b { font-weight: 400; font-size: 0.72rem; border: 1px solid #e3e5ea; border-radius: 50px; padding: 4px 10px; color: #515154; }
#container .tk-set-in .opts b.on { background: var(--tk); border-color: var(--tk); color: #fff; font-weight: 500; }
#container .tk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
#container .tk-tags span { font-size: 0.74rem; background: #f5f5f7; color: #515154; border-radius: 50px; padding: 3px 10px; }

/* ---------- Vergleich ---------- */
#container .tk-cmp { max-width: 860px; margin-inline: auto; background: #fff; border-radius: 22px; box-shadow: 0 4px 16px rgba(0,0,0,0.05), 0 0 0 1px #ececf0; overflow: hidden; }
#container .tk-cmp table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
#container .tk-cmp th, #container .tk-cmp td { padding: 14px 18px; text-align: start; border-bottom: 1px solid #f0f0f3; vertical-align: top; }
#container .tk-cmp thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .05em; color: #6e6e73; font-weight: 600; background: #fafafb; }
#container .tk-cmp tbody th { font-weight: 500; color: #1d1d1f; }
#container .tk-cmp td { color: #515154; }
#container .tk-cmp .m { background: var(--tk-l); color: var(--tk-t); }
#container .tk-cmp tr:last-child th, #container .tk-cmp tr:last-child td { border-bottom: 0; }
#container .tk-cmp-more { text-align: center; margin-top: 18px; }
#container .tk-cmp-more a { color: #006FCF; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Zusammenspiel, Abschluss ---------- */
#container .tk-rel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#container .tk-cta { background: linear-gradient(135deg, #052e16 0%, #166534 55%, #16a34a 100%); }
#container .tk-cta h2 span { color: #bbf7d0; }

/* ---------- Breiten ---------- */
@media (max-width: 1100px) {
    #container .tk-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #container .tk-rg { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) and (min-width: 681px) {
    #container .tk-status { grid-column: span 2; }
    #container .tk-status + .card { grid-column: span 2; }
}
@media (max-width: 820px) {
    #container .tk-three, #container .tk-rel { grid-template-columns: minmax(0, 1fr); }
    #container .tk-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #container .tk-st { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    #container .tk-feats, #container .tk-st { grid-template-columns: minmax(0, 1fr); }
    #container .tk-cmp th, #container .tk-cmp td { padding: 11px 10px; font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) {
    #container .vk-toast, #container .tk-ring { animation: none; }
}
