/* =================================================================
   fernwartung.css — eigene Bausteine der Seite fernwartung.php
   Akzent Stahlblau: #0369a1 (Kontrast auf Weiß 5,9:1), Text #075985 (7,6:1).
   Alles unter #container, nur logische Eigenschaften (RTL-tauglich).
   ================================================================= */
#container { --fw: #0369a1; --fw-t: #075985; --fw-l: #f0f9ff; --fw-b: #bae6fd; --fw-d: #082f49; --fw-g: #0284c7; }
/* ---------- Grundbausteine (gleich aufgebaut auf bank, zahlungen, uebersetzung, fernwartung) ---------- */
#container .t-fw { --c: var(--fw); --ct: var(--fw-t); --cl: var(--fw-l); --cb: var(--fw-b); }
#container .fw-t { color: var(--fw-t); }
#container .fw-acc { color: var(--fw); }
#container .fw-ic { background: var(--fw-l) !important; color: var(--fw) !important; }
#container .fw-h4 { font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 1.02rem; margin-bottom: 3px; line-height: 1.3; }
#container .fw-sub { text-align: center; font-size: clamp(1.3rem, 2vw, 1.8rem); margin: clamp(56px, 7vw, 90px) 0 26px; }
#container .vk-win.accent { color: #1d1d1f; }   /* .accent färbt sonst den ganzen Fensterinhalt blau */
#container .hero h1 { overflow-wrap: break-word; hyphens: auto; }
#container .fw-hv { position: relative; padding-block: 24px 34px; min-width: 0; }
#container .fw-toast-a { inset-inline-start: -3%; bottom: 0; }
#container .fw-toast-b { inset-inline-end: -2%; top: 0; animation-delay: -3s; }
#container .vk-toast b { display: block; }
#container .vk-toast > div:last-child { min-width: 0; }

/* Definition (kurzer, zitierfähiger Absatz) */
#container .fw-def { max-width: 920px; margin: 0 auto; background: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 4px 16px rgba(0,0,0,0.05); border-inline-start: 4px solid var(--fw); }
#container .fw-def h2 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); margin-bottom: 14px; }
#container .fw-def p + p { margin-top: 12px; }
#container .fw-def ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin-top: 18px; }
#container .fw-def li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.95rem; color: #1d1d1f; font-weight: 400; line-height: 1.45; }
#container .fw-def li .rs-ico { color: var(--fw); margin-top: 2px; }

/* Schritte */
#container .fw-steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; counter-reset: s; }
#container .fw-steps li { background: #fff; border: 1px solid #ececf0; border-radius: 20px; padding: 20px; position: relative; counter-increment: s; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#container .fw-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--fw); color: #fff; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
#container .fw-steps b { font-weight: 500; font-size: 1rem; color: #1d1d1f; line-height: 1.3; }
#container .fw-steps small { font-size: 0.86rem; color: #6e6e73; line-height: 1.5; }

/* Tabellen */
#container .fw-tab-wrap { max-width: 980px; margin: 0 auto; overflow-x: auto; background: #fff; border-radius: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
#container .fw-tab { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
#container .fw-tab caption { caption-side: top; text-align: start; padding: 18px 20px 4px; font-weight: 500; color: #1d1d1f; }
#container .fw-tab th, #container .fw-tab td { text-align: start; padding: 13px 20px; border-bottom: 1px solid #f0f0f3; vertical-align: top; line-height: 1.45; }
#container .fw-tab thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--fw-t); font-weight: 600; background: var(--fw-l); }
#container .fw-tab tbody th { font-weight: 500; color: #1d1d1f; }
#container .fw-tab td { color: #515154; }
#container .fw-tab tr:last-child th, #container .fw-tab tr:last-child td { border-bottom: 0; }
#container .fw-tab .ja { color: #1f7a45; font-weight: 500; white-space: nowrap; }
#container .fw-tab .nein { color: #b42323; font-weight: 500; white-space: nowrap; }
#container .fw-tab .ja .rs-ico, #container .fw-tab .nein .rs-ico { vertical-align: -3px; }

/* Karten-Raster */
#container .fw-grid { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px; }
#container .fw-grid .card { height: 100%; }
#container .fw-grid .card .go { margin-top: auto; padding-top: 14px; color: var(--fw-t); font-size: 0.9rem; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
#container .fw-grid .card-dark .go { color: var(--fw-b); }
#container .fw-top { border-top: 3px solid var(--fw); }
#container .fw-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
#container .fw-tags span { font-size: 0.74rem; background: #f5f5f7; color: #515154; border-radius: 50px; padding: 3px 10px; }
#container .fw-tags span.on { background: var(--fw-l); color: var(--fw-t); }
#container .fw-tags span.soon { margin: 0; font-size: 0.7rem; padding: 3px 10px; }

/* Bausteine in Produktansichten */
#container .fw-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 0.62rem; font-weight: 600; padding: 2px 8px; border-radius: 50px; white-space: nowrap; background: #f1f2f5; color: #515154; }
#container .fw-pill.ok { background: #e9f7ee; color: #1f7a45; }
#container .fw-pill.warn { background: #fff4d9; color: #8a5a00; }
#container .fw-pill.bad { background: #fdecec; color: #b42323; }
#container .fw-pill.acc { background: var(--fw-l); color: var(--fw-t); }
#container .fw-kv { display: grid; gap: 0; font-size: 0.74rem; color: #1d1d1f; }
#container .fw-kv > div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f2f2f5; min-width: 0; }
#container .fw-kv > div > span:first-child { color: #6e6e73; }
#container .fw-kv > div > b { font-weight: 500; text-align: end; overflow-wrap: anywhere; }
#container .fw-btns { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
#container .fw-btns span { border-radius: 9px; padding: 7px 14px; font-weight: 500; font-size: 0.72rem; }
#container .fw-btns .pri { background: var(--fw); color: #fff; }
#container .fw-btns .ghost { box-shadow: 0 0 0 1px #e3e5ea; color: #515154; }

/* Dunkler Abschnitt */
#container .fw-dark { background: var(--fw-d); }
#container .fw-dark h2 { color: #fff; }
#container .fw-dark .lead, #container .fw-dark .section-intro p { color: rgba(255,255,255,0.7); }
#container .fw-t2 { color: var(--fw-b); }
#container .fw-feat-dark .fi { background: rgba(255,255,255,0.1); color: var(--fw-b); }
#container .fw-feat-dark .fw-h4 { color: #fff; }
#container .fw-feat-dark p { color: rgba(255,255,255,0.66); }

/* Zusammenspiel und Abschluss */
#container .fw-rel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#container .fw-rel a.t-fw::before { background: var(--fw); }
#container .fw-cta { background: linear-gradient(135deg, var(--fw-d) 0%, var(--fw) 60%, var(--fw-g) 100%); }
#container .fw-cta h2 span { color: var(--fw-b); }
#container .fw-note { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: 0.86rem; color: #6e6e73; }

@media (max-width: 1100px) {
    #container .fw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #container .fw-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #container .fw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    #container .fw-steps, #container .fw-rel, #container .fw-grid, #container .fw-def ul { grid-template-columns: minmax(0, 1fr); }
    #container .fw-toast-a { inset-inline-start: 0; }
    #container .fw-toast-b { inset-inline-end: 0; }
    #container .fw-tab th, #container .fw-tab td { padding: 11px 14px; }
    #container .fw-tab { font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) {
    #container .vk-toast { animation: none; }
}
@media (max-width: 520px) {
    #container .fw-tab thead { display: none; }
    #container .fw-tab, #container .fw-tab caption, #container .fw-tab tbody, #container .fw-tab tr, #container .fw-tab th, #container .fw-tab td { display: block; width: auto; }
    #container .fw-tab tr { padding: 12px 16px; border-bottom: 1px solid #f0f0f3; }
    #container .fw-tab tr:last-child { border-bottom: 0; }
    #container .fw-tab caption { padding: 16px 16px 4px; }
    #container .fw-tab th, #container .fw-tab td { padding: 2px 0; border: 0; }
    #container .fw-tab td[data-label]::before { content: attr(data-label) ": "; color: #86868b; font-size: 0.82rem; }
}

/* ---------- Hero: Hyptime mit Support-Leiste ---------- */
#container .fw-hv { padding-block: 10px 70px; }
#container .fw-app { max-width: 560px; margin-inline: auto; padding: 0; overflow: hidden; }
#container .fw-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #b42323; color: #fff; font-size: 0.72rem; padding: 9px 14px; }
#container .fw-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: fw-puls 1.6s ease-in-out infinite; flex-shrink: 0; }
#container .fw-bar b { font-weight: 500; min-width: 0; }
#container .fw-bar .lk { opacity: .85; min-width: 0; }
#container .fw-bar .end { margin-inline-start: auto; background: #fff; color: #b42323; border-radius: 7px; padding: 3px 10px; font-weight: 600; }
#container .fw-app-in { display: grid; grid-template-columns: 52px minmax(0, 1fr); min-height: 250px; }
#container .fw-app-side { background: #f5f5f7; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; }
#container .fw-app-side i { width: 22px; height: 22px; border-radius: 7px; background: #e3e5ea; display: block; }
#container .fw-app-side i.on { background: var(--fw); }
#container .fw-app-main { padding: 18px 20px; min-width: 0; }
#container .fw-app-main .h { display: block; font-weight: 500; font-size: 0.95rem; margin-bottom: 10px; color: #1d1d1f; }
#container .fw-lines { display: grid; gap: 8px; margin-top: 14px; }
#container .fw-lines i { display: block; height: 8px; border-radius: 4px; background: #f0f0f3; }
#container .fw-lines i:nth-child(2) { width: 82%; }
#container .fw-lines i:nth-child(3) { width: 60%; }
#container .fw-target { position: relative; }
#container .fw-ring { position: absolute; inset: -9px; border: 3px solid #e02424; border-radius: 50%; pointer-events: none; animation: fw-ring 2s ease-out infinite; }
#container .fw-who { position: absolute; inset-inline-end: 0; top: calc(100% + 12px); background: #e02424; color: #fff; font-style: normal; font-size: 0.64rem; font-weight: 600; white-space: nowrap; border-radius: 6px; padding: 3px 8px; }
@keyframes fw-ring { 0% { transform: scale(.9); opacity: 1; } 70% { transform: scale(1.15); opacity: .35; } 100% { transform: scale(.9); opacity: 1; } }
@keyframes fw-puls { 50% { opacity: .35; } }

/* Support-Fenster, schwebt unten am Ende */
#container .fw-panel { position: absolute; inset-inline-start: -4%; bottom: 0; width: 250px; z-index: 2; box-shadow: 0 18px 40px rgba(8,47,73,0.22); }
#container .fw-panel .vk-win-body { display: grid; gap: 9px; font-size: 0.74rem; color: #1d1d1f; }
#container .fw-ok { display: flex; align-items: center; gap: 6px; color: #1f7a45; font-weight: 500; }
#container .fw-share { display: flex; align-items: center; gap: 6px; color: #515154; }
#container .fw-sw { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--fw-l); border-radius: 10px; padding: 8px 10px; color: var(--fw-t); font-weight: 500; }
#container .fw-sw i { width: 30px; height: 17px; border-radius: 50px; background: var(--fw); position: relative; flex-shrink: 0; display: block; }
#container .fw-sw i::after { content: ""; position: absolute; top: 2px; inset-inline-end: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
#container .fw-ctl { display: flex; gap: 6px; align-items: center; }
#container .fw-ctl span { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 30px; height: 28px; border-radius: 8px; background: #f5f5f7; color: #515154; }
#container .fw-ctl .end { margin-inline-start: auto; background: #fdecec; color: #b42323; padding-inline: 10px; font-weight: 500; }

/* ---------- Ansicht des Supports (dunkler Abschnitt) ---------- */
#container .fw-sup { max-width: 540px; margin-inline: auto; }
#container .fw-screen { display: grid; grid-template-columns: 40px minmax(0, 1fr); border-radius: 12px; overflow: hidden; border: 1px solid #ececf0; min-height: 210px; }
#container .fw-screen .fw-app-side { gap: 10px; padding: 12px 0; }
#container .fw-screen .fw-app-side i { width: 18px; height: 18px; border-radius: 6px; }
#container .fw-scr-main { position: relative; padding: 16px; display: grid; gap: 9px; align-content: start; }
#container .fw-scr-main i { display: block; height: 8px; border-radius: 4px; background: #f0f0f3; }
#container .fw-scr-main i.t { height: 12px; width: 45%; background: #e3e5ea; }
#container .fw-scr-main i.s { width: 55%; }
#container .fw-btn-mini { position: relative; justify-self: end; margin-top: 14px; width: 92px; height: 26px; border-radius: 8px; background: var(--fw); }
#container .fw-cursor { position: absolute; inset-inline-end: 30px; bottom: 2px; color: #e02424; display: flex; }
#container .fw-sup-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
#container .fw-sup-foot .fw-pill { font-size: 0.7rem; padding: 3px 10px; }
#container .fw-sup-foot small { font-size: 0.74rem; color: #6e6e73; }

/* ---------- Grenzen und Verweis auf Meet ---------- */
#container .fw-meet { max-width: 980px; margin: 22px auto 0; display: flex; gap: 16px; align-items: center; background: var(--fw-l); border: 1px solid var(--fw-b); border-radius: 20px; padding: 20px 22px; color: #1d1d1f; text-decoration: none; transition: box-shadow .2s; }
#container .fw-meet:hover { box-shadow: 0 8px 24px rgba(3,105,161,0.14); }
#container .fw-meet .fi { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
#container .fw-meet > div { flex: 1; min-width: 0; }
#container .fw-meet p { font-size: 0.9rem; color: #515154; }
#container .fw-meet .go { color: var(--fw-t); font-weight: 500; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
#container [dir="rtl"] .fw-meet .go .rs-ico, [dir="rtl"] #container .fw-meet .go .rs-ico { transform: scaleX(-1); }

@media (max-width: 1100px) {
    #container .fw-panel { inset-inline-start: 0; }
}
@media (max-width: 680px) {
    #container .fw-hv { padding-block: 0; }
    #container .fw-panel { position: static; width: auto; max-width: 560px; margin: 14px auto 0; }
    #container .fw-meet { flex-wrap: wrap; }
    #container .fw-meet .go { flex-basis: 100%; }
}
@media (max-width: 420px) {
    #container .fw-app-in { grid-template-columns: 40px minmax(0, 1fr); }
    #container .fw-app-main { padding: 14px; }
    #container .fw-bar .lk { display: none; }
    #container .fw-app .fw-btns { padding-inline-end: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    #container .fw-ring, #container .fw-bar .dot { animation: none; }
}
