/* =========================================================
   KRAUCK SYSTEMS - HARDCORE REDESIGN 2026
   Modern typography, improved layout, professional polish
   ========================================================= */

/* ─────────────────────────────────────────────────────────
   1. FONT SYSTEM OVERRIDE
   Replace PT Sans Narrow + Open Sans with
   Plus Jakarta Sans (headings) + Inter (body)
   ───────────────────────────────────────────────────────── */
:root {
  /* Body typography */
  --font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-size: 16px;
  --line-height: 1.7;
  --font-weight: 400;
  --bold-font-weight: 600;

  /* Heading typography — Plus Jakarta Sans */
  --h1-font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  --h1-font-size: clamp(2.6rem, 5vw, 4.2rem);
  --h1-line-height: 1.05;
  --h1-font-weight: 800;
  --h1-bold-font-weight: 800;
  --h1-letter-spacing: -0.03em;
  --h1-text-transform: none;

  --h2-font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  --h2-font-size: clamp(2rem, 3.5vw, 3rem);
  --h2-line-height: 1.1;
  --h2-font-weight: 700;
  --h2-bold-font-weight: 800;
  --h2-letter-spacing: -0.025em;
  --h2-text-transform: none !important;

  --h3-font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  --h3-font-size: clamp(1.25rem, 2vw, 1.6rem);
  --h3-line-height: 1.25;
  --h3-font-weight: 700;
  --h3-bold-font-weight: 800;
  --h3-letter-spacing: -0.02em;
  --h3-text-transform: none !important;

  --h4-font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  --h4-font-size: 1.2rem;
  --h4-line-height: 1.3;
  --h4-font-weight: 600;
  --h4-letter-spacing: -0.015em;

  --h5-font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  --h5-font-size: 1rem;
  --h5-line-height: 1.35;
  --h5-font-weight: 600;
  --h5-letter-spacing: -0.01em;

  --h6-font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  --h6-font-size: 0.875rem;
  --h6-line-height: 1.4;
  --h6-font-weight: 600;
  --h6-letter-spacing: 0em;

  /* Design tokens */
  --ks-red: #cc0000;
  --ks-red-bright: #e60000;
  --ks-red-gradient: linear-gradient(135deg, #cc0000 0%, #ff4444 100%);
  --ks-dark-1: #0a0a0a;
  --ks-dark-2: #111111;
  --ks-dark-3: #161616;
  --ks-dark-4: #1c1c1c;
  --ks-dark-5: #242424;
  --ks-border: rgba(255, 255, 255, 0.08);
  --ks-border-accent: rgba(204, 0, 0, 0.35);
  --ks-text-primary: #ffffff;
  --ks-text-secondary: #b0b8c8;
  --ks-text-muted: #6b7280;
  --ks-glow-red: 0 0 40px rgba(204, 0, 0, 0.25);
  --ks-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.3);
  --ks-radius: 8px;
  --ks-radius-lg: 12px;
  --ks-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─────────────────────────────────────────────────────────
   2. GLOBAL BASE IMPROVEMENTS
   ───────────────────────────────────────────────────────── */
html, body, .l-canvas {
  background-color: #0f0f0f !important;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body,
.wpb_text_column,
.wpb_text_column p,
.w-iconbox-text,
.w-iconbox-text p,
p {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ks-text-secondary);
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6,
.w-text-h, .w-text-value,
.w-iconbox-title,
.w-counter-title,
.w-nav-title,
.item-title-x3 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif !important;
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 700 !important;
  text-transform: none !important;
}
h3 {
  font-weight: 700 !important;
  text-transform: none !important;
}

/* ─────────────────────────────────────────────────────────
   3. NAVIGATION BAR - Modern refinements
   ───────────────────────────────────────────────────────── */
.w-nav-anchor .w-nav-title {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

/* ─────────────────────────────────────────────────────────
   4. SECTION LABEL UTILITY CLASS
   ───────────────────────────────────────────────────────── */
.ks-section-label {
  display: inline-block;
  font-family: "Inter", sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.35em !important;
  text-transform: uppercase !important;
  color: var(--ks-red) !important;
  margin-bottom: 1rem !important;
}

/* ─────────────────────────────────────────────────────────
   5. SERVICES SECTION — Card redesign
   ───────────────────────────────────────────────────────── */
#services {
  background: var(--ks-dark-3) !important;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* Remove any light background leaking in */
#services .l-section-overlay,
#services .vc_column-inner,
#services .wpb_column {
  background: transparent !important;
}

/* Service cards */
#services .w-iconbox {
  background: var(--ks-dark-4) !important;
  border: 1px solid var(--ks-border) !important;
  border-radius: var(--ks-radius-lg) !important;
  padding: 2rem 1.75rem !important;
  transition: var(--ks-transition) !important;
  height: 100% !important;
}

#services .w-iconbox:hover {
  border-color: var(--ks-border-accent) !important;
  transform: translateY(-4px) !important;
  box-shadow: var(--ks-shadow-card), 0 0 0 1px rgba(204,0,0,0.15) !important;
  background: var(--ks-dark-5) !important;
}

/* Icon wrapper */
#services .w-iconbox-icon {
  width: 52px !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  background: rgba(204, 0, 0, 0.1) !important;
  border: 1px solid rgba(204, 0, 0, 0.2) !important;
  margin-bottom: 1.25rem !important;
  flex-shrink: 0 !important;
}

#services .w-iconbox-icon i {
  font-size: 1.4rem !important;
  color: var(--ks-red) !important;
}

/* Separator line under icon */
#services .w-iconbox-meta {
  position: relative !important;
}

#services .w-iconbox-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin-bottom: 0.75rem !important;
}

#services .w-iconbox-text p {
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  color: var(--ks-text-secondary) !important;
  margin: 0 !important;
}

/* Services header */
.ks-services-header {
  text-align: center !important;
  padding-bottom: 3.5rem !important;
  width: 100% !important;
}

.ks-services-header p {
  font-family: "Inter", sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.35em !important;
  text-transform: uppercase !important;
  color: var(--ks-red) !important;
  margin-bottom: 0.75rem !important;
  line-height: 1 !important;
}

.ks-services-header h2 {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: clamp(2rem, 3.5vw, 2.8rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.03em !important;
  margin: 0 !important;
}

/* ─────────────────────────────────────────────────────────
   6. WELTWEIT UNIQUE SERVICES BANNER
   ───────────────────────────────────────────────────────── */
.us_custom_b4851f87 .w-text-value {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  word-spacing: 0.35em !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: auto !important;
}

.us_custom_5257f888 .w-text-value {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: auto !important;
}

.us_custom_b4851f87 .w-text-h {
  word-break: normal !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  display: block !important;
}

/* Reduce separator heights in WELTWEIT banner section */
.l-section:has(.us_custom_b4851f87) {
  padding-top: 0.5rem !important;
  padding-bottom: 2.5rem !important;
}

.l-section:has(.us_custom_b4851f87) .w-separator.size_medium,
.l-section:has(.us_custom_b4851f87) .w-separator.size_medium:empty {
  height: 1rem !important;
  min-height: 0 !important;
}

/* Fallback for browsers without :has() — target by specific classes */
.us_custom_b4851f87,
.us_custom_5257f888 {
  margin-top: 0 !important;
}

/* ─────────────────────────────────────────────────────────
   7. DATAWALL SECTIONS - Better visual treatment
   ───────────────────────────────────────────────────────── */
.section-title {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
}

.transition-title {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

/* ─────────────────────────────────────────────────────────
   8. DATAWALL DETAIL SECTION
   ───────────────────────────────────────────────────────── */
.datawall-detail-section {
  background: linear-gradient(180deg, #141414 0%, #0c0c0c 100%) !important;
  padding: 60px 0 !important;
}

.datawall-detail-title {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem) !important;
  letter-spacing: -0.025em !important;
  text-transform: none !important;
  color: #ffffff !important;
}

/* ─────────────────────────────────────────────────────────
   9. ABOUT SECTION
   ───────────────────────────────────────────────────────── */
#about {
  background: var(--ks-dark-3) !important;
  position: relative !important;
}

#about::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,0,0,0.4), transparent);
  position: absolute;
  top: 0;
  left: 0;
}

/* About section header styles */
#about .l-section-h > div:first-child h2 {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

#about .wpb_text_column p {
  color: var(--ks-text-secondary) !important;
  line-height: 1.8 !important;
  font-size: 0.95rem !important;
}

/* The "Pionier — Visionär" / "Pioneer - Visionary" heading */
#about h2 {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
}

/* ─────────────────────────────────────────────────────────
   10. PROJECT LIFECYCLE SECTION
   ───────────────────────────────────────────────────────── */
#list-item-wrapper,
.iList-outer-wrapper,
#iList-outer-wrapper {
  background: transparent !important;
}

#qcld-list-holder {
  background: #000000 !important;
}

/* iList items */
.single-item {
  transition: background 0.25s ease !important;
}

/* Phase titles */
.item-title-x3 {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

/* ─────────────────────────────────────────────────────────
   11. REFERENCES SECTION
   ───────────────────────────────────────────────────────── */
#references {
  background-color: #0b0d17 !important;
}

#references h2 .w-text-value {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  word-spacing: 0.35em !important;
  color: #ffffff !important;
}

#references .wpb_text_column p {
  color: var(--ks-text-secondary) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

/* Reference photo grid */
#references [style*="grid-template-columns: repeat(3, 1fr)"] > div {
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}

#references [style*="grid-template-columns: repeat(3, 1fr)"] > div:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6) !important;
}

/* Logo carousel container */
.w-grid.type_carousel {
  background: #0f0f0f !important;
  padding: 1.5rem 0 !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

/* Logo carousel items - transparent background on dark site */
.w-grid-item .w-grid-item-h {
  padding: 0.6rem 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border-radius: 4px !important;
  margin: 0 0.4rem !important;
  height: 68px !important;
}

.w-grid-item img {
  filter: opacity(0.85) !important;
  transition: filter 0.3s ease !important;
  max-height: 42px !important;
  max-width: 130px !important;
  width: auto !important;
  object-fit: contain !important;
}

.w-grid-item:hover img {
  filter: opacity(1) !important;
}

/* ─────────────────────────────────────────────────────────
   12. COUNTER SECTION - Complete font override
   ───────────────────────────────────────────────────────── */
.clean-counter-section {
  background: transparent !important;
  padding: 80px 0 !important;
  border-top: 1px solid var(--ks-border) !important;
  border-bottom: 1px solid var(--ks-border) !important;
}

.clean-counter-number {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(2.5rem, 4.25vw, 4.25rem) !important;
  letter-spacing: -0.04em !important;
  background: linear-gradient(135deg, #cc0000 0%, #ff4444 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.clean-counter-label {
  font-family: "Inter", sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--ks-text-muted) !important;
  margin-top: 0.5rem !important;
}

.clean-counter-item {
  padding: 0 1.5rem !important;
}

.clean-counter-item:not(:last-child) {
  border-right: 1px solid var(--ks-border) !important;
}

@media (max-width: 768px) {
  .clean-counter-item {
    border-right: none !important;
    border-bottom: 1px solid var(--ks-border) !important;
    padding: 1.5rem !important;
  }
  .clean-counter-item:last-child {
    border-bottom: none !important;
  }
}

/* ─────────────────────────────────────────────────────────
   13. CONTACT CTA SECTION
   ───────────────────────────────────────────────────────── */
.ks-contact-cta-section {
  background: linear-gradient(135deg, var(--ks-dark-2) 0%, var(--ks-dark-3) 100%) !important;
  border-top: 1px solid var(--ks-border) !important;
  border-bottom: 1px solid var(--ks-border) !important;
}

.ks-contact-cta-section h2 {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

/* CTA button */
a[href^="mailto"][style*="background"] {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  border-radius: 6px !important;
  font-size: 0.875rem !important;
}

/* ─────────────────────────────────────────────────────────
   14. FOOTER IMPROVEMENTS
   ───────────────────────────────────────────────────────── */
.l-footer p,
.l-footer a,
.l-footer h4 {
  font-family: "Inter", sans-serif !important;
}

/* ─────────────────────────────────────────────────────────
   15. BUTTON GLOBAL REDESIGN
   ───────────────────────────────────────────────────────── */
.us-btn-style_1,
button[type=submit]:not(.w-btn),
input[type=submit]:not(.w-btn) {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.04em !important;
  border-radius: 6px !important;
}

/* ─────────────────────────────────────────────────────────
   16. HERO SECTION — typography upgrades
   ───────────────────────────────────────────────────────── */
.us_custom_ba299498,
.us_custom_0b488431 {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  word-spacing: 0.2em !important;
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8) !important;
  margin-bottom: 0 !important;
}

.us_custom_ba299498 p,
.us_custom_0b488431 p {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  word-spacing: 0.2em !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8) !important;
}

/* EN version hero text — match DE version prominence */
.us_custom_63a4e1de {
  color: #ffffff !important;
  text-align: center !important;
  font-size: 50px !important;
  line-height: 80px !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  margin-bottom: 0 !important;
  letter-spacing: 0.05em !important;
  word-spacing: 0.2em !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8) !important;
}

.us_custom_63a4e1de p {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  letter-spacing: inherit !important;
  word-spacing: inherit !important;
  text-shadow: inherit !important;
}

/* EN mobile hero section/column/text — match DE version */
.us_custom_a63ff69b {
  margin-top: 80px !important;
}

.us_custom_e8bd48a4 {
  text-align: center !important;
  bottom: -200px !important;
}

.us_custom_9132fb80 {
  color: #ffffff !important;
  font-size: 30px !important;
  line-height: 30px !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  word-spacing: 0.2em !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8) !important;
}

.us_custom_9132fb80 p {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  letter-spacing: inherit !important;
  word-spacing: inherit !important;
  text-shadow: inherit !important;
}

@media (max-width: 600px) {
  .us_custom_e8bd48a4 {
    margin-top: 100px !important;
    margin-bottom: 150px !important;
  }
}

/* "EIN BLICK IN UNSER OFFICE" section */
.us_custom_8ba1642a .w-text-value {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  word-spacing: 0.35em !important;
}

/* ─────────────────────────────────────────────────────────
   17. GLOBAL SECTION TYPOGRAPHY OVERRIDES
   Force consistent heading styles everywhere
   ───────────────────────────────────────────────────────── */

/* Section h2 titles with red label above */
.l-section h2[style*="color:#ffffff"],
.l-section h2[style*="color: #ffffff"],
.w-text .w-text-h .w-text-value {
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

/* Red section labels */
p[style*="letter-spacing:0.4em"],
p[style*="letter-spacing: 0.4em"],
p[style*="letter-spacing:0.3em"] {
  font-family: "Inter", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.3em !important;
  font-size: 0.68rem !important;
}

/* ─────────────────────────────────────────────────────────
   18. SCROLL ANIMATIONS — subtle refinements
   ───────────────────────────────────────────────────────── */
.us_animate_this {
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ─────────────────────────────────────────────────────────
   19. MOBILE TYPOGRAPHY REFINEMENTS
   ───────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  :root {
    --font-size: 15px;
    --line-height: 1.65;
  }

  .clean-counter-number {
    font-size: 2.1rem !important;
  }

  .ks-services-header h2 {
    font-size: 1.75rem !important;
  }

  #services .w-iconbox {
    padding: 1.5rem !important;
  }
}

/* ─────────────────────────────────────────────────────────
   20. SUBTLE ACCENT ELEMENTS
   ───────────────────────────────────────────────────────── */

/* Red accent glow on section separators */
.w-separator {
  opacity: 0.6 !important;
}

/* Improve iList items */
.single-item-x17 {
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

/* Improve logo text / sl2titlefont */
.sl2titlefont {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

/* ─────────────────────────────────────────────────────────
   21. IMPROVED ICON BOXES - global
   ───────────────────────────────────────────────────────── */
.w-iconbox.style_outlined .w-iconbox-icon {
  border-color: rgba(204, 0, 0, 0.3) !important;
}

/* ─────────────────────────────────────────────────────────
   22. ENHANCED LINK STYLES
   ───────────────────────────────────────────────────────── */
.l-section a:not(.w-btn):not(.w-nav-anchor):not([class*="us-btn"]) {
  transition: color 0.2s ease !important;
}

/* ─────────────────────────────────────────────────────────
   23. DATAWALL CANVAS SECTIONS — Better empty states
   ───────────────────────────────────────────────────────── */
.visualization-canvas {
  border-radius: 4px !important;
}

.outcome-panel {
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* ─────────────────────────────────────────────────────────
   24. SELECTION COLOR
   ───────────────────────────────────────────────────────── */
::selection {
  background: rgba(204, 0, 0, 0.35) !important;
  color: #ffffff !important;
}

/* ─────────────────────────────────────────────────────────
   25. IMPREZA THEME VARIABLE OVERRIDES (final cascade)
   ───────────────────────────────────────────────────────── */
:root {
  --color-content-text: #b0b8c8;
  --color-content-heading: #ffffff;
  --color-content-faded: #6b7280;
}

/* ─────────────────────────────────────────────────────────────
   26. FIX FOOTER REVEAL BLANK GAP
   The Impreza "footer_reveal" feature positions the footer as
   fixed at the bottom, creating a large blank space at the end
   of the page. This override restores normal document flow.
   ───────────────────────────────────────────────────────────── */
@media (min-width: 950px) {
  body.footer_reveal .l-footer {
    position: static !important;
    bottom: auto !important;
  }
}

/* Remove JS-injected margin-bottom that reserves space for fixed footer */
.l-canvas {
  margin-bottom: 0 !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   HERO TEXT VERTICAL POSITION — move text lower on video
   ─────────────────────────────────────────────────────────────────────────
   Desktop hero (DE + EN): section uses valign_bottom (flex-end) with
   height_huge which adds 8rem padding-bottom. Reducing this pulls the text
   toward the very bottom of the viewport.                                  */
.l-section.full_height.valign_bottom.with_video.height_huge {
  padding-bottom: 2.5rem !important;
}

/* Mobile DE hero (us_custom_35d02291): height_huge + valign_middle grid.
   Override column alignment to flex-end so the text sits at the bottom.   */
.us_custom_35d02291 .vc_column_container {
  justify-content: flex-end !important;
}
.us_custom_35d02291 .vc_column-inner {
  padding-bottom: 3rem !important;
}

/* Mobile EN hero (us_custom_a63ff69b): same treatment as DE mobile.       */
.us_custom_a63ff69b .vc_column_container {
  justify-content: flex-end !important;
}
.us_custom_a63ff69b .vc_column-inner {
  padding-bottom: 3rem !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEADERSHIP SECTION — Premium two-person team layout
   ═══════════════════════════════════════════════════════════════════════════ */

/* Section container */
#about .ks-leadership-header {
  text-align: center;
  padding: 3.5rem 0 3rem;
  width: 100%;
}

#about .ks-leadership-header .ks-section-label {
  color: #cc0000;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
}

#about .ks-leadership-header h2 {
  color: #ffffff !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  margin: 0 0 0.75rem !important;
  letter-spacing: -0.03em !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

#about .ks-leadership-tagline {
  color: #6b7280;
  font-size: 1rem;
  font-style: italic;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* Leadership cards grid */
.ks-leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}

/* Individual leader card */
.ks-leader-card {
  background: linear-gradient(145deg, #1a1a1a 0%, #141414 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.ks-leader-card:hover {
  border-color: rgba(204, 0, 0, 0.3);
  transform: translateY(-3px);
}

/* Photo wrapper */
.ks-leader-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: #111;
}

.ks-leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.ks-leader-card:hover .ks-leader-photo {
  transform: scale(1.03);
}

/* Card content */
.ks-leader-info {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ks-leader-name-block {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1rem;
  margin-bottom: 0.25rem;
}

.ks-leader-name {
  color: #ffffff !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  margin: 0 0 0.2rem !important;
  padding-top: 0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: -0.01em !important;
}

.ks-leader-name span {
  color: #cc0000;
  font-size: 0.9em;
}

.ks-leader-credentials {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
}

.ks-leader-title {
  color: #cc0000;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.ks-leader-tagline {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
}

.ks-leader-bio {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.ks-leader-bio p {
  margin: 0;
}

.ks-bio-section {
  margin-bottom: 1.25rem;
}

.ks-bio-section:last-child {
  margin-bottom: 0;
}

.ks-bio-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e0e0e0;
  margin: 0 0 0.5rem 0;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(204, 0, 0, 0.3);
}

.ks-bio-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0 0;
}

.ks-bio-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.3rem;
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
}

.ks-bio-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #cc0000;
  font-weight: 700;
}

/* Skill pills */
.ks-leader-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.ks-leader-skills span {
  display: inline-block;
  background: rgba(204, 0, 0, 0.1);
  border: 1px solid rgba(204, 0, 0, 0.25);
  color: #e0a0a0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3em 0.75em;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
}

/* Experience vs Innovation visual accent */
.ks-leader-card--innovation {
  border-color: rgba(204, 0, 0, 0.15);
}

.ks-leader-card--innovation .ks-leader-skills span {
  background: rgba(204, 0, 0, 0.15);
  border-color: rgba(204, 0, 0, 0.35);
}

/* Mobile responsive */
@media (max-width: 900px) {
  .ks-leadership-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  #about .ks-leadership-header h2 {
    font-size: 2rem !important;
  }
}

@media (max-width: 480px) {
  .ks-leader-info {
    padding: 1.25rem;
  }
}

/* Photo harmonization overlay — dark gradient from bottom and top edges for consistent treatment */
.ks-leader-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(15,15,15,0.15) 0%, transparent 25%, transparent 65%, rgba(15,15,15,0.45) 100%),
    linear-gradient(to right, rgba(15,15,15,0.1) 0%, transparent 8%, transparent 92%, rgba(15,15,15,0.1) 100%);
  pointer-events: none;
}



/* Credentials: match name size and weight */
.ks-leader-credentials {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 0.2rem !important;
}

/* Alfred: credentials and name both white (Ing. not red) */
.ks-leader-card:not(.ks-leader-card--innovation) .ks-leader-credentials {
  color: #ffffff !important;
  margin-bottom: 0 !important;       /* no gap below Baumeister line */
  line-height: 1.0 !important;
}
.ks-leader-card:not(.ks-leader-card--innovation) .ks-leader-name {
  margin-top: 0 !important;          /* no extra gap above name */
  margin-bottom: 0.65rem !important; /* normal gap before role title */
  line-height: 1.2 !important;
}
.ks-leader-card:not(.ks-leader-card--innovation) .ks-leader-name span {
  color: #ffffff !important;
  font-size: 1em !important;
}

/* Alexander: credentials (Master of Science) - white, same size as role line */
.ks-leader-card--innovation .ks-leader-credentials {
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

/* Alexander: MSc span - white, not red */
.ks-leader-card--innovation .ks-leader-name span {
  color: #ffffff !important;
}

/* Slightly larger skill pill text for better legibility */
.ks-leader-skills span {
  font-size: 0.75rem !important;
  color: #f0b0b0 !important;
}



/* ── Goedly link in Alexander's profile ───────────────────────────────────── */
.ks-leader-inline-link {
  color: #cc0000 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  transition: color 0.2s ease !important;
}

.ks-leader-inline-link:hover {
  color: #ff3333 !important;
}

.ks-leader-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #cc0000 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 0.03em !important;
  text-decoration: none !important;
  border: 1px solid rgba(204, 0, 0, 0.4) !important;
  border-radius: 4px !important;
  padding: 0.3rem 0.7rem !important;
  margin-bottom: 1rem !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.ks-leader-link:hover {
  background: rgba(204, 0, 0, 0.08) !important;
  border-color: rgba(204, 0, 0, 0.7) !important;
  color: #ff3333 !important;
}

.ks-leader-link-icon {
  font-size: 1em;
  line-height: 1;
}


