/*
 * Bestand aus „Simple Custom CSS and JS“, wortgleich übernommen am 03.12.2026 (Audit, Paket P5).
 * Reihenfolge wie dort ausgegeben. Diese Datei lädt nach allen Kadence-Styles und nach site.css (wp_head, Priorität 10),
 * genau an der Stelle, an der SCCJ seine <style>-Blöcke ausgab – die Kaskade bleibt damit gleich.
 * Nicht mehr genutzt (Stand 03.12.2026): .section-divider, .kt-accordion-wrap (FAQs laufen über Yoast + <details>).
 */

/* ===== SCCJ 15800 · CCM19 Cookie Banner Barrierefreiheit ===== */
/* Barrierefreiheit: Kontrast (WCAG 1.4.3) */
#ccm-widget .ccm-modal--footer a { color: #0e6d9e !important; }
.bytemate-table .premium-tag { background: #7353f5 !important; }
td[bgcolor="#2563eb"], td[bgcolor="#2563eb"] * { color: #ffffff !important; }

/* ===== SCCJ 15551 · KAO Banner ===== */
.kao-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid #00C8FF;
  color: #00C8FF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  margin-top: 10px;
}

.kao-badge:hover {
  background: #00C8FF !important;
  color: #0B0F1A !important;
  border-color: #00C8FF !important;
}

.kao-badge-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== SCCJ 298 · Premium & Neu Badges ===== */
/* --- Premium Badge (oben rechts auf Cards) --- */
.is-premium {
  position: relative;
}
.is-premium::before {
  content: 'PREMIUM';
  position: absolute;
  top: 12px;
  right: 12px;
  background: #7C5CFF;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 1;
  line-height: 1;
}

/* --- NEU Badges --- */

.is-neu::before {
  content: 'NEU';
  position: absolute;
  top: 12px;
  right: 12px;
  background: #00C8FF;
  color: #0B0F1A;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 1;
  line-height: 1;
}

.is-new::before {
  content: 'NEW';
  position: absolute;
  top: 12px;
  right: 12px;
  background: #00C8FF;
  color: #0B0F1A;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 1;
  line-height: 1;
}

/* ===== SCCJ 295 · Premium Tabelle ===== */
/* --- Kostenlos vs. Premium Tabelle --- */
.bytemate-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.bytemate-table th {
  background: #0B0F1A;
  color: #F0F4FA;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
}
.bytemate-table td {
  padding: 12px 16px;
  color: #C4CAD6;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
}
.bytemate-table tbody tr:last-child td {
  border-bottom: none;
}
.bytemate-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}
.bytemate-table .check {
  color: #00C8FF;
  font-size: 18px;
  text-align: center;
  width: 100px;
}
.bytemate-table .dash {
  color: #4a5568;
  text-align: center;
  width: 100px;
}
.bytemate-table .premium-tag {
  background: #7C5CFF;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.bytemate-table th:nth-child(2),
.bytemate-table th:nth-child(3) {
  text-align: center;
  width: 150px;
}
.bytemate-table td:nth-child(2),
.bytemate-table td:nth-child(3) {
  text-align: center;
}

/* ===== SCCJ 253 · Bilder Lightbox ===== */
.slbCloseBtn:hover {
  color: #00c8ff !important;
}

/* ===== SCCJ 237 · Allgemein ===== */
/* --- ByteMate User Count (Stats-Leiste) --- */
.bytemate-countup-heading {
  margin-bottom: .5em;
}

/* --- Navigation --- */
.kadence-sticky-header {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6,8,15,0.92) !important;
}
.main-navigation a:hover {
  color: #f0f4fa !important;
}
.main-navigation .current-menu-item > a {
  color: #00c8ff !important;
}

/* --- Hero --- */
.hero-glow {
  position: relative;
  overflow: hidden;
}
.hero-glow::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle, rgba(0,200,255,0.07) 0%, transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}
.hero-glow > .kt-row-column-wrap {
  position: relative;
  z-index: 1;
}
.hero-glow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg, transparent, rgba(0,200,255,0.2), transparent
  );
}
.hero-gradient-text {
  background: linear-gradient(135deg, #00c8ff 0%, #7c5cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Eyebrow Pill --- */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #00c8ff;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 16px;
}
.eyebrow-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00c8ff;
  flex-shrink: 0;
}

/* --- Card & Panel Hover (einheitlich) --- */
/* Panels (IT-Services): Border sitzt direkt auf dem Element */
.panel-hover {
  transition: transform 0.3s ease, border-color 0.3s ease,
              box-shadow 0.3s ease;
}
.panel-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(0,200,255,0.35);
  box-shadow: 0 8px 30px rgba(0,200,255,0.1),
              0 0 0 1px rgba(0,200,255,0.08);
}

/* Cards (Features, Stream Tools): Border sitzt auf .kt-inside-inner-col */
.equal-height .wp-block-kadence-column,
.card-hover .wp-block-kadence-column {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.equal-height .wp-block-kadence-column > .kt-inside-inner-col,
.card-hover .wp-block-kadence-column > .kt-inside-inner-col {
  transition: border-color 0.3s ease;
}
.equal-height .wp-block-kadence-column:hover,
.card-hover .wp-block-kadence-column:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,200,255,0.1),
              0 0 0 1px rgba(0,200,255,0.08);
}
.equal-height .wp-block-kadence-column:hover > .kt-inside-inner-col,
.card-hover .wp-block-kadence-column:hover > .kt-inside-inner-col {
  border-color: rgba(0,200,255,0.35);
}

/* FAQ Accordion Panes (dezenter) */
.kt-accordion-wrap .wp-block-kadence-pane {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.kt-accordion-wrap .wp-block-kadence-pane:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,200,255,0.08),
              0 0 0 1px rgba(0,200,255,0.06);
}

/* --- Button Hover --- */
.wp-block-kadence-singlebtn .kt-button,
.kb-buttons-wrap .kt-button {
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              background 0.2s ease, border-color 0.2s ease,
              color 0.2s ease;
}
.wp-block-kadence-singlebtn .kt-button:hover,
.kb-buttons-wrap .kt-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,200,255,0.2);
}

/* --- Emoji-Icons in Cards: sanfter Scale --- */
.equal-height .kt-inside-inner-col .kb-adv-text,
.card-hover .kt-inside-inner-col .kb-adv-text {
  transition: transform 0.3s ease;
}
.equal-height .wp-block-kadence-column:hover .kt-inside-inner-col .kb-adv-text:first-child,
.card-hover .wp-block-kadence-column:hover .kt-inside-inner-col .kb-adv-text:first-child {
  transform: scale(1.1);
}

/* --- Sektions-Trenner (Glow-Linie) --- */
.section-divider::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 0;
  background: linear-gradient(
    90deg, transparent, rgba(0,200,255,0.15), transparent
  );
}

/* --- Link-Hover Underline Animation --- */
.entry-content a:not(.kt-button):not(.kb-btn-global-fill):not(.kb-btn-global-outline) {
  text-decoration: none;
  background-image: linear-gradient(#00c8ff, #00c8ff);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
}
.entry-content a:not(.kt-button):not(.kb-btn-global-fill):not(.kb-btn-global-outline):hover {
  background-size: 100% 1px;
}

/* --- Gleiche Kartenhöhe --- */
.equal-height > .kt-row-column-wrap {
  align-items: stretch;
}
.equal-height .wp-block-kadence-column {
  display: flex;
  flex-direction: column;
}
.equal-height .kt-inside-inner-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* --- Footer --- */
.site-footer {
  background: #06080f !important;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: #8a95aa;
  font-size: 13px;
}
.site-top-footer-inner-wrap .widget {
	margin-bottom: 20px;
}

/* --- Barrierefreiheit: Focus Styles --- */
a:focus-visible,
button:focus-visible,
.kt-button:focus-visible {
  outline: 2px solid #00c8ff;
  outline-offset: 2px;
}

/* --- Feature Bubbles: Gestaffeltes Slide-up + Fade --- */
/* Default: sichtbar, greift wenn JS nicht läuft */
.bubble-animate span {
  opacity: 1;
  transform: none;
}

/* Nur wenn JS aktiv ist: Ausgangszustand verstecken + animieren */
.js .bubble-animate span {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .bubble-animate.is-visible span {
  opacity: 1;
  transform: translateY(0);
}

.js .bubble-animate.is-visible span:nth-child(1)  { transition-delay: 0.00s; }
.js .bubble-animate.is-visible span:nth-child(2)  { transition-delay: 0.05s; }
.js .bubble-animate.is-visible span:nth-child(3)  { transition-delay: 0.10s; }
.js .bubble-animate.is-visible span:nth-child(4)  { transition-delay: 0.15s; }
.js .bubble-animate.is-visible span:nth-child(5)  { transition-delay: 0.20s; }
.js .bubble-animate.is-visible span:nth-child(6)  { transition-delay: 0.25s; }
.js .bubble-animate.is-visible span:nth-child(7)  { transition-delay: 0.30s; }
.js .bubble-animate.is-visible span:nth-child(8)  { transition-delay: 0.35s; }
.js .bubble-animate.is-visible span:nth-child(9)  { transition-delay: 0.40s; }
.js .bubble-animate.is-visible span:nth-child(10) { transition-delay: 0.45s; }
.js .bubble-animate.is-visible span:nth-child(11) { transition-delay: 0.50s; }
.js .bubble-animate.is-visible span:nth-child(12) { transition-delay: 0.55s; }
.js .bubble-animate.is-visible span:nth-child(13) { transition-delay: 0.60s; }
.js .bubble-animate.is-visible span:nth-child(14) { transition-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
  .js .bubble-animate span {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- FAQ Block Abstand --- */
.schema-faq.wp-block-yoast-faq-block {
  margin-top: 3em;
}

/* --- Fade-in-up für Boxen/Cards/Panels --- */
.fade-in-up .wp-block-kadence-column,
.fade-in-up .panel-hover {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.fade-in-up.is-visible .wp-block-kadence-column,
.fade-in-up.is-visible .panel-hover {
  opacity: 1;
  transform: translateY(0);
}

/* Gestaffelter Delay NUR auf opacity + transform, NICHT auf hover-Properties */
.fade-in-up.is-visible .wp-block-kadence-column:nth-child(1),
.fade-in-up.is-visible .panel-hover:nth-child(1) {
  transition-delay: 0s, 0s, 0s, 0s;
}
.fade-in-up.is-visible .wp-block-kadence-column:nth-child(2),
.fade-in-up.is-visible .panel-hover:nth-child(2) {
  transition-delay: 0.08s, 0.08s, 0s, 0s;
}
.fade-in-up.is-visible .wp-block-kadence-column:nth-child(3),
.fade-in-up.is-visible .panel-hover:nth-child(3) {
  transition-delay: 0.16s, 0.16s, 0s, 0s;
}
.fade-in-up.is-visible .wp-block-kadence-column:nth-child(4),
.fade-in-up.is-visible .panel-hover:nth-child(4) {
  transition-delay: 0.24s, 0.24s, 0s, 0s;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up .wp-block-kadence-column,
  .fade-in-up .panel-hover {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Logo Hover Glow --- */
.site-branding a.brand img {
  transition: filter 0.3s ease;
}
.site-branding a.brand:hover img {
  filter: drop-shadow(0 0 8px rgba(0,200,255,0.4));
}

/* Mobil Abstand im Footer */
@media (max-width: 767px) {
  .site-footer-top-section-2 .footer-widget-area + .footer-widget-area {
    margin-top: 2rem;
  }
}

/* Footer Slogan je nach Sprache */
html[lang^="de"] .footer-tagline-en { display: none; }
html[lang^="en"] .footer-tagline-de { display: none; }
html[lang^="de"] .footer-copy-en { display: none; }
html[lang^="en"] .footer-copy-de { display: none; }
