/* ==========================================================================
   dedatec Klimatechnik Main Stylesheet
   ========================================================================== */

/* 1. Design Tokens & CSS Variables */
:root {
  --color-primary: #0056b3;
  --color-primary-hover: #004085;
  --color-navy: #0a1c3a;
  --color-bg-light: #f0f5fa;
  --color-grey-light: #f8f9fa;
  --color-text: #4a5568;
  --color-border: #e2e8f0;
  --color-white: #ffffff;

  --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  --container-width: 1340px;
  --container-padding: 1.5rem;

  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 80px;
}

/* 2. Global Resets & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  color: var(--color-navy);
  margin-top: 0;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem var(--space-md);
  z-index: 99999;
  transition: top var(--transition-fast);
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--color-white);
}

/* 3. Utility Classes */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  width: 100%;
}

.section-padding {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.bg-light {
  background-color: var(--color-bg-light);
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-headings);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  gap: var(--space-xs);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-white);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Headings with blue underline indicator */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background-color: var(--color-primary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.text-left .section-title::after {
  margin-left: 0;
}

/* 4. Layout Parts */

/* Header */
.site-header {
  height: var(--header-height);
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: position var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.header-sticky-active {
  padding-top: var(--header-height);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  max-width: 180px;
}

.logo-wrapper img {
  height: auto;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-menu a {
  color: var(--color-navy);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.15rem;
  position: relative;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-navy);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--color-primary);
}

.header-phone svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.header-cta {
  font-size: 0.85rem !important;
  padding: 0.4rem 0.8rem !important;
}

/* Larger Desktop Spacing Scale */
@media (min-width: 1400px) {
  .main-nav {
    gap: var(--space-md);
  }

  .nav-menu {
    gap: var(--space-md);
  }

  .nav-menu a {
    font-size: 1rem;
    padding: 0.5rem 0.25rem;
  }

  .header-actions {
    gap: var(--space-md);
  }

  .header-phone {
    font-size: 1rem;
  }

  .header-cta {
    font-size: 0.95rem !important;
    padding: 0.6rem 1.2rem !important;
  }
}


.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item>a::after {
  width: 100%;
}

.nav-menu .current-menu-item>a {
  color: var(--color-primary);
  font-weight: 700;
}

/* Dropdown / Submenu styling */
.nav-menu li {
  position: relative;
}

.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  list-style: none;
  min-width: 220px;
  display: none;
  z-index: 100;
  text-align: left;
}

.nav-menu .sub-menu li {
  width: 100%;
}

.nav-menu .sub-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.nav-menu .sub-menu a::after {
  display: none;
}

.nav-menu .sub-menu a:hover {
  background-color: var(--color-grey-light);
  color: var(--color-primary);
}

.nav-menu li:hover>.sub-menu,
.nav-menu li:focus-within>.sub-menu {
  display: block;
}


/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-navy);
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle svg {
  display: block;
}

/* 5. Hero & Trust Strip */
.hero-section {
  background-color: var(--color-white);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
}

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.teaser-content {
  text-align: left;
}

.teaser-content .section-title {
  text-align: left;
  display: inline-block;
  margin-top: 5px;
}

.teaser-content .section-title::after {
  margin: 0.75rem 0 0;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: var(--space-md);
  color: var(--color-navy);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  color: var(--color-text);
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 450px;
  box-shadow: var(--shadow-md);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: rgba(10, 28, 58, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 3px solid var(--color-primary);
  z-index: 3;
  box-shadow: var(--shadow-subtle);
}

.hero-slider-dots {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-md);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-slider-dot.active {
  background: #ffffff;
  transform: scale(1.2);
}

/* Trust Strip */
.trust-strip {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-white);
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.trust-icon {
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.trust-text {
  font-size: 0.9rem;
  line-height: 1.3;
}

.trust-text strong {
  display: block;
  color: var(--color-navy);
  font-size: 0.95rem;
}

/* 6. Service Cards ("Unsere Leistungen") */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.service-icon {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.service-icon svg {
  width: 40px;
  height: 40px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
  color: var(--color-navy);
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--color-text);
  line-height: 1.5;
}

/* 7. Why Us Section ("Warum dedatec?") */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md) var(--space-lg);
  margin-top: var(--space-md);
}

.why-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.why-icon {
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--color-navy);
}

.why-info p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--color-text);
  line-height: 1.4;
}

/* 8. Process Section ("So läuft es ab") */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}

.process-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-number {
  background-color: var(--color-primary);
  color: var(--color-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.step-icon {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-subtle);
}

.step-icon svg {
  width: 30px;
  height: 30px;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
  color: var(--color-navy);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 0;
  max-width: 240px;
}

/* Dotted connection line between steps */
.process-grid::before {
  content: "";
  position: absolute;
  top: 67px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-image: linear-gradient(to right, var(--color-primary) 33%, rgba(255, 255, 255, 0) 0%);
  background-position: bottom;
  background-size: 8px 2px;
  background-repeat: repeat-x;
  z-index: 1;
}

/* 9. Partner/Use Cases Section */
.partner-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-lg);
  align-items: center;
}

.partner-content h2 {
  font-size: 2.25rem;
}

.partner-content p {
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.case-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.case-img {
  height: 160px;
  overflow: hidden;
}

.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.case-card:hover .case-img img {
  transform: scale(1.05);
}

.case-info {
  padding: var(--space-sm);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.case-info p {
  font-size: 0.85rem;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  flex-grow: 1;
}

.case-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--color-primary);
  font-weight: 700;
  transition: transform var(--transition-fast);
}

.case-card:hover .case-link {
  transform: translateX(3px);
}

/* 10. Contact Section */
.contact-card-panel {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.15rem;
  color: var(--color-navy);
  font-weight: 700;
}

.contact-detail-item a {
  color: var(--color-navy);
}

.contact-detail-item a:hover {
  color: var(--color-primary);
}

.contact-detail-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Forms layout inside contact panel */
.contact-form-wrapper form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group-full {
  grid-column: span 2;
}

.contact-form-wrapper input[type=text],
.contact-form-wrapper input[type=email],
.contact-form-wrapper input[type=tel],
.contact-form-wrapper select,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  transition: border-color var(--transition-fast);
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.contact-form-wrapper textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form-wrapper button[type=submit] {
  width: 100%;
  justify-content: center;
}


/* 10b. CTA Banner Section */
.cta-section {
  background: var(--color-navy);
  padding: var(--space-xl) 0;
  /* no margin — footer top-padding handles the gap */
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.cta-text-col {
  flex: 1;
  min-width: 0;
}

.cta-title {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-xs);
}

.cta-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 560px;
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

/* "Jetzt anfragen" — solid white background, navy text: clearly visible on dark */
.cta-btn-primary {
  background: #ffffff;
  color: var(--color-navy);
  border: 2px solid #ffffff;
  font-weight: 700;
}

.cta-btn-primary:hover,
.cta-btn-primary:focus {
  background: var(--color-bg-light);
  border-color: var(--color-bg-light);
  color: var(--color-navy);
}

/* Phone / email ghost button */
.cta-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.cta-btn-secondary:hover,
.cta-btn-secondary:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

@media (max-width: 768px) {
  .cta-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .cta-desc {
    margin: 0 auto;
  }

  .cta-actions {
    justify-content: center;
  }
}

/* 11. Footer */

.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-md);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-xs);
}

.footer-col h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
  bottom: 0;
  left: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-col ul a {
  color: #a0aec0;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--color-white);
}

.footer-col p {
  color: #a0aec0;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.footer-logo img {
  max-width: 160px;
  height: auto;
  margin-bottom: var(--space-md);
}

.footer-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badge svg {
  color: var(--color-primary);
  width: 50px;
  height: 50px;
  margin-bottom: var(--space-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  color: #718096;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom-links a {
  color: #718096;
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}


/* ============================================================
   12. Inner Page Templates — Premium Service Pages
   ============================================================ */

/* ----- Page Hero Banner (replaces plain page-header) ----- */
.page-hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-color: var(--color-navy);
}

.page-hero-centered {
  align-items: center;
}

.page-hero-centered .page-hero-inner {
  text-align: center;
}

.page-hero-centered .breadcrumbs-container {
  justify-content: center;
}

.page-hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.35;
  filter: saturate(0.6);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg,
      rgba(10, 28, 58, 0.92) 0%,
      rgba(0, 86, 179, 0.70) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

/* Override breadcrumbs inside dark hero */
.page-hero-banner .breadcrumbs-nav {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.6rem;
}

.page-hero-banner .breadcrumbs-nav a {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero-banner .breadcrumbs-nav a:hover {
  color: #fff;
}

.page-hero-banner .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.35);
}

.page-hero-eyebrow {
  display: inline-block;
  background: rgba(0, 86, 179, 0.18);
  border: 1px solid rgba(0, 86, 179, 0.4);
  border-radius: 20px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 0.75rem;
  color: #7db8f7;
}

.page-hero-eyebrow a {
  color: inherit;
  text-decoration: none;
}

.page-hero-eyebrow a:hover {
  text-decoration: underline;
}

.page-hero-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin-top: 0.5rem;
  margin-bottom: 0;
  line-height: 1.18;
}

.page-hero-meta {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ----- Service Intro Band ----- */
.service-intro-band {
  background: var(--color-primary);
  padding: var(--space-md) 0;
}

.service-intro-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 0;
  max-width: 860px;
}

/* ----- Service Content Layout ----- */
.service-content-section {
  padding: var(--space-xl) 0;
}

.service-layout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-lg);
  align-items: start;
}

/* ----- Main Content Column ----- */
.service-main-col {
  min-width: 0;
  /* prevent grid blowout */
}

.service-block {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 1.25rem;
}

.service-block-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 4px;
  height: 1em;
  background: var(--color-primary);
  border-radius: 2px;
}

.service-block-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
  max-height: 380px;
  box-shadow: var(--shadow-md);
}

.service-block-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-block-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
}

/* WordPress page content typography */
.service-page-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.service-page-content h2 {
  font-size: 1.65rem;
  color: var(--color-navy);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  padding-left: 1.25rem;
  position: relative;
}

.service-page-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 4px;
  height: 1em;
  background: var(--color-primary);
  border-radius: 2px;
}

.service-page-content h3 {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.service-page-content p {
  margin-bottom: var(--space-sm);
}

.service-page-content ul,
.service-page-content ol {
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
}

.service-page-content ul li,
.service-page-content ol li {
  margin-bottom: 0.4rem;
}

.service-page-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.service-page-content strong {
  color: var(--color-navy);
}

/* ----- Benefits Grid ----- */
.service-benefits-wrap {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md) var(--space-md);
  margin-top: var(--space-lg);
  border-left: 4px solid var(--color-primary);
}

.service-benefits-title {
  font-size: 1.2rem;
  color: var(--color-navy);
  margin-top: 0;
  margin-bottom: var(--space-md);
}

.service-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.service-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.service-benefit-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-benefit-icon svg {
  width: 18px;
  height: 18px;
}

/* ----- Sidebar ----- */
.service-sidebar-col {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-sidebar-card {
  background: linear-gradient(145deg, var(--color-navy) 0%, #0f2d5a 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md) var(--space-md);
  box-shadow: 0 20px 40px rgba(10, 28, 58, 0.25);
  position: relative;
  overflow: hidden;
}

.service-sidebar-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(0, 86, 179, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.service-sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.service-sidebar-icon {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #7db8f7;
}

.service-sidebar-icon svg {
  width: 22px;
  height: 22px;
}

.service-sidebar-title {
  color: #fff;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.3;
}

.service-sidebar-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: var(--space-md);
}

.service-sidebar-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: var(--space-md);
}

.service-sidebar-contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.service-sidebar-contact-link:hover {
  color: #7db8f7;
}

.service-sidebar-contact-icon {
  color: #7db8f7;
  flex-shrink: 0;
}

.service-sidebar-contact-icon svg {
  width: 18px;
  height: 18px;
}

.service-sidebar-cta {
  width: 100%;
  justify-content: center;
  background: var(--color-primary);
  border-color: var(--color-primary);
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
}

.service-sidebar-cta:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.service-sidebar-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-sidebar-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.service-sidebar-trust-list li svg {
  width: 16px;
  height: 16px;
  color: #4ade80;
  flex-shrink: 0;
}

/* ----- Related Services Sidebar Card ----- */
.service-sidebar-related {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.service-sidebar-related-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin: 0 0 var(--space-sm);
}

.service-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-related-list li {
  border-bottom: 1px solid var(--color-border);
}

.service-related-list li:last-child {
  border-bottom: none;
}

.service-related-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  color: var(--color-navy);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.service-related-list a:hover {
  color: var(--color-primary);
}

.service-related-list a svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.service-related-list a:hover svg {
  opacity: 1;
  transform: translateX(3px);
}

/* ----- Legacy page-header (kept for compatibility) ----- */
.page-header {
  background-color: var(--color-bg-light);
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs-nav {
  font-size: 0.85rem;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.breadcrumbs-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb-separator {
  color: #cbd5e0;
}

.page-title {
  margin-top: var(--space-sm);
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.content-area {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

/* ----- Responsive: Service Pages ----- */
@media (max-width: 1100px) {
  .service-layout-grid {
    grid-template-columns: 1fr 300px;
  }
}

@media (max-width: 900px) {
  .service-layout-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar-col {
    position: static;
    top: auto;
  }

  .service-sidebar-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: start;
  }

  .service-sidebar-cta {
    grid-column: span 2;
  }

  .service-sidebar-trust-list {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .page-hero-banner {
    min-height: 240px;
  }

  .service-benefits-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar-card {
    grid-template-columns: 1fr;
  }

  .service-sidebar-cta {
    grid-column: auto;
  }

  .service-sidebar-trust-list {
    grid-column: auto;
  }
}



@media (max-width: 1199px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) var(--container-padding);
    flex-direction: column;
    align-items: stretch !important;
    gap: var(--space-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .nav-menu a {
    display: block;
    padding: var(--space-xs) 0;
    font-size: 1.1rem;
  }

  .nav-menu .sub-menu {
    position: static;
    display: block;
    /* Expand submenus on mobile */
    border: none;
    box-shadow: none;
    padding-left: var(--space-sm);
    background: transparent;
  }

  .nav-menu .sub-menu li {
    border-left: 2px solid var(--color-primary);
    padding-left: var(--space-xs);
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
  }

  .header-phone {
    justify-content: center;
    padding: var(--space-xs) 0;
  }

  .header-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-md) var(--space-lg);
  }

  .footer-col:last-child {
    grid-column: span 3;
    display: flex;
    justify-content: center;
  }

  .footer-badge {
    max-width: 320px;
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .teaser-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .teaser-content {
    text-align: center !important;
  }

  .teaser-content .section-title {
    text-align: center !important;
  }

  .teaser-content .section-title::after {
    margin: 0.75rem auto 0 !important;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-md);
  }

  .process-grid::before {
    display: none;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .case-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-image-wrapper {
    height: 300px !important;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .case-cards {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .case-img {
    height: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-image-wrapper {
    height: 250px !important;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper form {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col:last-child {
    grid-column: span 1;
  }
}

/* ============================================================
   13. Service Overview Cards (sov-*)
   ============================================================ */

.sov-section {
  background: var(--color-white);
}

.sov-section-dark {
  background: var(--color-navy);
}

.sov-section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.sov-eyebrow {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.6rem;
}

.sov-eyebrow-light {
  color: #7db8f7;
}

.sov-title-light {
  color: #ffffff !important;
}

.sov-section-dark .section-title::after {
  background-color: #7db8f7;
}

/* Grid layouts */
.sov-grid {
  display: grid;
  gap: var(--space-md);
}

.sov-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.sov-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Card base */
.sov-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
}

.sov-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
}

/* Dark section card variant */
.sov-card-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.sov-card-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 86, 179, 0.6);
}

/* Photo thumbnail */
.sov-card-img {
  position: relative;
  overflow: hidden;
  height: 410px;
  flex-shrink: 0;
}

.sov-card-img-wide {
  height: 460px;
}

.sov-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s;
  filter: saturate(0.85);
}

.sov-card:hover .sov-card-img img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

.sov-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 28, 58, 0.55) 0%, transparent 65%);
  pointer-events: none;
}

/* Card body */
.sov-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Icon badge */
.sov-card-icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.sov-card-dark .sov-card-icon {
  background: rgba(0, 86, 179, 0.2);
  color: #7db8f7;
}

.sov-card:hover .sov-card-icon {
  background: var(--color-primary);
  color: #fff;
}

.sov-card-dark:hover .sov-card-icon {
  background: var(--color-primary);
  color: #fff;
}

.sov-card-icon svg {
  width: 22px;
  height: 22px;
}

/* Title */
.sov-card-title {
  font-size: 1.15rem;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  transition: color var(--transition-fast);
}

.sov-card-dark .sov-card-title {
  color: #fff;
}

/* Description */
.sov-card-text {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-sm);
}

.sov-card-dark .sov-card-text {
  color: rgba(255, 255, 255, 0.65);
}

/* Link arrow */
.sov-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.sov-card-dark .sov-card-link {
  color: #7db8f7;
}

.sov-card-link:hover {
  gap: 0.7rem;
  color: var(--color-primary-hover);
}

.sov-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.sov-card-link:hover svg {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 992px) {
  .sov-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Career & Job Postings (/karriere/)
   ========================================================================== */

/* Benefits Grid */
.career-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.benefit-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-card .benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.benefit-card h3 {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Job Filters */
.job-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.job-filter-btn {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.job-filter-btn:hover,
.job-filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* Jobs Cards Grid */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.job-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-sky-blue);
}

.job-card-header {
  margin-bottom: 15px;
}

.job-card-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.job-card-badges .badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-dept {
  background: rgba(0, 86, 179, 0.1);
  color: var(--color-primary);
}

.badge-type {
  background: #f1f5f9;
  color: var(--color-navy);
}

.job-card-title {
  font-size: 1.35rem;
  margin: 0;
}

.job-card-title a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.job-card-title a:hover {
  color: var(--color-primary);
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.job-card-salary {
  background: #ecfdf5;
  color: #047857;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.job-card-summary {
  color: var(--color-text-light);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex: 1;
}

.job-card-footer {
  margin-top: auto;
}

/* Express Apply Section */
.express-apply-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.express-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bullet-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.bullet-icon {
  font-size: 1.6rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: var(--radius-md);
}

.bullet-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-white);
}

.bullet-item p {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 0.92rem;
}

.express-apply-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.career-form .form-group {
  margin-bottom: 18px;
}

.career-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e2e8f0;
}

.career-form input[type="text"],
.career-form input[type="email"],
.career-form input[type="tel"],
.career-form select,
.career-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  font-size: 0.98rem;
  transition: border-color var(--transition-fast);
}

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(15, 23, 42, 0.85);
}

.career-form select option {
  background: #0f172a;
  color: #fff;
}

.career-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--color-primary);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  margin-top: 12px;
  color: var(--color-text-light);
  line-height: 1.6;
  font-size: 1rem;
}

@media (max-width: 992px) {
  .career-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  .express-apply-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .career-benefits-grid {
    grid-template-columns: 1fr;
  }
  .career-form .form-row {
    grid-template-columns: 1fr;
  }
  .express-apply-card {
    padding: 22px;
  }
}

@media (max-width: 600px) {

  .sov-grid-3,
  .sov-grid-2 {
    grid-template-columns: 1fr;
  }

  .sov-card-img {
    height: 180px;
  }
}

/* Helper background & text classes */
.bg-navy {
  background-color: var(--color-navy) !important;
  color: var(--color-white);
}

.bg-light {
  background-color: var(--color-bg-light) !important;
}

.text-white {
  color: var(--color-white) !important;
}

.eyebrow {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin-bottom: 8px !important;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* Single Job Posting Page Styling */
.single-job-hero {
  background: linear-gradient(135deg, #0a1c3a 0%, #003366 100%);
  padding: 60px 0 50px;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.single-job-hero .hero-breadcrumbs {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 15px;
}

.single-job-hero .hero-breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.single-job-hero .hero-breadcrumbs a:hover {
  color: var(--color-sky-blue);
}

.single-job-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.25;
}

.single-job-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-job-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-job-pill.highlight {
  background: #10b981;
  border-color: #10b981;
}

/* Detail Main & Blocks */
.job-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.job-card-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 35px;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 30px;
}

.job-card-box h3 {
  font-size: 1.4rem;
  color: var(--color-navy);
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-bg-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.icon-circle.check {
  background: rgba(0, 86, 179, 0.1);
  color: var(--color-primary);
}

.icon-circle.star {
  background: #fef3c7;
  color: #d97706;
}

.job-styled-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.job-styled-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-navy);
}

.job-styled-list li .item-text {
  flex: 1;
}

/* Sticky Sidebar */
.sticky-sidebar-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.sidebar-fact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--color-border);
}

.sidebar-fact-item:last-child {
  border-bottom: none;
}

.sidebar-fact-item .fact-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.sidebar-fact-item label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-light);
  display: block;
}

.sidebar-fact-item strong {
  font-size: 1rem;
  color: var(--color-navy);
  display: block;
  margin-top: 2px;
}

/* Express Form Section */
.career-express-apply {
  background-color: var(--color-navy) !important;
  color: var(--color-white) !important;
}

.express-apply-card {
  background: #0f2347 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.career-form label {
  color: #f1f5f9 !important;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.career-form input[type="text"],
.career-form input[type="email"],
.career-form input[type="tel"],
.career-form select,
.career-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #09152b !important;
  color: #ffffff !important;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.career-form input::placeholder,
.career-form textarea::placeholder {
  color: #94a3b8;
}

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
  outline: none;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.career-form select option {
  background: #09152b;
  color: #ffffff;
}

.career-form .checkbox-group label {
  color: #cbd5e1 !important;
  font-weight: normal;
  line-height: 1.5;
}

/* ==========================================================================
   Legal Pages & Cookie Management Styles
   ========================================================================== */
.legal-container {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
}

.legal-content {
  line-height: 1.7;
  color: #2d3748;
  font-size: 1.02rem;
}

.legal-content h1 {
  font-size: 2.25rem;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.legal-content h2 {
  font-size: 1.45rem;
  color: var(--color-navy);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.legal-content h3 {
  font-size: 1.18rem;
  color: var(--color-navy);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.legal-content p {
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.4rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
  word-break: break-all;
  transition: color var(--transition-fast);
}

.legal-content a:hover,
.legal-content a:focus {
  color: var(--color-primary-hover);
  text-decoration: none;
}

.legal-section {
  margin-bottom: var(--space-md);
}

.legal-box {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.legal-todo-notice {
  background-color: #fffbeeb0;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  margin: 12px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legal-todo-notice code {
  background: #fef3c7;
  color: #92400e;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Cookie Settings Component UI */
.cookie-settings-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.cookie-category-item {
  display: flex;
  flex-direction: column;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-category-item:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.cookie-category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 34px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--color-primary);
}

input:focus + .cookie-slider {
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.3);
}

input:checked + .cookie-slider:before {
  transform: translateX(24px);
}

input:disabled + .cookie-slider {
  background-color: #94a3b8;
  cursor: not-allowed;
}

.cookie-badge-locked {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  background-color: #e2e8f0;
  color: #475569;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .legal-content h1 {
    font-size: 1.8rem;
  }
  .legal-content h2 {
    font-size: 1.3rem;
  }
  .cookie-category-header {
    flex-direction: row;
    align-items: center;
  }
  .cookie-action-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   Lightbox Modal & Gallery Swipe Styling
   ========================================================================== */
.dedatec-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dedatec-lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.dedatec-lightbox-modal .lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 38, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dedatec-lightbox-modal .lb-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  color: #ffffff;
}

.dedatec-lightbox-modal .lb-counter {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 18px;
  border-radius: var(--radius-full, 20px);
  letter-spacing: 0.5px;
}

.dedatec-lightbox-modal .lb-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.dedatec-lightbox-modal .lb-close:hover {
  background: rgba(239, 68, 68, 0.85);
  transform: scale(1.1);
}

.dedatec-lightbox-modal .lb-body {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  user-select: none;
  touch-action: pan-y;
}

.dedatec-lightbox-modal .lb-img-container {
  max-width: 85vw;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}

.dedatec-lightbox-modal .lb-img-container:active {
  cursor: grabbing;
}

.dedatec-lightbox-modal #lb-main-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.dedatec-lightbox-modal .lb-nav {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 20;
  line-height: 1;
}

.dedatec-lightbox-modal .lb-nav:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.dedatec-lightbox-modal .lb-thumbs {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 1.2rem 2rem;
  overflow-x: auto;
  max-width: 100%;
}

.dedatec-lightbox-modal .lb-thumb-btn {
  background: transparent;
  border: 2px solid transparent;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  width: 64px;
  height: 48px;
  opacity: 0.5;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.dedatec-lightbox-modal .lb-thumb-btn.active,
.dedatec-lightbox-modal .lb-thumb-btn:hover {
  opacity: 1;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.dedatec-lightbox-modal .lb-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover overlay style for gallery items in page */
.ref-gallery-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ref-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.ref-gallery-item:hover img {
  transform: scale(1.05);
}
.ref-gallery-item:hover .ref-gallery-overlay {
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .dedatec-lightbox-modal .lb-nav {
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }
  .dedatec-lightbox-modal .lb-header {
    padding: 0.8rem 1rem;
  }
  .dedatec-lightbox-modal .lb-body {
    padding: 0 0.5rem;
  }
  .dedatec-lightbox-modal .lb-img-container {
    max-width: 95vw;
    max-height: 70vh;
  }
}