/* ========================================
   Language Switcher Dropdown Styles
   ======================================== */

.cs_lang_dropdown {
  position: relative;
  margin-right: 12px;
  z-index: 9999;
}

.cs_lang_btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #132573;
  background: #fece03;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: 0 2px 8px rgba(254,206,3,0.4);
}

.cs_lang_btn:hover,
.cs_lang_btn.open {
  background: #f5c400;
  color: #132573;
  box-shadow: 0 4px 14px rgba(254,206,3,0.5);
}

.cs_lang_btn .lang-flag {
  font-size: 15px;
  line-height: 1;
}

.cs_lang_btn .lang-code {
  font-weight: 800;
}

.cs_lang_btn .lang-arrow {
  font-size: 10px;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.cs_lang_btn.open .lang-arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.cs_lang_menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 9999;
}

.cs_lang_menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cs_lang_menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: background 0.15s ease;
}

.cs_lang_menu a:hover {
  background: #f5f7ff;
  color: #132573;
}

.cs_lang_menu a.active {
  background: #132573;
  color: #fece03;
}

.cs_lang_menu a .lang-flag {
  font-size: 16px;
  line-height: 1;
}

.cs_lang_menu a .lang-name {
  flex: 1;
}

.cs_lang_menu a .lang-check {
  color: #fece03;
  font-size: 11px;
}

/* ========================================
   RTL (Arabic) Support
   ======================================== */

[dir="rtl"] body {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

[dir="rtl"] .cs_main_header_in {
  flex-direction: row-reverse;
}

[dir="rtl"] .cs_main_header_right {
  flex-direction: row-reverse;
}

[dir="rtl"] .cs_lang_dropdown {
  margin-right: 0;
  margin-left: 12px;
}

[dir="rtl"] .cs_lang_menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .cs_footer_row {
  direction: rtl;
}

[dir="rtl"] .cs_footer_widget_menu {
  padding-right: 0;
}

[dir="rtl"] .text-start {
  text-align: right !important;
}

[dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: 0.5rem !important; }
[dir="rtl"] .me-3 { margin-right: 0 !important; margin-left: 1rem !important; }
[dir="rtl"] .ms-2 { margin-left: 0 !important; margin-right: 0.5rem !important; }

[dir="rtl"] .cs_hero_content {
  text-align: right;
}

[dir="rtl"] .cs_hero_buttons {
  justify-content: flex-end;
}

[dir="rtl"] .unternehmen-card-number {
  margin-right: 0;
  margin-left: 1rem;
}

[dir="rtl"] .d-flex.align-items-start {
  flex-direction: row-reverse;
}

[dir="rtl"] .d-flex.align-items-center {
  flex-direction: row-reverse;
}

[dir="rtl"] li.d-flex {
  flex-direction: row-reverse;
  text-align: right;
}

/* Process flowchart arrows in RTL */
[dir="rtl"] .proc-arrow {
  transform: scaleX(-1);
}

/* ========================================
   Process Timeline RTL: keep left-side layout, right-align text
   ======================================== */

[dir="rtl"] .tl-title {
  text-align: right;
}

[dir="rtl"] .tl-body {
  text-align: right;
}

[dir="rtl"] .process-timeline::before {
  display: none;
}

/* ========================================
   Complaint Banner Styles
   ======================================== */

.cs_complaint_banner {
  background: linear-gradient(135deg, #132573 0%, #1e3a8a 100%);
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.cs_complaint_banner .banner_text h4 {
  color: #fece03;
  font-weight: 700;
  margin-bottom: 6px;
}

.cs_complaint_banner .banner_text p {
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.cs_complaint_banner .banner_btn {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cs_complaint_banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   Process Flowchart Styles
   ======================================== */

.proc-section {
  padding: 60px 0;
}

.proc-section.bg-alt {
  background: #f8f9fa;
}

.proc-flowchart {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  align-items: stretch;
  margin-top: 40px;
}

.proc-step {
  position: relative;
  flex: 1 1 140px;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.proc-step-inner {
  background: #fff;
  border: 2px solid #132573;
  border-radius: 12px;
  padding: 20px 14px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(19,37,115,0.10);
  transition: transform 0.2s, box-shadow 0.2s;
}

.proc-step-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(19,37,115,0.18);
}

.proc-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #132573;
  color: #fece03;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proc-step-title {
  font-weight: 700;
  font-size: 14px;
  color: #132573;
  line-height: 1.3;
}

.proc-step-text {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.proc-arrow {
  display: flex;
  align-items: center;
  align-self: center;
  padding: 0 6px;
  color: #fece03;
  font-size: 22px;
  flex-shrink: 0;
}

/* Recognition steps get accent color */
.proc-recog .proc-step-num {
  background: #09bbaf;
  color: #fff;
}

.proc-recog .proc-step-inner {
  border-color: #09bbaf;
}

@media (max-width: 767px) {
  .proc-flowchart {
    flex-direction: column;
    align-items: center;
  }
  .proc-step {
    max-width: 280px;
    width: 100%;
  }
  .proc-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
  [dir="rtl"] .proc-arrow {
    transform: rotate(90deg);
  }
}

/* ========================================
   Quick Link Cards (Process & Complaint)
   ======================================== */

.cs_quick_card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-top: 5px solid #132573;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cs_quick_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.13);
}

.cs_quick_card--process { border-top-color: #132573; }
.cs_quick_card--complaint { border-top-color: #e53935; }

.cs_quick_card_icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs_quick_card--process .cs_quick_card_icon {
  background: rgba(19,37,115,0.1);
  color: #132573;
}

.cs_quick_card--complaint .cs_quick_card_icon {
  background: rgba(229,57,53,0.1);
  color: #e53935;
}

.cs_quick_card_body h4 {
  font-size: 18px;
  font-weight: 700;
  color: #132573;
  margin-bottom: 6px;
}

.cs_quick_card--complaint .cs_quick_card_body h4 { color: #e53935; }

.cs_quick_card_body p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.cs_quick_card_btn { margin-top: auto; }

.cs_quick_btn {
  display: inline-block;
  padding: 10px 24px;
  background: #132573;
  color: #fece03 !important;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.cs_quick_btn:hover { background: #0e1c5a; }

.cs_quick_btn--outline {
  background: #fff;
  color: #e53935 !important;
  border: 2px solid #e53935;
}

.cs_quick_btn--outline:hover {
  background: #e53935;
  color: #fff !important;
}

/* ========================================
   Footer complaint highlight link
   ======================================== */
.cs_footer_widget_menu li a.complaint-link {
  color: #fece03 !important;
  font-weight: 600;
}

.cs_footer_widget_menu li a.complaint-link:hover {
  text-decoration: underline;
}
