/*
============================================================
 ROHCRAFT PROJEKT — rohcraft.com
 © 2026 Rohcraft. Alle Rechte vorbehalten.
 Datei: assets/css/support.css
 Letzte Aktualisierung: 25.07.2026, 14:09 Uhr (Berlin)
============================================================
*/

/* Aufbau auf style.css: gleiche Sprache, eigene Support-Bausteine */
.sup-header .header-inner { gap: 22px; }
.sup-sub { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: #8a8985; margin-left: 10px; }
.sup-nav { display: flex; gap: 18px; margin-left: auto; }
.sup-nav a { font-size: 13px; color: #3a3a38; text-decoration: none; }
.sup-nav a:hover { color: #000; }
.sup-account { display: flex; gap: 12px; align-items: center; }
.sup-user { font-size: 12.5px; color: #6d6c68; }
.sup-login { font-size: 13px; color: #1c2126; }
.sup-main { padding-bottom: 30px; }

.sup-hero { background: var(--panel, #f4f3f0); border-bottom: 1px solid #e5e2dc; padding: 34px 0 26px; text-align: center; }
.sup-hero h1 { font-size: clamp(26px, 3.6vw, 40px); margin: 6px 0 16px; }
.sup-search { display: flex; gap: 10px; max-width: 620px; margin: 0 auto; }
.sup-search input { flex: 1; border: 1px solid #d9d6cf; border-radius: 999px; padding: 12px 20px; font: 400 14px/1.4 var(--sans, sans-serif); background: #fff; }
.sup-search input:focus { outline: none; border-color: #1c2126; }
.sup-slaline { font-size: 12.5px; color: #6d6c68; margin: 12px 0 0; }

.sup-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 24px; }
.sup-cta p { font-size: 13.5px; color: #4b4b49; margin: 0 0 14px; }
.sup-guest { background: var(--panel, #f4f3f0); }

.sup-cats { padding-top: 26px; }
.sup-cats h2, .sup-popular h2 { font-size: 19px; margin-bottom: 14px; }
.sup-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sup-cat { border: 1px solid #e5e2dc; border-radius: 12px; background: #fff; padding: 17px 18px; text-decoration: none; color: inherit; transition: border-color .15s; }
.sup-cat:hover { border-color: #b9b8b4; }
.sup-cat svg { width: 24px; height: 24px; fill: none; stroke: #1c2126; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; display: block; }
.sup-cat b { display: block; font-size: 13.5px; margin-bottom: 3px; }
.sup-cat span { font-size: 12px; color: #6d6c68; line-height: 1.5; }

.sup-popular { padding-top: 24px; }
.sup-popular ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.sup-popular li { padding: 5px 0; break-inside: avoid; }
.sup-popular a { font-size: 13.5px; color: #3a3a38; }

.sup-narrow { max-width: 640px; margin: 0 auto; padding-top: 30px; display: grid; gap: 16px; }
.sup-narrow-w { max-width: 860px; margin: 0 auto; padding-top: 26px; }
.sup-gate h1 { font-size: 22px; margin: 4px 0 10px; }
.sup-gate p { font-size: 13.5px; color: #4b4b49; }
.sup-gate-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

.sup-page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.sup-page-head h1 { font-size: clamp(22px, 3vw, 32px); margin: 4px 0 4px; }
.sup-meta { font-size: 12.5px; color: #8a8985; margin: 0; }
.sup-chips { margin: 8px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.sup-chip { border: 1px solid #d9d6cf; border-radius: 999px; padding: 3px 10px; font-size: 11.5px; color: #4b4b49; background: #fff; }

.sup-status { border-radius: 999px; padding: 5px 12px; font-size: 11.5px; letter-spacing: .06em; white-space: nowrap; }
.s-offen { background: #fff3cd; color: #7a5c00; }
.s-beantwortet { background: #e2efe4; color: #1e5c2a; }
.s-geschlossen { background: #ececea; color: #6d6c68; }

.sup-ticket-list { display: grid; gap: 10px; }
.sup-ticket { display: flex; align-items: center; gap: 14px; border: 1px solid #e5e2dc; border-radius: 11px; background: #fff; padding: 13px 16px; text-decoration: none; color: inherit; }
.sup-ticket:hover { border-color: #b9b8b4; }
.sup-tid { font: 600 12px/1 var(--sans, sans-serif); color: #8a8985; }
.sup-tsub { flex: 1; }
.sup-tsub b { display: block; font-size: 14px; }
.sup-tsub em { font-style: normal; font-size: 12px; color: #8a8985; }

.sup-steps { display: flex; gap: 26px; margin: 4px 0 18px; }
.sup-step { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #d9d6cf; display: inline-flex; align-items: center; justify-content: center; font: 600 12.5px/1 var(--sans, sans-serif); color: #8a8985; position: relative; }
.sup-step i { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10.5px; letter-spacing: .06em; white-space: nowrap; }
.sup-step.is-on { background: #1c2126; border-color: #1c2126; color: #fff; }
.sup-wizard { margin-top: 26px; }
.sup-slide { display: none; }
.sup-slide.is-on { display: block; }
.sup-q { font-weight: 600; font-size: 15px; margin: 0 0 12px; }
.sup-q small { font-weight: 400; color: #8a8985; }
.sup-cat-pick, .sup-order-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.sup-pick { border: 1px solid #e5e2dc; border-radius: 11px; background: #fff; padding: 13px 15px; display: flex; gap: 11px; cursor: pointer; align-items: flex-start; }
.sup-pick input { margin-top: 3px; accent-color: #1c2126; }
.sup-pick b { display: block; font-size: 13.5px; }
.sup-pick em { font-style: normal; font-size: 12px; color: #6d6c68; }
.sup-pick:has(input:checked) { border-color: #1c2126; }
.sup-products { margin-top: 16px; }
.sup-check { display: flex; gap: 10px; align-items: center; border: 1px solid #f0eeea; border-radius: 9px; padding: 9px 12px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.sup-check input { accent-color: #1c2126; }
.sup-check span { font-size: 13px; }
.sup-check em { font-style: normal; color: #8a8985; font-size: 12px; }
.sup-field { display: block; font-size: 12.5px; color: #4b4b49; margin-bottom: 13px; }
.sup-field input, .sup-field textarea { width: 100%; margin-top: 5px; border: 1px solid #d9d6cf; border-radius: 9px; padding: 11px 13px; font: 400 14px/1.5 var(--sans, sans-serif); background: #fff; }
.sup-field input:focus, .sup-field textarea:focus { outline: none; border-color: #1c2126; }
.sup-nav-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.sup-hintline { font-size: 12.5px; color: #8a8985; margin-top: 14px; }

.sup-chat { display: grid; gap: 12px; margin: 18px 0; }
.sup-msg { display: flex; }
.sup-msg.from-kunde { justify-content: flex-end; }
.sup-bubble { max-width: 78%; border-radius: 13px; padding: 11px 14px; font-size: 13.5px; line-height: 1.65; position: relative; }
.from-support .sup-bubble { background: #fff; border: 1px solid #e5e2dc; border-top-left-radius: 4px; }
.from-kunde .sup-bubble { background: #1c2126; color: #fff; border-top-right-radius: 4px; }
.sup-who { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin-bottom: 4px; }
.sup-bubble time { display: block; font-size: 10.5px; opacity: .55; margin-top: 6px; }
.sup-reply textarea { width: 100%; border: 1px solid #d9d6cf; border-radius: 11px; padding: 12px 14px; font: 400 14px/1.5 var(--sans, sans-serif); background: #fff; }
.sup-reply textarea:focus { outline: none; border-color: #1c2126; }

.sup-footer { border-top: 1px solid #e5e2dc; background: #fff; margin-top: 10px; }
.sup-footer-in { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 0 14px; font-size: 12.5px; color: #6d6c68; }
.sup-footer a { color: #1c2126; }

@media (max-width: 860px) {
  .sup-nav { display: none; }
  .sup-cta-row, .sup-cat-grid, .sup-cat-pick, .sup-order-pick { grid-template-columns: 1fr; }
  .sup-popular ul { columns: 1; }
  .sup-page-head { flex-direction: column; }
  .sup-bubble { max-width: 92%; }
}

/* Portal-Unternav + Artikel-Popups */
.sup-subnav { border-bottom: 1px solid #e5e2dc; background: #fff; }
.sup-subnav-in { display: flex; gap: 20px; align-items: center; padding: 8px 0; }
.sup-subnav a { font-size: 12.5px; color: #3a3a38; text-decoration: none; }
.sup-subnav a:hover { color: #000; }
.sup-subnav-sla { margin-left: auto; font-size: 11.5px; color: #8a8985; }
.sup-artlink { background: none; border: 0; padding: 0; font: inherit; font-size: 13.5px; color: #3a3a38; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #cfccc5; }
.sup-artlink:hover { color: #000; }
.sup-dialog { border: 1px solid #e5e2dc; border-radius: 14px; padding: 0; max-width: 620px; width: calc(100% - 40px); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.sup-dialog::backdrop { background: rgba(20,23,26,.45); }
.sup-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px 10px; }
.sup-dialog-head h3 { margin: 0; font-size: 17px; }
.sup-dialog-x { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #6d6c68; }
.sup-dialog-body { padding: 0 20px 6px; font-size: 13.5px; color: #4b4b49; line-height: 1.7; max-height: 55vh; overflow-y: auto; }
.sup-dialog-body p { margin: 0 0 10px; }
.sup-dialog-foot { padding: 10px 20px 16px; display: flex; justify-content: flex-end; }
@media (max-width: 640px) { .sup-subnav-sla { display: none; } }
