/*
  Syntico Kundenbereich – Knowledgebase: Suchfeld als dunkles Kopfband (basis.css .kopfband der Website),
  Artikel und Listen als weisse Karten (inhalt.css). Ohne Anmeldung kommt wissen-offen.css dazu
  (dunkle Navigation ueber dem Kopfband), angemeldet bereich.css (Navigation als Band darueber).
  --skb-rand (Seitenrand von #wrapper) setzen inhalt.css und bereich.css, --skb-kb-oben wissen-offen.css.
*/

body.customers .kb-search-jumbotron {
  position: relative;
  margin: var(--skb-abstand) calc(-1 * var(--skb-rand, 14px) + var(--skb-abstand)) 28px;
  padding: var(--skb-kb-oben, 52px) clamp(22px, 5vw, 56px) clamp(38px, 6vh, 64px);
  border-radius: var(--skb-radius);
  background:
    radial-gradient(70% 90% at 92% 120%, rgba(247, 135, 31, 0.8) 0%, rgba(247, 135, 31, 0) 62%),
    radial-gradient(70% 90% at 4% -10%, rgba(211, 32, 47, 0.42) 0%, rgba(211, 32, 47, 0) 60%),
    linear-gradient(168deg, #2a0f0a 0%, #190907 45%, #0c0505 100%);
  color: #fff;
  --skb-fokus: var(--skb-gold);
}
body.customers .kb-search-jumbotron .container { width: auto; max-width: 760px; padding: 0; }
body.customers .kb-search-jumbotron .row { margin: 0; }
body.customers .kb-search-jumbotron [class*="col-"] { float: none; width: auto; margin: 0; padding: 0; }
body.customers .kb-search-jumbotron .text-center { text-align: left; }

body.customers .kb-search-heading {
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

body.customers .kb-search .form-group { margin: 0; }
body.customers .kb-search .input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
}
body.customers .kb-search .input-group:focus-within {
  border-color: var(--skb-gold);
  box-shadow: 0 0 0 4px rgba(255, 203, 21, 0.2);
}
body.customers .kb-search input[type="search"],
body.customers .kb-search input[type="search"]:focus {
  flex: 1 1 auto;
  width: auto;
  height: 46px;
  padding: 0 12px 0 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: 16px;
  outline: none;
  caret-color: var(--skb-gold);
}
body.customers .kb-search input[type="search"]::placeholder { color: rgba(255, 247, 238, 0.55); }
body.customers .kb-search .input-group-btn { display: block; width: auto; }
body.customers .kb-search button[type="submit"],
body.customers .kb-search button[type="submit"]:hover,
body.customers .kb-search button[type="submit"]:focus {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--skb-tinte);
  font-weight: 500;
}
body.customers .kb-search .form-control-feedback {
  top: 50% !important;
  right: auto;
  left: 22px !important;
  width: 16px;
  height: auto;
  text-align: left;
  color: rgba(255, 247, 238, 0.6);
  line-height: 1;
  transform: translateY(-50%);
}

/* Listen und Artikel */
body.customers .articles_list a,
body.customers #content .panel_s h3 a,
body.customers #content .panel_s h4 a { color: var(--skb-tinte); text-decoration: none; }
body.customers .articles_list a:hover,
body.customers #content .panel_s h3 a:hover,
body.customers #content .panel_s h4 a:hover { color: var(--skb-fokus); }
body.customers .kb-article-single-heading {
  color: var(--skb-tinte);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
/* "War dieser Artikel hilfreich?": Ja dunkel, Nein als Kontur (statt Gruen/Rot von Bootstrap) */
body.customers .article_useful_buttons { display: flex; gap: 8px; }
body.customers .article_useful_buttons .btn { float: none; margin: 0; padding: 8px 18px; border-radius: 999px; }
body.customers .article_useful_buttons .btn-success,
body.customers .article_useful_buttons .btn-success:hover,
body.customers .article_useful_buttons .btn-success:focus {
  border: 1px solid var(--skb-tinte);
  background: var(--skb-tinte);
  color: #fff;
}
body.customers .article_useful_buttons .btn-danger,
body.customers .article_useful_buttons .btn-danger:hover,
body.customers .article_useful_buttons .btn-danger:focus {
  border: 1px solid rgba(10, 10, 13, 0.24);
  background: #fff;
  color: var(--skb-tinte);
}

@media (max-width: 767px) {
  body.customers .kb-search .input-group { flex-wrap: wrap; border-radius: 22px; }
  /* Feld und Knopf stehen untereinander: Lupe an die Mitte des Felds (6 px Rand + halbe Feldhoehe 23 px) */
  body.customers .kb-search .form-control-feedback { top: 29px !important; }
  body.customers .kb-search .input-group-btn,
  body.customers .kb-search button[type="submit"] { width: 100%; }
}
