/**
 * ============================================================
 * MIVARO-IT THEME STYLESHEET
 * ============================================================
 * 
 * Offizielle Farbpalette für Mivaro-IT Website
 * 
 * PRIMÄRFARBEN:
 *   - Primary Blue Light:  #36A9E1  (Buttons hover, Highlights, Icons)
 *   - Primary Blue Dark:   #0077B6  (Header, aktive Buttons, wichtige Bereiche)
 *   - Deep Tech Blue:      #005A82  (Hintergründe, Sections, Footer)
 * 
 * SEKUNDÄRFARBEN:
 *   - Tech White:          #F5F7FA  (Saubere Flächen, Hero-Backgrounds)
 *   - Neutral Dark:        #222831  (Text auf hellen Hintergründen)
 *   - Graphite Gray:       #4A4F54  (Sub-Text, Menüs, UI-Elemente)
 * 
 * AKZENTFARBEN:
 *   - Success Green:       #2ECC71  (Statusanzeigen, Erfolgsmeldungen)
 *   - Warning Orange:      #F39C12  (Hinweise, Alerts)
 *   - Error Red:           #E74C3C  (Fehlerzustände, Validierung)
 * 
 * UI-FARBEN:
 *   - Light Background:    #FFFFFF  (Standard-Hintergrund)
 *   - Soft Gray Background:#E9EEF2  (Section-Trennung, Cards, Panels)
 *   - Border Gray:         #D3D8DE  (Linien, Tabellen, Form-Trenner)
 * 
 * ============================================================
 */

/* ==========================================================
   1. CSS CUSTOM PROPERTIES (VARIABLES)
   ========================================================== */
:root {
  /* Fonts */
  --mivaro-title-font: "Poppins", sans-serif;
  --mivaro-body-font: "Poppins", sans-serif;
  --mivaro-style-font: "Poppins", sans-serif;
  --mivaro-icon-font: "Font Awesome 6 Pro";
  
  /* Primary Colors */
  --mivaro-primary-light: #36A9E1;
  --mivaro-primary-dark: #0077B6;
  --mivaro-deep-blue: #005A82;
  
  /* Secondary Colors */
  --mivaro-tech-white: #F5F7FA;
  --mivaro-neutral-dark: #222831;
  --mivaro-graphite: #4A4F54;
  
  /* Accent Colors */
  --mivaro-success: #2ECC71;
  --mivaro-warning: #F39C12;
  --mivaro-error: #E74C3C;
  
  /* UI Colors */
  --mivaro-bg-light: #FFFFFF;
  --mivaro-bg-soft: #E9EEF2;
  --mivaro-border: #D3D8DE;
  
  /* Override Original Template Variables */
  --ot-title-font: var(--mivaro-title-font);
  --ot-body-font: var(--mivaro-body-font);
  --ot-style-font: var(--mivaro-style-font);
  --ot-icon-font: var(--mivaro-icon-font);
  --ot-ripple-ani-duration: 2s;
  
  --ot-theme-color: var(--mivaro-primary-dark) !important;
  --ot-theme-color2: var(--mivaro-deep-blue);
  --ot-purple-color: var(--mivaro-primary-light);
  
  --ot-title-color: var(--mivaro-neutral-dark);
  --ot-title-color2: var(--mivaro-neutral-dark);
  --ot-body-color: var(--mivaro-graphite);
  --ot-body-color2: var(--mivaro-neutral-dark);
  
  --ot-border-color1: var(--mivaro-border);
  --ot-border-color2: var(--mivaro-graphite);
  --ot-border-color3: var(--mivaro-border);
  --ot-border-color4: var(--mivaro-bg-soft);
  
  --ot-smoke-color: var(--mivaro-bg-soft);
  --ot-smoke-color2: var(--mivaro-tech-white);
  --ot-white-color: var(--mivaro-bg-light);
  --ot-placeholder-color: var(--mivaro-graphite);
  --ot-light-color: var(--mivaro-bg-soft);
  --ot-light-bg-color: var(--mivaro-deep-blue);
  
  --ot-black-color: #000000;
  --ot-black-color2: var(--mivaro-neutral-dark);
  --ot-dark-bg-color: var(--mivaro-deep-blue);
  
  --ot-gray-color: var(--mivaro-bg-soft);
  --ot-gray-color2: var(--mivaro-tech-white);
  --ot-gray-color3: var(--mivaro-neutral-dark);
  
  --ot-lime-green-color: var(--mivaro-success);
  --ot-dark-green-color: #228e5a;
  --ot-bright-yellow-color: var(--mivaro-warning);
  --ot-bright-orange-color: var(--mivaro-warning);
  --ot-dark-navy-color: var(--mivaro-deep-blue);
  --ot-dark-blue-color: #003f63;
  --ot-error-color: var(--mivaro-error);
  --ot-th-border-color: var(--mivaro-border);
  
  /* Job Posting Variables */
  --jp-text: var(--mivaro-neutral-dark);
  --jp-muted: var(--mivaro-graphite);
  --jp-border: var(--mivaro-border);
  --jp-bg: var(--mivaro-tech-white);
  --jp-accent: var(--mivaro-primary-dark);
}

/* ==========================================================
   2. BASE STYLES
   ========================================================== */

/* ==========================================================
   PERFECT SMOOTH SCROLL - Optimized Scrolling System
   ========================================================== */

/* Base scroll behavior - Native smooth scrolling */
html {
  /* Enable native smooth scrolling for anchor links */
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* Touch device optimizations */
html.mivaro-touch-device {
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* Prevent horizontal overflow and bounce */
html, body {
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

/* Body base styles */
body {
  color: var(--mivaro-graphite);
  background: var(--mivaro-tech-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Smooth scroll active state */
html.mivaro-smooth-scroll-active {
  /* Enable GPU acceleration for scroll container */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Mobile-optimized scrolling */
@media (max-width: 991px) {
  html {
    scroll-padding-top: 80px;
  }
  
  /* Disable tap highlight on mobile */
  * {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Touch scrolling optimization - only on actual scroll */
  body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }
}

/* Desktop scroll padding */
@media (min-width: 992px) {
  html {
    scroll-padding-top: 100px;
  }
}

/* Scroll progress bar (optional) */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mivaro-primary-dark), var(--mivaro-primary-light));
  z-index: 10000;
  width: 0%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: none;
}

/* ==========================================================
   3. HEADER & NAVIGATION - CONSOLIDATED
   ========================================================== */
/* Header Container - Fixed Position */
.ot-header-area {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(135deg, #0077B6 0%, #005A8C 100%);
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 90, 130, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* Header content styling */
.ot-header-area .mivaro-logo-text {
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  background: none;
}

.ot-header-area .ot-main-menu > nav > ul > li a {
  color: rgba(255, 255, 255, 0.9);
}

.ot-header-area .ot-main-menu > nav > ul > li a:hover,
.ot-header-area .ot-main-menu > nav > ul > li a.active-page {
  color: #FFFFFF;
}

.ot-header-area .ot-btn-primary {
  background: #FFFFFF;
  color: #0077B6;
}

/* Main content - padding for fixed header */
main#main-content,
main {
  padding-top: 70px; /* Height of fixed header */
}

@media screen and (max-width: 991px) {
  main#main-content,
  main {
    padding-top: 65px;
  }
}

@media screen and (max-width: 576px) {
  main#main-content,
  main {
    padding-top: 60px;
  }
}

/* Breadcrumb/Page Title Bereich - wird durch #pageTitle CSS gehandhabt */

/* Text-Logo mit Gradient */
.mivaro-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  /* Fallback color for browsers that don't support background-clip */
  color: #0077B6;
  /* Gradient text */
  background: linear-gradient(135deg, #0077B6 0%, #36A9E1 50%, #005A82 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: inline-block !important;
  visibility: visible !important;
  transition: all 0.3s ease;
}

.mivaro-logo-text:hover {
  transform: scale(1.02);
  background: linear-gradient(135deg, var(--mivaro-primary-light) 0%, var(--mivaro-primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.mivaro-logo-text span {
  font-weight: 400;
  opacity: 0.9;
}

.ot-main-menu > nav > ul {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ot-main-menu > nav > ul > li {
  display: inline-block;
}

.ot-main-menu > nav > ul > li a {
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: var(--mivaro-neutral-dark) !important;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: block;
}

.ot-main-menu > nav > ul > li a:hover {
  color: var(--mivaro-primary-dark) !important;
  background: rgba(0, 119, 182, 0.08);
}

.ot-main-menu > nav > ul > li a.active-page {
  color: var(--mivaro-bg-light) !important;
  background: linear-gradient(135deg, var(--mivaro-primary-dark) 0%, var(--mivaro-primary-light) 100%);
  font-weight: 600;
}

/* Header Right Container */
.ot-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Header Button - Premium Style */
.ot-header-right .ot-btn-primary,
.ot-header-right .ot-btn-primary.btn-sm,
.ot-header-right .ot-btn-primary.black-btn {
  position: relative;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 50px !important;
  background: linear-gradient(135deg, var(--mivaro-primary-light) 0%, var(--mivaro-primary-dark) 100%) !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  line-height: 1 !important;
  min-height: auto !important;
  height: auto !important;
  white-space: nowrap;
}

.ot-header-right .ot-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--mivaro-deep-blue) 0%, var(--mivaro-primary-light) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.ot-header-right .ot-btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  border-radius: 50%;
}

.ot-header-right .ot-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 119, 182, 0.5),
              0 0 20px rgba(54, 169, 225, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ot-header-right .ot-btn-primary:hover::before {
  opacity: 1;
}

.ot-header-right .ot-btn-primary:hover::after {
  transform: translate(-50%, -50%) scale(15);
}

.ot-header-right .ot-btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

/* Scrolled header button adjustment */
.ot-header-area.scrolled .ot-header-right .ot-btn-primary {
  box-shadow: 0 4px 20px rgba(0, 119, 182, 0.4);
}

/* Header button icon animation */
.ot-header-right .ot-btn-primary i {
  transition: transform 0.3s ease;
}

.ot-header-right .ot-btn-primary:hover i {
  transform: translateX(3px) rotate(-15deg);
  animation: rocketShake 0.5s ease-in-out;
}

@keyframes rocketShake {
  0%, 100% { transform: translateX(3px) rotate(-15deg); }
  25% { transform: translateX(5px) rotate(-20deg); }
  50% { transform: translateX(3px) rotate(-10deg); }
  75% { transform: translateX(5px) rotate(-20deg); }
}

/* Header Login Button */
.header-login-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  background: rgba(0, 119, 182, 0.06);
  border: 1px solid rgba(0, 119, 182, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mivaro-primary-dark);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.header-login-btn i {
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.header-login-btn:hover {
  color: white;
  background: var(--mivaro-primary-dark);
  border-color: var(--mivaro-primary-dark);
}

.header-login-btn:hover i {
  transform: scale(1.1);
}

/* Scrolled header login button */
.ot-header-area.scrolled .header-login-btn {
  background: rgba(0, 119, 182, 0.08);
  border-color: rgba(0, 119, 182, 0.15);
}

.ot-header-area.scrolled .header-login-btn:hover {
  color: white;
  background: var(--mivaro-primary-dark);
  border-color: var(--mivaro-primary-dark);
}

/* Footer Login Link */
.footer-login-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.footer-login-link i {
  font-size: 0.8rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-login-link:hover i {
  opacity: 1;
}

/* Mobile Menu Toggle */
.ot-offcanvas-toogle {
  background: linear-gradient(135deg, var(--mivaro-primary-dark) 0%, var(--mivaro-primary-light) 100%);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.25);
}

.ot-offcanvas-toogle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

.ot-offcanvas-toogle:active {
  transform: scale(0.95);
}

.ot-offcanvas-toogle i {
  font-size: 1.3rem;
}

/* ==========================================================
   4. BUTTONS
   ========================================================== */
.ot-btn-primary {
  font-weight: 400;
  text-transform: none;
  background: var(--mivaro-primary-dark);
  border-color: var(--mivaro-primary-dark);
  color: var(--mivaro-bg-light);
  transition: all 0.3s ease;
}

.ot-btn-primary:hover {
  background: var(--mivaro-primary-light);
  border-color: var(--mivaro-primary-light);
  color: var(--mivaro-bg-light);
}

.ot-btn-primary.grey-btn {
  background: var(--mivaro-tech-white);
  color: var(--mivaro-primary-dark);
  border-color: var(--mivaro-border);
}

.ot-btn-primary.grey-btn:hover {
  background: var(--mivaro-bg-soft);
  color: var(--mivaro-primary-dark);
}

.ot-btn-primary.black-btn {
  background: linear-gradient(135deg, var(--mivaro-primary-light) 0%, var(--mivaro-primary-dark) 100%);
  border: none;
  color: var(--mivaro-bg-light);
}

.ot-btn-primary.black-btn:hover {
  background: linear-gradient(135deg, var(--mivaro-deep-blue) 0%, var(--mivaro-primary-light) 100%);
  border: none;
}

/* ==========================================================
   5. HERO & BREADCRUMB
   ========================================================== */

/* Hero Badge Row */
.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.1) 0%, rgba(54, 169, 225, 0.15) 100%);
  border: 1px solid rgba(0, 119, 182, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mivaro-primary-dark);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-badge i {
  font-size: 0.9rem;
  color: var(--mivaro-primary-light);
}

.hero-badge:hover {
  background: linear-gradient(135deg, var(--mivaro-primary-dark) 0%, var(--mivaro-primary-light) 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
}

.hero-badge:hover i {
  color: white;
}

@media (max-width: 576px) {
  .hero-badge-row {
    gap: 8px;
    margin-bottom: 20px;
  }
  
  .hero-badge {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
  
  .hero-badge i {
    font-size: 0.8rem;
  }
}

.ot-hero-subtitle {
  font-weight: 400;
  text-transform: none;
}

.ot-hero-title {
  font-weight: 400;
  font-size: 39px;
  line-height: 1.4;
}

/* Header Spacer - Platzhalter für fixed Header */
.mivaro-header-spacer {
  height: 70px;
}

/* Header Spacer wird nicht mehr benötigt - main hat jetzt padding-top */

/* Job Hero Styling */
@media (max-width: 767px) {
  .job-status-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    gap: 6px;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .job-status-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    gap: 5px;
    margin-top: 5px;
  }
  
  .job-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }
}

/* Legal Pages (Datenschutz, Impressum) */
.ot-legal-area {
  padding: var(--space-2xl, 80px) 0;
}

.ot-legal-content {
  background: var(--mivaro-bg-light);
  padding: clamp(25px, 5vw, 50px);
  border-radius: clamp(12px, 2vw, 20px);
  box-shadow: 0 10px 40px rgba(0, 90, 130, 0.08);
}

.ot-legal-content h3 {
  font-size: var(--fs-xl, 1.5rem);
  color: var(--mivaro-neutral-dark);
  margin-top: var(--space-lg, 30px);
  margin-bottom: var(--space-sm, 15px);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mivaro-primary-light);
}

.ot-legal-content h3:first-child {
  margin-top: 0;
}

.ot-legal-content h4 {
  font-size: var(--fs-lg, 1.25rem);
  color: var(--mivaro-neutral-dark);
  margin-top: var(--space-md, 20px);
  margin-bottom: var(--space-xs, 10px);
}

.ot-legal-content p {
  margin-bottom: var(--space-sm, 15px);
  line-height: 1.7;
}

.ot-legal-content a {
  color: var(--mivaro-primary-dark);
  transition: color 0.3s ease;
}

.ot-legal-content a:hover {
  color: var(--mivaro-primary-light);
}

/* Page Header / Breadcrumb - Elegantes Design */
.mivaro-page-header {
  background: linear-gradient(135deg, var(--mivaro-deep-blue) 0%, var(--mivaro-primary-dark) 50%, #004466 100%);
  padding: 50px 0 55px;
  position: relative;
  overflow: hidden;
}

/* Geometrische Muster im Hintergrund */
.mivaro-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(54, 169, 225, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 40% 40%, rgba(54, 169, 225, 0.1) 0%, transparent 30%);
  pointer-events: none;
}

/* Dezente Linie unten */
.mivaro-page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--mivaro-primary-light) 20%, 
    var(--mivaro-primary-light) 80%, 
    transparent 100%);
}

/* Breadcrumb Navigation */
.mivaro-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.mivaro-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mivaro-breadcrumb a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.mivaro-breadcrumb-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
}

.mivaro-breadcrumb-current {
  color: var(--mivaro-primary-light);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Seitentitel */
.mivaro-page-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  display: inline-block;
}

.mivaro-page-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--mivaro-primary-light), transparent);
  border-radius: 2px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .mivaro-page-header {
    padding: 35px 0 40px;
  }
  
  .mivaro-page-title {
    font-size: 1.8rem;
  }
  
  .mivaro-breadcrumb {
    padding: 8px 15px;
    gap: 8px;
  }
  
  .mivaro-breadcrumb a,
  .mivaro-breadcrumb-current {
    font-size: 0.85rem;
  }
}

/* Extended Page Header (für Karriere-Seite etc.) */
.mivaro-page-header-extended {
  padding-bottom: 60px;
}

.mivaro-page-subtitle {
  margin-top: 25px;
}

.mivaro-page-subtitle h2 {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 15px 0;
}

.mivaro-page-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
  max-width: 600px;
}

.mivaro-job-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.mivaro-job-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: 50px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.mivaro-job-tag i {
  color: var(--mivaro-primary-light);
  font-size: 0.85rem;
}

@media screen and (max-width: 768px) {
  .mivaro-page-header-extended {
    padding-bottom: 45px;
  }
  
  .mivaro-page-subtitle h2 {
    font-size: 1.2rem;
  }
  
  .mivaro-job-tag {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

/* Legacy Support - Falls alte Klassen noch verwendet werden */
#pageTitle {
  display: none;
}

/* Einheitliche Abstände werden per inline-style in jeder HTML-Datei gesetzt */

/* ==========================================================
   6. SECTIONS & CONTENT
   ========================================================== */
.ot-sec-text {
  text-transform: none;
  color: var(--mivaro-graphite);
}

.ot-section-title {
  font-weight: 400;
  color: var(--mivaro-neutral-dark);
}

.ot-brand-text {
  text-transform: none;
}

.ot-section-subtitle {
  font-weight: 400;
  text-transform: none;
  color: var(--mivaro-primary-light);
}

.ot-section-subtitle.ot-purple {
  color: var(--mivaro-primary-dark);
}

.grey-bg {
  background: var(--mivaro-tech-white);
}

/* ==========================================================
   7. SERVICE ITEMS
   ========================================================== */
.ot-service-item {
  background: var(--mivaro-bg-light);
  border: 1px solid var(--mivaro-border);
  box-shadow: 0 12px 28px rgba(0, 90, 130, 0.08);
  border-radius: 12px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ot-service-item:hover {
  box-shadow: 0 16px 40px rgba(0, 90, 130, 0.12);
  transform: translateY(-4px);
}

.ot-service-btn .ot-btn-primary.grey-btn {
  background: var(--mivaro-bg-light);
  border-color: var(--mivaro-border);
}

.ot-box-title a {
  color: var(--mivaro-neutral-dark);
  transition: color 0.3s ease;
}

.ot-box-title a:hover {
  color: var(--mivaro-primary-dark);
}

.ot-line-purple {
  color: var(--mivaro-primary-dark);
}

.ot-line-purple:hover {
  color: var(--mivaro-primary-light);
}

/* ==========================================================
   8. FOOTER
   ========================================================== */
.dark-blue-bg,
.ot-footer-area {
  background: linear-gradient(180deg, var(--mivaro-deep-blue) 0%, #003a52 100%);
  color: var(--mivaro-tech-white);
  position: relative;
}

.ot-footer-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mivaro-primary-dark), var(--mivaro-primary-light), var(--mivaro-primary-dark));
}

.ot-footer-widget-title {
  color: var(--mivaro-bg-light);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--mivaro-primary-light);
  display: inline-block;
}

.ot-footer-widget-link ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ot-footer-widget-link ul li {
  margin-bottom: 12px;
}

.ot-footer-widget-link ul li:last-child {
  margin-bottom: 0;
}

.ot-footer-widget-link ul li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  transition: all 0.3s ease;
}

.ot-footer-widget-link ul li a::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--mivaro-primary-light);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.ot-footer-widget-link ul li a:hover {
  color: var(--mivaro-primary-light);
  padding-left: 5px;
}

.ot-footer-widget-link ul li a:hover::before {
  background: #fff;
  transform: scale(1.3);
}

/* Footer Logo */
.mivaro-logo-footer {
  font-size: 2rem !important;
  background: linear-gradient(135deg, #fff 0%, var(--mivaro-primary-light) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  margin-bottom: 20px;
}

/* Footer logo - text only */
.ot-footer-logo {
  margin-bottom: 25px;
}

.ot-footer-info-text {
  text-transform: none;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.ot-footer-info-text:hover {
  color: var(--mivaro-primary-light);
}

.ot-footer-info-text span {
  color: inherit;
}

.footer-info-icon {
  width: 18px;
  height: auto;
  opacity: 0.8;
  flex-shrink: 0;
}

/* Footer links - basic styling handled by .ot-footer-widget-link ul li a */

.ot-line-white {
  color: inherit;
  text-decoration: none;
}

.ot-line-white:hover {
  color: var(--mivaro-primary-light);
}

/* Remove default ::before in footer links when using ot-line-white */
.ot-footer-widget-link ul li a.ot-line-white::before {
  display: inline-block;
}

.ot-copyright-area {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ot-copyright-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.ot-copyright-text a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.ot-copyright-text a:hover {
  color: var(--mivaro-primary-light);
}

/* ==========================================================
   9. FORMS & INPUTS
   ========================================================== */
input[type="date"] {
  outline: none;
  height: 50px;
  width: 100%;
  line-height: 50px;
  font-size: 16px;
  padding-left: 20px;
  padding-right: 40px;
  color: var(--mivaro-graphite);
  border: 1px solid var(--mivaro-border);
  background: var(--mivaro-bg-light);
  resize: none;
  scroll-behavior: unset;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="date"]:focus {
  border-color: var(--mivaro-primary-dark);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="url"],
textarea {
  background: var(--mivaro-bg-light);
  border: 1px solid var(--mivaro-border);
  color: var(--mivaro-graphite);
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
textarea:focus {
  border-color: var(--mivaro-primary-dark);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
  outline: none;
}

input[type="email"] {
  text-transform: none;
}

/* File Input Styling */
input[type="file"] {
  border: 2px dashed var(--mivaro-border);
  background: var(--mivaro-tech-white);
  padding: 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

input[type="file"]:hover {
  border-color: var(--mivaro-primary-dark);
  background: var(--mivaro-bg-soft);
}

/* ==========================================================
   10. CONTACT ELEMENTS
   ========================================================== */
.ot-contact-title {
  font-weight: 400;
  color: var(--mivaro-neutral-dark);
}

.ot-contact-info-text {
  font-weight: 400;
  text-transform: none;
}

/* ==========================================================
   11. JOB POSTING STYLES
   ========================================================== */
.job-posting {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--jp-text);
  background: var(--jp-bg);
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  line-height: 1.6;
}

.job-posting h1 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  margin: 0 0 .25rem 0;
  letter-spacing: -0.02em;
  color: var(--mivaro-neutral-dark);
}

.job-posting h2 {
  font-size: clamp(1.25rem, 1rem + .8vw, 1.5rem);
  margin: 0 0 .25rem 0;
  letter-spacing: -0.01em;
  color: var(--mivaro-neutral-dark);
}

.job-posting h3 {
  font-size: 1.05rem;
  margin: 1.75rem 0 .75rem;
  color: var(--mivaro-neutral-dark);
}

.job-posting p {
  color: var(--jp-muted);
  margin: .25rem 0 .75rem;
}

.jp-card {
  border: 1px solid var(--jp-border);
  border-radius: 16px;
  padding: 1rem 1rem;
  background: var(--mivaro-bg-light);
  box-shadow: 0 1px 2px rgba(2, 6, 23, 0.04);
}

.jp-list {
  list-style: none;
  margin: 0;
  padding-left: 2rem;
  display: grid;
  gap: .5rem .25rem;
}

.jp-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--jp-text);
}

.jp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .9em;
  transform: translateY(-50%);
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #fff 0 20%, rgba(255, 255, 255, .2) 21% 100%), var(--jp-accent);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, .18);
}

@media (prefers-reduced-transparency: reduce) {
  .jp-list li::before {
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .jp-card {
    padding: .875rem .875rem;
  }

  .jp-list {
    padding-left: 1.5rem;
  }

  .jp-list li {
    padding-left: 1rem;
  }
}

/* ==========================================================
   12. SCROLL TO TOP
   ========================================================== */
.scroll-top path {
  stroke: var(--mivaro-primary-dark);
}

.scroll-top:hover path {
  stroke: var(--mivaro-primary-light);
}

/* ==========================================================
   13. OFFCANVAS MENU
   ========================================================== */
.ot-offcanvas {
  background: var(--mivaro-neutral-dark);
}

.ot-offcanvas-title {
  color: var(--mivaro-bg-light);
}

.ot-offcanvas p {
  color: var(--mivaro-tech-white);
}

.ot-offcanvas-info-text span {
  color: var(--mivaro-tech-white);
}

/* ==========================================================
   14. UTILITY CLASSES
   ========================================================== */
.mxt-30 {
  margin-top: -30px !important;
}

.mxt-15 {
  margin-top: 15px !important;
}

/* ==========================================================
   15. ALERT STATES (using accent colors)
   ========================================================== */
.alert-success,
.status-success {
  background-color: rgba(46, 204, 113, 0.1);
  border-color: var(--mivaro-success);
  color: var(--mivaro-success);
}

.alert-warning,
.status-warning {
  background-color: rgba(243, 156, 18, 0.1);
  border-color: var(--mivaro-warning);
  color: var(--mivaro-warning);
}

.alert-error,
.alert-danger,
.status-error {
  background-color: rgba(231, 76, 60, 0.1);
  border-color: var(--mivaro-error);
  color: var(--mivaro-error);
}

/* ==========================================================
   16. TELEGRAM UPLOAD FORM STYLES
   ========================================================== */
.mivaro-upload-form {
  background: var(--mivaro-bg-light);
  border: 1px solid var(--mivaro-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 90, 130, 0.08);
}

.mivaro-upload-form .form-title {
  color: var(--mivaro-neutral-dark);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.mivaro-upload-form .form-group {
  margin-bottom: 1.25rem;
}

.mivaro-upload-form label {
  display: block;
  color: var(--mivaro-neutral-dark);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.mivaro-upload-form .file-drop-zone {
  border: 2px dashed var(--mivaro-border);
  background: var(--mivaro-tech-white);
  padding: 2rem;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mivaro-upload-form .file-drop-zone:hover,
.mivaro-upload-form .file-drop-zone.dragover {
  border-color: var(--mivaro-primary-dark);
  background: var(--mivaro-bg-soft);
}

.mivaro-upload-form .file-drop-zone i {
  font-size: 3rem;
  color: var(--mivaro-primary-dark);
  margin-bottom: 1rem;
}

.mivaro-upload-form .file-drop-zone p {
  color: var(--mivaro-graphite);
  margin: 0;
}

.mivaro-upload-form .submit-btn {
  background: var(--mivaro-primary-dark);
  color: var(--mivaro-bg-light);
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.mivaro-upload-form .submit-btn:hover {
  background: var(--mivaro-primary-light);
}

.mivaro-upload-form .submit-btn:disabled {
  background: var(--mivaro-border);
  cursor: not-allowed;
}

.mivaro-upload-progress {
  background: var(--mivaro-bg-soft);
  border-radius: 8px;
  height: 8px;
  overflow: hidden;
  margin-top: 1rem;
}

.mivaro-upload-progress .progress-bar {
  background: var(--mivaro-primary-dark);
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

.mivaro-upload-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
}

.mivaro-upload-status.success {
  display: block;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid var(--mivaro-success);
  color: var(--mivaro-success);
}

.mivaro-upload-status.error {
  display: block;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid var(--mivaro-error);
  color: var(--mivaro-error);
}

/* ==========================================================
   17. SOCIAL ICONS
   ========================================================== */
.ot-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--mivaro-tech-white);
  margin-left: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ot-social-icon:first-child {
  margin-left: 0;
}

.ot-social-icon:hover {
  background: var(--mivaro-primary-light);
  color: var(--mivaro-bg-light);
  transform: translateY(-3px);
  border-color: var(--mivaro-primary-light);
}

.ot-social-icon i {
  font-size: 18px;
}

.ot-copyright-social-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 767px) {
  .ot-copyright-social-box {
    justify-content: center;
  }
  
  .ot-social-icon {
    margin-left: 0;
  }
}

/* ==========================================================
   18. PRELOADER
   ========================================================== */
.mivaro-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--mivaro-deep-blue) 0%, var(--mivaro-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mivaro-preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.mivaro-preloader-inner {
  text-align: center;
  padding: 20px;
}

.mivaro-preloader-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 30px;
  animation: pulse 2s ease-in-out infinite;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  background: white;
  padding: 10px;
}

/* Mobile Preloader - größeres Logo */
@media (max-width: 767px) {
  .mivaro-preloader-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    border-radius: 16px;
    padding: 8px;
  }
  
  .mivaro-preloader-spinner {
    width: 40px;
    height: 40px;
  }
}

.mivaro-preloader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--mivaro-primary-light);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* ==========================================================
   19. COOKIE CONSENT BANNER
   ========================================================== */
.mivaro-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--mivaro-neutral-dark);
  color: var(--mivaro-tech-white);
  padding: 20px;
  z-index: 9998;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mivaro-cookie-banner.show {
  transform: translateY(0);
}

.mivaro-cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.mivaro-cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.mivaro-cookie-banner-text h4 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: var(--mivaro-bg-light);
}

.mivaro-cookie-banner-text p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.5;
}

.mivaro-cookie-banner-text a {
  color: var(--mivaro-primary-light);
  text-decoration: underline;
}

.mivaro-cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mivaro-cookie-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.95rem;
}

.mivaro-cookie-btn-accept {
  background: var(--mivaro-primary-dark);
  color: white;
}

.mivaro-cookie-btn-accept:hover {
  background: var(--mivaro-primary-light);
  transform: translateY(-2px);
}

.mivaro-cookie-btn-decline {
  background: transparent;
  color: var(--mivaro-tech-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mivaro-cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================
   20. ENHANCED ANIMATIONS
   ========================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(54, 169, 225, 0.3); }
  50% { box-shadow: 0 0 40px rgba(54, 169, 225, 0.5); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Staggered Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Scroll Reveal Classes */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-30px);
}

[data-reveal="left"].revealed {
  transform: translateX(0);
}

[data-reveal="right"] {
  transform: translateX(30px);
}

[data-reveal="right"].revealed {
  transform: translateX(0);
}

[data-reveal="scale"] {
  transform: scale(0.9);
}

[data-reveal="scale"].revealed {
  transform: scale(1);
}

/* ==========================================================
   21. ENHANCED HERO SECTION
   ========================================================== */
.ot-hero-area {
  background: linear-gradient(135deg, var(--mivaro-tech-white) 0%, var(--mivaro-bg-soft) 50%, rgba(54, 169, 225, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

.ot-hero-area::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(54, 169, 225, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ot-hero-area::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mivaro-primary-light), transparent);
}

.ot-hero-thumb img {
  animation: float 4s ease-in-out infinite;
}

/* Mivaro Hero Image */
.mivaro-hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 90, 130, 0.25);
  animation: float 5s ease-in-out infinite;
}

@media (max-width: 1199px) {
  .mivaro-hero-img {
    max-width: 80%;
    margin: 0 auto 40px;
    display: block;
  }
}

/* Desktop hero image constraints */
@media (min-width: 1200px) {
  .ot-hero-thumb-wrapp {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .mivaro-hero-img {
    max-width: 480px;
    width: 100%;
  }
  
  .ot-hero-content {
    padding-right: 30px;
  }
}

@media (min-width: 1400px) {
  .mivaro-hero-img {
    max-width: 520px;
  }
}

.bold-title {
  background: linear-gradient(135deg, var(--mivaro-primary-dark) 0%, var(--mivaro-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================
   22. ENHANCED CARDS & HOVER EFFECTS
   ========================================================== */
.ot-service-item {
  position: relative;
  overflow: hidden;
}

.ot-service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--mivaro-primary-dark), var(--mivaro-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.ot-service-item:hover::before {
  transform: scaleX(1);
}

.ot-service-icon {
  transition: transform 0.4s ease;
}

.ot-service-item:hover .ot-service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Glass Morphism Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================================
   23. ENHANCED BUTTONS
   ========================================================== */
.ot-btn-primary {
  position: relative;
  overflow: hidden;
}

.ot-btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.ot-btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.ot-btn-primary.purple-btn {
  background: linear-gradient(135deg, var(--mivaro-primary-dark) 0%, var(--mivaro-deep-blue) 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.ot-btn-primary.purple-btn:hover {
  background: linear-gradient(135deg, var(--mivaro-primary-light) 0%, var(--mivaro-primary-dark) 100%);
  box-shadow: 0 6px 25px rgba(0, 119, 182, 0.4);
  transform: translateY(-2px);
}

/* ==========================================================
   24. ENHANCED FORM VALIDATION
   ========================================================== */
.form-group {
  position: relative;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: var(--mivaro-error);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.form-group.has-success input,
.form-group.has-success textarea {
  border-color: var(--mivaro-success);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

.form-error-message {
  color: var(--mivaro-error);
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-group.has-error .form-error-message {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.form-success-icon,
.form-error-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
}

.form-success-icon {
  color: var(--mivaro-success);
}

.form-error-icon {
  color: var(--mivaro-error);
}

/* ==========================================================
   25. COUNTER ANIMATION
   ========================================================== */
.mivaro-counter {
  font-size: 3rem;
  font-weight: 700;
  color: var(--mivaro-primary-dark);
  line-height: 1;
}

.mivaro-counter-box {
  text-align: center;
  padding: 30px;
}

.mivaro-counter-label {
  color: var(--mivaro-graphite);
  margin-top: 10px;
  font-size: 1rem;
}

/* ==========================================================
   26. SMOOTH SCROLLBAR
   ========================================================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--mivaro-bg-soft);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--mivaro-primary-dark), var(--mivaro-primary-light));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--mivaro-primary-dark);
}

/* ==========================================================
   27. TOOLTIP STYLES
   ========================================================== */
[data-tooltip] {
  position: relative;
  cursor: pointer;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: var(--mivaro-neutral-dark);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

/* ==========================================================
   28. LOADING BUTTON STATE
   ========================================================== */
.btn-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ==========================================================
   29. NOTIFICATION TOAST
   ========================================================== */
.mivaro-toast {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--mivaro-bg-light);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 380px;
}

.mivaro-toast.show {
  transform: translateX(0);
}

.mivaro-toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mivaro-toast.success .mivaro-toast-icon {
  background: rgba(46, 204, 113, 0.1);
  color: var(--mivaro-success);
}

.mivaro-toast.error .mivaro-toast-icon {
  background: rgba(231, 76, 60, 0.1);
  color: var(--mivaro-error);
}

.mivaro-toast.info .mivaro-toast-icon {
  background: rgba(0, 119, 182, 0.1);
  color: var(--mivaro-primary-dark);
}

.mivaro-toast-content h5 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  color: var(--mivaro-neutral-dark);
}

.mivaro-toast-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--mivaro-graphite);
}

.mivaro-toast-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mivaro-graphite);
  padding: 4px;
}

/* ==========================================================
   30. RESPONSIVE ENHANCEMENTS
   ========================================================== */
@media (max-width: 768px) {
  .mivaro-cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .mivaro-cookie-banner-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .mivaro-toast {
    left: 20px;
    right: 20px;
    max-width: none;
  }
  
  .ot-hero-title {
    font-size: 28px;
  }
}

/* ==========================================================
   31. DARK MODE SUPPORT (Optional)
   ========================================================== */
@media (prefers-color-scheme: dark) {
  .auto-dark-mode body {
    background: var(--mivaro-neutral-dark);
    color: var(--mivaro-tech-white);
  }
}

/* ==========================================================
   32. PRINT STYLES
   ========================================================== */
@media print {
  .mivaro-preloader,
  .mivaro-cookie-banner,
  .scroll-top,
  .ot-offcanvas,
  .mivaro-toast {
    display: none !important;
  }
  
  body {
    background: white !important;
  }
}

/* ==========================================================
   33. STATS COUNTER SECTION - REDESIGNED
   ========================================================== */
.mivaro-stats-area {
  position: relative;
  padding: 100px 0;
  background: var(--mivaro-tech-white);
  overflow: hidden;
}

.mivaro-stats-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mivaro-primary-dark), var(--mivaro-primary-light), var(--mivaro-deep-blue));
}

.mivaro-stats-header {
  margin-bottom: 60px;
}

.mivaro-stats-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--mivaro-primary-dark);
  margin-bottom: 15px;
  position: relative;
  padding: 0 20px;
}

.mivaro-stats-subtitle::before,
.mivaro-stats-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--mivaro-primary-light), var(--mivaro-primary-dark));
}

.mivaro-stats-subtitle::before {
  left: -50px;
}

.mivaro-stats-subtitle::after {
  right: -50px;
}

.mivaro-stats-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--mivaro-neutral-dark);
  margin: 0;
}

/* Stat Cards */
.mivaro-stat-card {
  background: var(--mivaro-bg-light);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 90, 130, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 119, 182, 0.1);
}

.mivaro-stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 90, 130, 0.15);
  border-color: var(--mivaro-primary-light);
}

.mivaro-stat-card:hover .mivaro-stat-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--mivaro-primary-light) 0%, var(--mivaro-primary-dark) 100%);
}

.mivaro-stat-card:hover .mivaro-stat-decoration {
  transform: scale(1.5);
  opacity: 0.15;
}

.mivaro-stat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--mivaro-primary-dark) 0%, var(--mivaro-primary-light) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.mivaro-stat-icon i {
  font-size: 2rem;
  color: white;
}

.mivaro-stat-content {
  position: relative;
  z-index: 1;
}

.mivaro-counter {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--mivaro-primary-dark) 0%, var(--mivaro-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.mivaro-counter-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--mivaro-graphite);
  margin: 0;
}

.mivaro-stat-decoration {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--mivaro-primary-light) 0%, var(--mivaro-primary-dark) 100%);
  border-radius: 50%;
  opacity: 0.08;
  transition: all 0.4s ease;
}

@media (max-width: 991px) {
  .mivaro-stats-area {
    padding: 80px 0;
  }
  
  .mivaro-stats-title {
    font-size: 2rem;
  }
  
  .mivaro-stat-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .mivaro-counter {
    font-size: 2.5rem;
  }
  
  .mivaro-stat-icon {
    width: 70px;
    height: 70px;
  }
  
  .mivaro-stat-icon i {
    font-size: 1.5rem;
  }
  
  .mivaro-stats-subtitle::before,
  .mivaro-stats-subtitle::after {
    display: none;
  }
}

/* ==========================================================
   34. CTA SECTION
   ========================================================== */
.mivaro-cta-box {
  position: relative;
  overflow: hidden;
}

.mivaro-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.mivaro-cta-box .ot-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ==========================================================
   35. ENHANCED HEADER SCROLLED STATE
   ========================================================== */
/* Note: Base .ot-header-area styles are in section 2 (BASE STYLES) */

.ot-header-area.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 90, 130, 0.15) !important;
  padding: 10px 0 !important;
}

/* ==========================================================
   36. SCROLL-TO-TOP VISIBILITY
   ========================================================== */
.scroll-top {
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================
   37. FOCUS STATES FOR ACCESSIBILITY
   ========================================================== */
body:not(.using-mouse) a:focus,
body:not(.using-mouse) button:focus,
body:not(.using-mouse) input:focus,
body:not(.using-mouse) textarea:focus,
body:not(.using-mouse) select:focus {
  outline: 3px solid var(--mivaro-primary-light);
  outline-offset: 2px;
}

/* ==========================================================
   38. ENHANCED SERVICE CARDS
   ========================================================== */
.ot-service-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ot-service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 90, 130, 0.15);
}

.ot-service-icon img {
  transition: transform 0.4s ease;
}

.ot-service-item:hover .ot-service-icon img {
  transform: scale(1.1);
}

/* ==========================================================
   39. SKELETON LOADING
   ========================================================== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================
   40. MOBILE MENU ANIMATION
   ========================================================== */
.ot-offcanvas {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ot-offcanvas.show {
  transform: translateX(0) !important;
}

.ot-offcanvas-menu ul li {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.ot-offcanvas.show .ot-offcanvas-menu ul li {
  opacity: 1;
  transform: translateX(0);
}

.ot-offcanvas.show .ot-offcanvas-menu ul li:nth-child(1) { transition-delay: 0.1s; }
.ot-offcanvas.show .ot-offcanvas-menu ul li:nth-child(2) { transition-delay: 0.15s; }
.ot-offcanvas.show .ot-offcanvas-menu ul li:nth-child(3) { transition-delay: 0.2s; }
.ot-offcanvas.show .ot-offcanvas-menu ul li:nth-child(4) { transition-delay: 0.25s; }
.ot-offcanvas.show .ot-offcanvas-menu ul li:nth-child(5) { transition-delay: 0.3s; }

/* ==========================================================
   41. IMAGE HOVER EFFECTS
   ========================================================== */
.ot-about-thumb img,
.ot-hero-thumb img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ot-about-thumb:hover img {
  transform: scale(1.02);
}

/* ==========================================================
   42. LINK UNDERLINE ANIMATION
   ========================================================== */
.ot-line-purple,
.ot-line-white {
  position: relative;
  display: inline-block;
}

.ot-line-purple::after,
.ot-line-white::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.ot-line-purple:hover::after,
.ot-line-white:hover::after {
  width: 100%;
}

/* ==========================================================
   43. GRADIENT TEXT
   ========================================================== */
.gradient-text {
  background: linear-gradient(135deg, var(--mivaro-primary-dark) 0%, var(--mivaro-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================
   44. PADDING/MARGIN UTILITIES
   ========================================================== */
.p-60 {
  padding: 60px;
}

@media (max-width: 768px) {
  .p-60 {
    padding: 40px 20px;
  }
}

.pt-80 {
  padding-top: 80px;
}

.pb-80 {
  padding-bottom: 80px;
}

.mb-130 {
  margin-bottom: 130px;
}

.gap-3 {
  gap: 1rem;
}

/* ==========================================================
   45. FEATURED BADGE
   ========================================================== */
.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--mivaro-success);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================
   46. LOADING OVERLAY
   ========================================================== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================
   47. ENHANCED CONTACT PAGE
   ========================================================== */
.ot-contact-info-box {
  background: var(--mivaro-bg-light);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 90, 130, 0.08);
  height: 100%;
}

.ot-contact-form-box {
  background: var(--mivaro-bg-light);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 90, 130, 0.08);
}

.ot-contact-info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--mivaro-primary-dark) 0%, var(--mivaro-primary-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ot-contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--mivaro-neutral-dark);
}

.ot-contact-info-text p,
.ot-contact-info-text a {
  color: var(--mivaro-graphite);
  margin: 0;
  transition: color 0.3s ease;
}

.ot-contact-info-text a:hover {
  color: var(--mivaro-primary-dark);
}

/* ==========================================================
   48. FILE DROP ZONE ENHANCED
   ========================================================== */
.file-drop-zone {
  border: 2px dashed var(--mivaro-border);
  background: var(--mivaro-tech-white);
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: var(--mivaro-primary-dark);
  background: rgba(0, 119, 182, 0.05);
}

.file-drop-zone i {
  font-size: 3rem;
  color: var(--mivaro-primary-dark);
  margin-bottom: 15px;
  display: block;
}

.file-drop-zone p {
  color: var(--mivaro-graphite);
  margin: 0;
}

.file-drop-zone .file-names {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--mivaro-border);
  font-size: 0.9rem;
  color: var(--mivaro-neutral-dark);
  text-align: left;
}

/* ==========================================================
   49. SIDEBAR ENHANCEMENTS
   ========================================================== */
.ot-sidebar-widget-wrapp {
  background: var(--mivaro-bg-light);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0, 90, 130, 0.08);
  position: sticky;
  top: 100px;
}

.sidebar-widget-title {
  color: var(--mivaro-neutral-dark);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--mivaro-primary-dark);
}

.sidebar-table-style td {
  padding: 12px 0;
  border-bottom: 1px solid var(--mivaro-border);
}

.sidebar-table-style tr:last-child td {
  border-bottom: none;
}

.sidebar-tag-title {
  color: var(--mivaro-graphite);
  font-weight: 500;
}

.sidebar-tag-name span {
  color: var(--mivaro-neutral-dark);
  font-weight: 600;
}

/* ==========================================================
   50. POSTBOX / APPLICATION FORM
   ========================================================== */
.postbox-details-form {
  background: var(--mivaro-bg-light);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 90, 130, 0.08);
}

.postbox-details-form-title {
  color: var(--mivaro-neutral-dark);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.postbox-details-form-title b {
  color: var(--mivaro-primary-dark);
}

/* ==========================================================
   51. JOB POSTING ENHANCED
   ========================================================== */
.job-posting strong {
  color: var(--mivaro-neutral-dark);
}

.jp-card {
  transition: all 0.3s ease;
}

.jp-card:hover {
  box-shadow: 0 8px 25px rgba(0, 90, 130, 0.1);
  transform: translateY(-2px);
}

/* ==========================================================
   52. RESPONSIVE ADJUSTMENTS
   ========================================================== */
@media (max-width: 991px) {
  .ot-contact-info-box,
  .ot-contact-form-box {
    padding: 30px 20px;
  }
  
  .postbox-details-form {
    padding: 30px 20px;
  }
  
  .ot-sidebar-widget-wrapp {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 576px) {
  .file-drop-zone {
    padding: 30px 15px;
  }
  
  .file-drop-zone i {
    font-size: 2rem;
  }
}

/* ============================================================
   PROFESSIONAL RESPONSIVE DESIGN SYSTEM
   Optimiert für: Smartphone, Tablet, Laptop, Desktop, 4K
   ============================================================ */

/* ==========================================================
   53. FLUID TYPOGRAPHY SYSTEM
   ========================================================== */
:root {
  /* Fluid font sizes using clamp() */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --fs-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --fs-md: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --fs-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.75vw, 2.5rem);
  --fs-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --fs-4xl: clamp(2.5rem, 1.75rem + 3.75vw, 4rem);
  
  /* Fluid spacing */
  --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1rem);
  --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-xl: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --space-2xl: clamp(3rem, 2rem + 5vw, 6rem);
  --space-3xl: clamp(4rem, 3rem + 5vw, 8rem);
  
  /* Container max-widths */
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  --container-2xl: 1320px;
  --container-4k: 1800px;
}

/* Apply fluid typography to base elements */
body {
  font-size: var(--fs-base);
  line-height: 1.6;
}

/* ==========================================================
   54. ENHANCED HEADER - ALL DEVICES
   ========================================================== */
.ot-header-area {
  padding: clamp(12px, 2vw, 20px) 0;
}

.mivaro-logo-text {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.ot-main-menu > nav > ul > li a {
  font-size: clamp(14px, 1.5vw, 16px);
  padding: clamp(8px, 1vw, 12px) clamp(12px, 1.5vw, 18px);
}

.ot-btn-primary.btn-sm {
  padding: clamp(8px, 1vw, 12px) clamp(14px, 1.5vw, 20px);
  font-size: clamp(12px, 1.2vw, 14px);
}

/* Mobile Header Optimization */
@media (max-width: 991px) {
  .ot-header-area {
    padding: 10px 0;
  }
  
  .mivaro-logo-text {
    font-size: 1.3rem;
  }
  
  .ot-offcanvas-toogle {
    width: 42px;
    height: 42px;
    margin-left: 10px !important;
  }
}

/* ==========================================================
   55. HERO SECTION - RESPONSIVE
   ========================================================== */
.ot-hero-area {
  padding-top: clamp(70px, 10vw, 100px);
  padding-bottom: clamp(40px, 8vw, 80px);
}

.ot-hero-title {
  font-size: var(--fs-3xl);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.ot-hero-subtitle {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ot-hero-subtitle-icon {
  width: clamp(20px, 3vw, 28px);
  height: auto;
}

.ot-sec-text {
  font-size: var(--fs-base);
  line-height: 1.7;
}

.mivaro-hero-img {
  max-width: 100%;
  border-radius: clamp(12px, 2vw, 20px);
}

/* Hero responsive adjustments */
@media (max-width: 1199px) {
  .ot-hero-area .row {
    flex-direction: column-reverse;
  }
  
  .ot-hero-content {
    text-align: center;
    margin-top: var(--space-lg);
  }
  
  .mivaro-hero-img {
    max-width: clamp(280px, 60vw, 500px);
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .ot-hero-area {
    padding-top: 80px;
    padding-bottom: 30px;
  }
  
  .ot-hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

/* ==========================================================
   56. SECTION TITLES - RESPONSIVE
   ========================================================== */
.ot-section-title {
  font-size: var(--fs-2xl);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.ot-section-subtitle {
  font-size: var(--fs-sm);
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
  display: inline-block;
}

.ot-title-box {
  margin-bottom: var(--space-xl);
}

/* ==========================================================
   57. SERVICE CARDS - RESPONSIVE
   ========================================================== */
.ot-service-item {
  padding: clamp(25px, 4vw, 40px);
  border-radius: clamp(12px, 2vw, 16px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ot-service-icon {
  margin-bottom: clamp(15px, 2.5vw, 25px);
}

.ot-service-icon img {
  width: clamp(50px, 8vw, 70px);
  height: auto;
}

.ot-box-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.ot-service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ot-service-content .ot-sec-text {
  flex: 1;
}

.ot-service-btn {
  margin-top: auto;
}

/* Service grid responsive */
@media (max-width: 991px) {
  .ot-service-wrapp .row {
    gap: 20px 0;
  }
}

/* ==========================================================
   58. BUTTONS - RESPONSIVE & TOUCH-FRIENDLY
   ========================================================== */
.ot-btn-primary {
  padding: clamp(12px, 2vw, 16px) clamp(20px, 3vw, 32px);
  font-size: var(--fs-sm);
  border-radius: clamp(6px, 1vw, 10px);
  min-height: 48px; /* Touch-friendly minimum */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ot-btn-icon {
  width: clamp(14px, 1.5vw, 18px);
  transition: transform 0.3s ease;
}

.ot-btn-primary:hover .ot-btn-icon {
  transform: translateX(4px);
}

/* Button responsive adjustments */
@media (max-width: 576px) {
  .ot-btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
  
  .ot-hero-area .ot-btn-primary,
  .ot-about-btn .ot-btn-primary {
    width: auto;
    min-width: 200px;
  }
}

/* ==========================================================
   59. STATS SECTION - RESPONSIVE
   ========================================================== */
.mivaro-stats-area {
  padding: var(--space-3xl) 0;
}

.mivaro-stats-title {
  font-size: var(--fs-2xl);
}

.mivaro-stats-subtitle {
  font-size: var(--fs-xs);
  letter-spacing: clamp(1px, 0.2vw, 2px);
}

.mivaro-stat-card {
  padding: clamp(25px, 4vw, 40px) clamp(20px, 3vw, 30px);
  border-radius: clamp(14px, 2vw, 20px);
}

.mivaro-stat-icon {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  border-radius: clamp(14px, 2vw, 20px);
  margin-bottom: clamp(15px, 3vw, 25px);
}

.mivaro-stat-icon i {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.mivaro-counter {
  font-size: clamp(2rem, 5vw, 3rem);
}

.mivaro-counter-label {
  font-size: var(--fs-sm);
}

@media (max-width: 991px) {
  .mivaro-stat-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .mivaro-stats-area .row {
    gap: 15px 0;
  }
  
  .mivaro-stat-card {
    margin-bottom: 0;
  }
}

/* ==========================================================
   60. FORMS - RESPONSIVE & TOUCH-FRIENDLY
   ========================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="url"],
input[type="date"],
textarea,
select,
.form-control {
  font-size: 16px !important; /* Prevents iOS zoom on focus */
  padding: clamp(12px, 2vw, 16px) clamp(14px, 2vw, 20px);
  border-radius: clamp(8px, 1vw, 12px);
  min-height: 50px;
  width: 100%;
  transition: all 0.3s ease;
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: clamp(6px, 1vw, 10px);
  display: block;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Form grid responsive */
.form-row,
form .row {
  gap: clamp(15px, 2vw, 20px) 0;
}

@media (max-width: 576px) {
  form .col-md-6 {
    margin-bottom: 15px;
  }
}

/* ==========================================================
   61. FOOTER - RESPONSIVE
   ========================================================== */
.ot-footer-area {
  padding-top: var(--space-3xl);
}

.ot-footer-wrapp {
  margin-bottom: clamp(60px, 10vw, 130px);
}

.ot-footer-widget-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
}

.ot-footer-widget-link ul li {
  margin-bottom: clamp(8px, 1vw, 12px);
}

.ot-footer-widget-link a {
  font-size: var(--fs-sm);
  display: inline-block;
  padding: 4px 0;
}

.mivaro-logo-footer {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  margin-bottom: var(--space-md);
}

.ot-footer-info-text {
  font-size: var(--fs-sm);
  margin-bottom: clamp(10px, 1.5vw, 15px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-info-icon {
  width: clamp(16px, 2vw, 20px);
  flex-shrink: 0;
}

.ot-copyright-text {
  font-size: var(--fs-sm);
}

.ot-social-icon {
  width: clamp(36px, 5vw, 44px);
  height: clamp(36px, 5vw, 44px);
  margin-left: clamp(6px, 1vw, 10px);
}

.ot-social-icon i {
  font-size: clamp(14px, 1.5vw, 18px);
}

/* Footer Widget Styling */
.ot-footer-widget {
  margin-bottom: 30px;
}

.footer-col-1-1 {
  padding-right: 20px;
}

.footer-col-1-2,
.footer-col-1-3 {
  padding-left: 20px;
}

/* Footer responsive - Tablet */
@media (max-width: 991px) {
  .ot-footer-wrapp .row {
    gap: 40px 0;
  }
  
  .ot-footer-widget {
    text-align: center;
  }
  
  .ot-footer-widget-title {
    display: block;
    text-align: center;
  }
  
  .ot-footer-widget-link ul li a {
    justify-content: center;
  }
  
  .ot-footer-info-text {
    justify-content: center;
  }
  
  .footer-col-1-1,
  .footer-col-1-2,
  .footer-col-1-3 {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Footer responsive - Mobile */
@media (max-width: 767px) {
  .ot-footer-area {
    padding-top: 50px;
  }
  
  .ot-footer-wrapp {
    margin-bottom: 40px !important;
  }
  
  .ot-footer-wrapp .row {
    gap: 0;
  }
  
  .ot-footer-wrapp .col-xl-4,
  .ot-footer-wrapp .col-lg-4,
  .ot-footer-wrapp .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .ot-footer-wrapp .col-xl-4:last-child,
  .ot-footer-wrapp .col-lg-4:last-child,
  .ot-footer-wrapp .col-md-6:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  
  .ot-footer-widget {
    text-align: center;
    margin-bottom: 0;
  }
  
  .ot-footer-logo {
    margin-bottom: 20px;
  }
  
  .mivaro-logo-footer {
    font-size: 1.6rem !important;
  }
  
  .ot-footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .ot-footer-info-text {
    justify-content: center;
    text-align: center;
    margin-bottom: 0 !important;
  }
  
  .ot-footer-widget-title {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .ot-footer-widget-link ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .ot-footer-widget-link ul li {
    margin-bottom: 0;
  }
  
  .ot-footer-widget-link ul li a {
    justify-content: center;
    font-size: 0.95rem;
  }
  
  .ot-copyright-wrapp .row {
    gap: 15px 0;
  }
  
  .ot-copyright-content,
  .ot-copyright-social-box {
    text-align: center !important;
  }
  
  .ot-copyright-text {
    font-size: 0.85rem;
  }
  
  .ot-social-icon {
    width: 40px;
    height: 40px;
  }
}

/* Footer responsive - Small Mobile */
@media (max-width: 576px) {
  .ot-footer-area {
    padding-top: 40px;
  }
  
  .mivaro-logo-footer {
    font-size: 1.4rem !important;
  }
  
  .ot-footer-info-text {
    font-size: 0.9rem;
  }
  
  .footer-info-icon {
    width: 16px;
  }
}

/* ==========================================================
   62. ABOUT SECTION - RESPONSIVE
   ========================================================== */
.ot-about1-area {
  padding: var(--space-3xl) 0;
}

.ot-about-thumb img {
  max-width: 100%;
  height: auto;
  border-radius: clamp(12px, 2vw, 20px);
}

.ot-about-content {
  padding-left: clamp(0px, 3vw, 40px);
}

.ot-funfact-title {
  font-size: var(--fs-xl);
}

.ot-funfact-text {
  font-size: var(--fs-sm);
}

.ot-about-feature-list ul li {
  font-size: var(--fs-sm);
  margin-bottom: clamp(8px, 1vw, 12px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ot-about-feature-list ul li i {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--mivaro-success);
}

@media (max-width: 991px) {
  .ot-about-content {
    padding-left: 0;
    padding-top: var(--space-lg);
  }
  
  .ot-about-thumb-box {
    text-align: center;
  }
  
  .ot-about-thumb img {
    max-width: clamp(280px, 70vw, 450px);
  }
}

/* ==========================================================
   63. CTA SECTION - RESPONSIVE
   ========================================================== */
.mivaro-cta-area {
  padding: var(--space-2xl) 0;
}

.mivaro-cta-box {
  padding: clamp(30px, 5vw, 60px);
  border-radius: clamp(16px, 3vw, 24px);
}

.mivaro-cta-box h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}

.mivaro-cta-box p {
  font-size: var(--fs-base);
  margin-bottom: var(--space-lg);
}

@media (max-width: 576px) {
  .mivaro-cta-box .d-flex {
    flex-direction: column;
    gap: 12px !important;
  }
  
  .mivaro-cta-box .ot-btn-primary {
    width: 100%;
  }
}

/* ==========================================================
   64. PAGE HEADER - RESPONSIVE
   ========================================================== */
.mivaro-page-header {
  padding: clamp(35px, 6vw, 50px) 0 clamp(40px, 7vw, 55px);
}

.mivaro-page-title {
  font-size: var(--fs-2xl);
}

.mivaro-breadcrumb {
  padding: clamp(8px, 1.5vw, 12px) clamp(12px, 2vw, 20px);
  gap: clamp(6px, 1vw, 10px);
}

.mivaro-breadcrumb a,
.mivaro-breadcrumb-current {
  font-size: var(--fs-xs);
}

/* ==========================================================
   65. JOB POSTING - RESPONSIVE
   ========================================================== */
.job-posting {
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2vw, 1.25rem);
}

.job-posting h1 {
  font-size: var(--fs-xl);
}

.job-posting h2 {
  font-size: var(--fs-lg);
}

.job-posting h3 {
  font-size: var(--fs-md);
}

.jp-card {
  padding: clamp(0.75rem, 1.5vw, 1rem);
  border-radius: clamp(12px, 2vw, 16px);
}

/* ==========================================================
   66. CONTACT CARDS - RESPONSIVE
   ========================================================== */
.ot-contact-info-box,
.ot-contact-form-box {
  padding: clamp(25px, 4vw, 40px);
  border-radius: clamp(12px, 2vw, 16px);
}

.ot-contact-info-icon {
  width: clamp(40px, 6vw, 50px);
  height: clamp(40px, 6vw, 50px);
  border-radius: clamp(8px, 1.5vw, 12px);
}

/* ==========================================================
   67. MOBILE MENU - ENHANCED
   ========================================================== */
.ot-offcanvas {
  width: clamp(280px, 80vw, 350px);
  padding: clamp(20px, 4vw, 30px);
}

.ot-offcanvas-menu ul li a {
  font-size: var(--fs-md);
  padding: clamp(12px, 2vw, 16px) 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ot-offcanvas-title {
  font-size: var(--fs-lg);
}

.ot-offcanvas p {
  font-size: var(--fs-sm);
}

.ot-offcanvas-info-text {
  font-size: var(--fs-sm);
}

/* ==========================================================
   68. 4K / LARGE SCREEN OPTIMIZATIONS (2560px+)
   ========================================================== */
@media (min-width: 2560px) {
  :root {
    --fs-base: 1.25rem;
    --fs-sm: 1.125rem;
    --fs-lg: 1.75rem;
    --fs-xl: 2.25rem;
    --fs-2xl: 3rem;
    --fs-3xl: 3.75rem;
    --fs-4xl: 5rem;
  }
  
  .container {
    max-width: var(--container-4k);
  }
  
  .ot-header-area {
    padding: 25px 0;
  }
  
  .mivaro-logo-text {
    font-size: 2.2rem;
  }
  
  .ot-main-menu > nav > ul > li a {
    font-size: 1.1rem;
    padding: 14px 24px;
  }
  
  .ot-hero-area {
    padding-top: 130px;
    padding-bottom: 80px;
  }
  
  .ot-hero-title {
    font-size: 4.5rem;
    line-height: 1.15;
  }
  
  /* Fix hero image overlap on desktop */
  .ot-hero-thumb-wrapp {
    position: relative;
    z-index: 1;
  }
  
  .mivaro-hero-img {
    max-width: 520px;
    width: 100%;
    height: auto;
  }
  
  .ot-service-item {
    padding: 50px 40px;
    border-radius: 20px;
  }
  
  .ot-service-icon img {
    width: 90px;
  }
  
  .mivaro-stat-card {
    padding: 50px 40px;
    border-radius: 24px;
  }
  
  .mivaro-stat-icon {
    width: 100px;
    height: 100px;
  }
  
  .mivaro-counter {
    font-size: 4rem;
  }
  
  .ot-btn-primary {
    padding: 20px 40px;
    font-size: 1.1rem;
    border-radius: 12px;
  }
  
  .mivaro-cta-box {
    padding: 80px;
    border-radius: 32px;
  }
  
  .ot-footer-area {
    padding-top: 120px;
  }
}

/* ==========================================================
   69. ULTRA-WIDE SCREENS (3440px+)
   ========================================================== */
@media (min-width: 3440px) {
  :root {
    --fs-base: 1.4rem;
    --fs-sm: 1.25rem;
    --fs-lg: 2rem;
    --fs-xl: 2.75rem;
    --fs-2xl: 3.5rem;
    --fs-3xl: 4.5rem;
    --fs-4xl: 6rem;
  }
  
  .container {
    max-width: 2200px;
  }
  
  .ot-hero-title {
    font-size: 5.5rem;
  }
  
  .mivaro-hero-img {
    max-width: 700px;
  }
}

/* ==========================================================
   70. TABLET LANDSCAPE (768px - 1024px)
   ========================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .ot-hero-area .row {
    align-items: center;
  }
  
  .ot-hero-title {
    font-size: 2rem;
  }
  
  .mivaro-hero-img {
    max-width: 350px;
  }
  
  .ot-service-wrapp .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .mivaro-stat-card {
    padding: 30px 20px;
  }
  
  .mivaro-counter {
    font-size: 2.25rem;
  }
}

/* ==========================================================
   71. TABLET PORTRAIT (768px)
   ========================================================== */
@media (max-width: 768px) {
  /* Sections */
  .ot-space {
    padding-top: clamp(50px, 10vw, 80px) !important;
    padding-bottom: clamp(50px, 10vw, 80px) !important;
  }
  
  .ot-space-extra-top {
    padding-top: clamp(60px, 12vw, 100px);
  }
  
  /* Hero adjustments */
  .ot-hero-content {
    padding-right: 0;
  }
  
  /* Stats grid */
  .mivaro-stats-area .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  /* Service grid */
  .ot-service-wrapp .col-xl-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  /* Forms */
  .postbox-details-form,
  .ot-contact-form-box {
    padding: 30px 20px;
  }
}

/* ==========================================================
   72. SMALL MOBILE (320px - 576px)
   ========================================================== */
@media (max-width: 576px) {
  /* Base spacing */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Header */
  .ot-header-area {
    padding: 8px 0;
  }
  
  .mivaro-logo-text {
    font-size: 1.2rem;
  }
  
  /* Hero */
  .ot-hero-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .ot-hero-subtitle {
    font-size: 0.8rem;
    flex-direction: column;
    text-align: center;
  }
  
  /* Service cards */
  .ot-service-item {
    padding: 25px 20px;
  }
  
  .ot-service-icon img {
    width: 50px;
  }
  
  /* Stats */
  .mivaro-stats-area .col-lg-3,
  .mivaro-stats-area .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .mivaro-stat-card {
    padding: 25px 20px;
  }
  
  .mivaro-stat-icon {
    width: 60px;
    height: 60px;
  }
  
  .mivaro-counter {
    font-size: 2rem;
  }
  
  /* About section */
  .ot-about-funfact,
  .ot-about-feature-list {
    width: 100%;
  }
  
  .ot-about-feature-box2 {
    flex-direction: column;
    gap: 20px;
  }
  
  /* CTA */
  .mivaro-cta-box {
    padding: 30px 20px;
    border-radius: 16px;
  }
  
  .mivaro-cta-box h2 {
    font-size: 1.25rem;
  }
  
  /* Footer */
  .ot-footer-wrapp {
    margin-bottom: 50px;
  }
  
  .ot-footer-widget {
    margin-bottom: 30px;
  }
  
  .mb-130 {
    margin-bottom: 50px;
  }
  
  /* Forms */
  .form-control,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    padding: 12px 15px;
  }
}

/* ==========================================================
   73. EXTRA SMALL MOBILE (320px)
   ========================================================== */
@media (max-width: 320px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .mivaro-logo-text {
    font-size: 1.1rem;
  }
  
  .ot-hero-title {
    font-size: 1.35rem;
  }
  
  .ot-btn-primary {
    padding: 12px 18px;
    font-size: 0.85rem;
  }
  
  .mivaro-stat-card {
    padding: 20px 15px;
  }
  
  .mivaro-counter {
    font-size: 1.75rem;
  }
}

/* ==========================================================
   74. LANDSCAPE MOBILE OPTIMIZATION
   ========================================================== */
@media (max-height: 500px) and (orientation: landscape) {
  .ot-hero-area {
    padding-top: 90px;
    padding-bottom: 30px;
  }
  
  .ot-hero-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .ot-hero-subtitle {
    margin-bottom: 10px;
  }
  
  .mivaro-hero-img {
    max-width: 200px;
  }
  
  .ot-space {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}

/* ==========================================================
   75. TOUCH DEVICE OPTIMIZATIONS
   ========================================================== */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .ot-btn-primary {
    min-height: 48px;
    min-width: 48px;
  }
  
  .ot-main-menu > nav > ul > li a {
    padding: 14px 18px;
  }
  
  .ot-social-icon {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Remove hover effects that don't work well on touch */
  .ot-service-item:hover {
    transform: none;
  }
  
  .ot-service-item:active {
    transform: scale(0.98);
  }
  
  .ot-btn-primary:hover::before {
    display: none;
  }
  
  /* Better tap feedback */
  .ot-btn-primary:active {
    transform: scale(0.96);
  }
  
  .ot-service-item,
  .mivaro-stat-card {
    -webkit-tap-highlight-color: rgba(0, 119, 182, 0.1);
  }
}

/* ==========================================================
   76. HIGH DPI / RETINA OPTIMIZATIONS
   ========================================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .ot-service-item,
  .mivaro-stat-card,
  .ot-contact-form-box {
    box-shadow: 0 10px 35px rgba(0, 90, 130, 0.06);
  }
  
  /* Sharper borders on retina */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    border-width: 0.5px;
  }
}

/* ==========================================================
   77. REDUCED MOTION PREFERENCE
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .ot-hero-thumb img,
  .mivaro-hero-img {
    animation: none !important;
  }
  
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================
   78. DARK MODE SYSTEM PREFERENCE
   ========================================================== */
@media (prefers-color-scheme: dark) {
  /* Optional: Add dark mode styles here if needed */
}

/* ==========================================================
   79. PRINT OPTIMIZATIONS - ENHANCED
   ========================================================== */
@media print {
  .ot-header-area,
  .ot-footer-area,
  .scroll-top,
  .ot-offcanvas,
  .mivaro-cookie-banner,
  .mivaro-preloader {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000 !important;
    background: #fff !important;
  }
  
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .ot-hero-area {
    padding-top: 0 !important;
  }
  
  a {
    color: #000 !important;
    text-decoration: underline;
  }
  
  .ot-btn-primary {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
  }
}

/* ==========================================================
   80. ADDITIONAL UTILITY CLASSES
   ========================================================== */
/* Container fluid with max-width */
.container-fluid-xl {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 2560px) {
  .container-fluid-xl {
    max-width: 1800px;
  }
}

/* Responsive text alignment */
.text-center-mobile {
  text-align: inherit;
}

@media (max-width: 768px) {
  .text-center-mobile {
    text-align: center;
  }
}

/* Hide on specific breakpoints */
.hide-mobile {
  display: block;
}

.show-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  
  .show-mobile {
    display: block !important;
  }
}

/* Responsive margin/padding utilities */
.my-responsive {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.py-responsive {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

/* Safe area insets for notched devices */
@supports (padding: max(0px)) {
  .ot-header-area {
    padding-left: max(15px, env(safe-area-inset-left));
    padding-right: max(15px, env(safe-area-inset-right));
  }
  
  .ot-footer-area {
    padding-bottom: max(30px, env(safe-area-inset-bottom));
  }
}

/* ==========================================================
   81. PERFORMANCE OPTIMIZATIONS
   ========================================================== */
/* GPU acceleration for animations */
.ot-service-item,
.mivaro-stat-card,
.ot-btn-primary,
.ot-hero-thumb img,
.mivaro-hero-img {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Optimize images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contain layout shifts */
.ot-service-item,
.mivaro-stat-card {
  contain: layout style;
}

/* ==========================================================
   82. ENHANCED FORM STYLES - ALL DEVICES
   ========================================================== */
.form-control {
  border: 1px solid var(--mivaro-border);
  background: var(--mivaro-bg-light);
  color: var(--mivaro-neutral-dark);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--mivaro-primary-dark);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
  outline: none;
}

.form-control::placeholder {
  color: var(--mivaro-graphite);
  opacity: 0.7;
}

/* Better select styling */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A4F54' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

/* Legacy mobile navigation styles removed - using new offcanvas design */

/* ==========================================================
   84. ENHANCED SCROLL-TO-TOP BUTTON (GPU-Accelerated)
   ========================================================== */
.scroll-top {
  position: fixed;
  right: clamp(15px, 3vw, 30px);
  bottom: clamp(15px, 3vw, 30px);
  width: clamp(45px, 6vw, 55px);
  height: clamp(45px, 6vw, 55px);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  background: var(--mivaro-bg-light);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 90, 130, 0.15);
  /* GPU acceleration */
  -webkit-transform: translate3d(0, 20px, 0);
  transform: translate3d(0, 20px, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* Optimized transition */
  transition: opacity 0.3s ease, 
              visibility 0.3s ease, 
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease;
}

.scroll-top.show,
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.scroll-top svg {
  width: 100%;
  height: 100%;
}

.scroll-top path {
  fill: none;
  stroke: var(--mivaro-primary-dark);
  stroke-width: 4;
  stroke-linecap: round;
  /* Optimized stroke animation */
  transition: stroke-dashoffset 50ms linear, stroke 0.3s ease;
}

.scroll-top:hover {
  -webkit-transform: translate3d(0, -5px, 0);
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 8px 30px rgba(0, 90, 130, 0.25);
}

.scroll-top:hover path {
  stroke: var(--mivaro-primary-light);
}

/* ==========================================================
   85. BODY OVERLAY FOR MOBILE MENU
   ========================================================== */
.body-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.body-overlay.show,
.body-overlay.opend {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================
   OFFCANVAS MENU - REDESIGNED
   ========================================================== */
.ot-offcanvas {
  position: fixed;
  top: 0;
  right: -100%;
  width: clamp(280px, 85vw, 320px);
  height: 100%;
  background: linear-gradient(180deg, var(--mivaro-deep-blue) 0%, var(--mivaro-neutral-dark) 100%);
  z-index: 9999;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.ot-offcanvas.opend {
  right: 0;
}

/* Offcanvas Header */
.ot-offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 25px 20px 25px;
  padding-top: 85px; /* Platz für den fixen Header */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.ot-offcanvas-header .mivaro-logo-text {
  font-size: 1.4rem;
  background: linear-gradient(135deg, #fff 0%, var(--mivaro-primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.ot-offcanvas-close-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ot-offcanvas-close-toggle:hover {
  background: var(--mivaro-primary-light);
  transform: rotate(90deg);
}

/* Offcanvas Navigation */
.ot-offcanvas-nav {
  flex: 1;
  padding: 30px 0;
}

.ot-offcanvas-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ot-offcanvas-nav ul li {
  margin: 0;
}

.ot-offcanvas-nav ul li a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 25px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.ot-offcanvas-nav ul li a i {
  width: 24px;
  text-align: center;
  font-size: 1rem;
  color: var(--mivaro-primary-light);
  transition: transform 0.3s ease;
}

.ot-offcanvas-nav ul li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-left-color: var(--mivaro-primary-light);
  padding-left: 30px;
}

.ot-offcanvas-nav ul li a:hover i {
  transform: scale(1.2);
}

.ot-offcanvas-nav ul li a.active-page {
  background: rgba(54, 169, 225, 0.15);
  color: #fff;
  border-left-color: var(--mivaro-primary-light);
}

.ot-offcanvas-nav ul li a.active-page i {
  color: #fff;
}

/* Navigation Divider */
.ot-offcanvas-nav ul li.nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 25px 25px;
  padding: 0;
}

/* Login Link Style */
.ot-offcanvas-nav ul li a.nav-login-link {
  background: rgba(54, 169, 225, 0.1);
  border-left-color: var(--mivaro-primary-light);
  margin-top: 5px;
}

.ot-offcanvas-nav ul li a.nav-login-link i {
  color: var(--mivaro-primary-light);
}

.ot-offcanvas-nav ul li a.nav-login-link:hover {
  background: rgba(54, 169, 225, 0.2);
}

/* Offcanvas Footer */
.ot-offcanvas-footer {
  padding: 30px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(0, 90, 130, 0.3) 0%, rgba(0, 40, 60, 0.5) 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.sidebar-logo {
  max-width: 140px;
  height: auto;
  border-radius: 16px;
  filter: brightness(1.1);
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo:hover {
  transform: scale(1.08) rotate(2deg);
  filter: brightness(1.2);
  box-shadow: 0 12px 35px rgba(54, 169, 225, 0.4);
  border-color: var(--mivaro-primary-light);
}

/* Sidebar Slogan */
.sidebar-slogan {
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.7;
  margin: 0;
  padding: 15px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  letter-spacing: 0.4px;
  position: relative;
  max-width: 100%;
}

.sidebar-slogan::before {
  content: '"';
  position: absolute;
  top: -5px;
  left: 5px;
  font-size: 2.5rem;
  font-family: Georgia, serif;
  color: var(--mivaro-primary-light);
  opacity: 0.5;
  line-height: 1;
}

.sidebar-slogan::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mivaro-primary-light), transparent);
  margin: 15px auto 0;
  border-radius: 2px;
}

.ot-offcanvas-footer .ot-btn-primary {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, var(--mivaro-primary-light) 0%, var(--mivaro-primary-dark) 100%);
  border: none;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
}

.ot-offcanvas-footer .ot-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(54, 169, 225, 0.4);
}

/* ==========================================================
   86. ENHANCED CONTACT PAGE CARDS
   ========================================================== */
.contact-card {
  background: var(--mivaro-bg-light);
  padding: clamp(25px, 4vw, 40px);
  border-radius: clamp(12px, 2vw, 16px);
  box-shadow: 0 10px 40px rgba(0, 90, 130, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 90, 130, 0.12);
}

.contact-card-icon {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(15px, 3vw, 25px);
}

.contact-card-icon i {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: white;
}

.contact-card h4 {
  font-size: var(--fs-lg, 1.25rem);
  margin-bottom: clamp(10px, 1.5vw, 15px);
  color: var(--mivaro-neutral-dark);
}

.contact-card p {
  color: var(--mivaro-graphite);
  margin: 0;
  line-height: 1.6;
}

.contact-card a {
  color: var(--mivaro-primary-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--mivaro-primary-light);
}

/* ==========================================================
   87. BEWERBUNG PAGE ENHANCEMENTS
   ========================================================== */
.job-hero-tags {
  display: flex;
  gap: clamp(10px, 2vw, 15px);
  flex-wrap: wrap;
  margin-top: clamp(15px, 3vw, 25px);
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mivaro-bg-light);
  border: 1px solid var(--mivaro-border);
  padding: clamp(8px, 1.5vw, 12px) clamp(12px, 2vw, 18px);
  border-radius: 50px;
  font-size: var(--fs-sm, 0.9rem);
  color: var(--mivaro-neutral-dark);
  pointer-events: none;
}

.job-tag i {
  color: var(--mivaro-primary-dark);
}

.job-info-card {
  background: var(--mivaro-bg-light);
  border-radius: clamp(12px, 2vw, 16px);
  padding: clamp(20px, 4vw, 30px);
  box-shadow: 0 10px 40px rgba(0, 90, 130, 0.08);
}

.job-info-card h4 {
  font-size: var(--fs-lg, 1.1rem);
  margin-bottom: clamp(15px, 2vw, 20px);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mivaro-neutral-dark);
}

.job-info-card h4 i {
  color: var(--mivaro-primary-dark);
}

.job-info-table {
  width: 100%;
}

.job-info-table tr {
  border-bottom: 1px solid var(--mivaro-border);
}

.job-info-table tr:last-child {
  border-bottom: none;
}

.job-info-table td {
  padding: clamp(10px, 1.5vw, 14px) 0;
}

.job-info-table td:first-child {
  color: var(--mivaro-graphite);
}

.job-info-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--mivaro-neutral-dark);
}

/* Sticky Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 110px;
}

@media (max-width: 991px) {
  .sticky-sidebar {
    position: static;
    margin-top: 30px;
  }
}

/* ==========================================================
   88. QUICK LINKS SECTION
   ========================================================== */
.quick-link-card {
  display: block;
  background: var(--mivaro-bg-light);
  padding: clamp(25px, 4vw, 40px);
  border-radius: clamp(12px, 2vw, 16px);
  box-shadow: 0 10px 40px rgba(0, 90, 130, 0.08);
  text-align: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.quick-link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 90, 130, 0.15);
}

.quick-link-card i {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--mivaro-primary-dark);
  margin-bottom: clamp(15px, 2vw, 20px);
  display: block;
  transition: transform 0.3s ease;
}

.quick-link-card:hover i {
  transform: scale(1.1);
}

.quick-link-card h4 {
  font-size: var(--fs-lg, 1.1rem);
  color: var(--mivaro-neutral-dark);
  margin-bottom: clamp(8px, 1vw, 12px);
}

.quick-link-card p {
  color: var(--mivaro-graphite);
  margin: 0;
  font-size: var(--fs-sm, 0.9rem);
}

/* ==========================================================
   89. IMAGE ASPECT RATIOS
   ========================================================== */
.aspect-ratio-16-9 {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.aspect-ratio-4-3 {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.aspect-ratio-1-1 {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ==========================================================
   90. SMOOTH CONTENT REVEAL
   ========================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveals */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   BEWERBUNG PAGE - COMPLETE REDESIGN
   ============================================================ */

/* Job Hero Section */
.job-hero-section {
  background: linear-gradient(135deg, var(--mivaro-tech-white) 0%, var(--mivaro-bg-soft) 100%);
  padding: clamp(40px, 8vw, 80px) 0;
  position: relative;
}

.job-hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mivaro-primary-dark), var(--mivaro-primary-light), var(--mivaro-primary-dark));
}

.job-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 204, 113, 0.1);
  color: var(--mivaro-success);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--mivaro-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.job-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--mivaro-neutral-dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.job-description {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--mivaro-graphite);
  margin-bottom: 25px;
  max-width: 550px;
  line-height: 1.6;
}

.job-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mivaro-bg-light);
  border: 1px solid var(--mivaro-border);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mivaro-neutral-dark);
  transition: all 0.3s ease;
}

.job-tag i {
  color: var(--mivaro-primary-dark);
}

.job-tag.highlight {
  background: linear-gradient(135deg, var(--mivaro-primary-dark), var(--mivaro-primary-light));
  color: white;
  border: none;
}

.job-tag.highlight i {
  color: white;
}

/* Job Info Card */
.job-info-card {
  background: var(--mivaro-bg-light);
  border-radius: 20px;
  padding: clamp(25px, 4vw, 35px);
  box-shadow: 0 15px 50px rgba(0, 90, 130, 0.1);
  border: 1px solid rgba(0, 119, 182, 0.1);
}

.job-info-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mivaro-neutral-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-info-card h4 i {
  color: var(--mivaro-primary-dark);
}

.job-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--mivaro-border);
}

.job-info-row:last-of-type {
  border-bottom: none;
}

.job-info-row .label {
  color: var(--mivaro-graphite);
  font-size: 0.95rem;
}

.job-info-row .value {
  font-weight: 600;
  color: var(--mivaro-neutral-dark);
}

.job-info-row .value.highlight {
  color: var(--mivaro-success);
  font-size: 1.1rem;
}

.btn-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, var(--mivaro-primary-dark), var(--mivaro-primary-light));
  color: white;
  padding: 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.4);
  color: white;
}

/* Job Content Section */
.job-content-section {
  padding: clamp(40px, 8vw, 80px) 0;
  background: var(--mivaro-bg-light);
}

.content-card {
  background: var(--mivaro-tech-white);
  border-radius: 16px;
  padding: clamp(25px, 4vw, 35px);
  margin-bottom: 25px;
  box-shadow: 0 8px 30px rgba(0, 90, 130, 0.06);
  border: 1px solid var(--mivaro-border);
}

.content-card.compact {
  height: 100%;
}

.content-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--mivaro-neutral-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-card h3 i {
  color: var(--mivaro-primary-dark);
  font-size: 1.1rem;
}

.content-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mivaro-neutral-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-card h4 i {
  color: var(--mivaro-primary-dark);
}

.content-card p {
  color: var(--mivaro-graphite);
  line-height: 1.7;
  margin-bottom: 15px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.highlight-text {
  background: rgba(0, 119, 182, 0.08);
  padding: 15px 20px;
  border-radius: 10px;
  border-left: 4px solid var(--mivaro-primary-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mivaro-primary-dark) !important;
  font-weight: 500;
}

.highlight-text i {
  color: var(--mivaro-warning);
  font-size: 1.2rem;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  background: var(--mivaro-bg-light);
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid var(--mivaro-border);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 90, 130, 0.12);
  border-color: var(--mivaro-primary-light);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, var(--mivaro-primary-dark), var(--mivaro-primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.25);
}

.benefit-icon i {
  color: white;
  font-size: 1.3rem;
}

.benefit-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.benefit-content strong {
  color: var(--mivaro-neutral-dark);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.benefit-content span {
  color: var(--mivaro-graphite);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--mivaro-border);
  color: var(--mivaro-neutral-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

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

.check-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--mivaro-primary-dark);
  font-size: 0.8rem;
}

.check-list li.highlight {
  color: var(--mivaro-warning);
  font-weight: 600;
}

.check-list li.highlight::before {
  display: none;
}

.check-list li.highlight i {
  color: var(--mivaro-warning);
}

/* Sidebar */
.sidebar-sticky {
  position: sticky;
  top: 100px;
}

.cta-card {
  background: linear-gradient(135deg, var(--mivaro-primary-dark), var(--mivaro-deep-blue));
  border-radius: 20px;
  padding: clamp(25px, 4vw, 35px);
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.cta-icon i {
  color: white;
  font-size: 1.5rem;
}

.cta-card h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: white;
  color: var(--mivaro-primary-dark);
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--mivaro-primary-dark);
}

.contact-card {
  background: var(--mivaro-tech-white);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--mivaro-border);
}

.contact-card h4 {
  font-size: 1rem;
  color: var(--mivaro-neutral-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card h4 i {
  color: var(--mivaro-primary-dark);
}

.contact-card p {
  color: var(--mivaro-graphite);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mivaro-primary-dark);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--mivaro-primary-light);
}

/* Application Section */
.application-section {
  background: linear-gradient(180deg, var(--mivaro-bg-soft) 0%, var(--mivaro-tech-white) 100%);
  padding: clamp(50px, 10vw, 100px) 0;
}

.application-card {
  background: var(--mivaro-bg-light);
  border-radius: 24px;
  padding: clamp(30px, 5vw, 50px);
  box-shadow: 0 20px 60px rgba(0, 90, 130, 0.1);
  border: 1px solid rgba(0, 119, 182, 0.1);
}

.application-header {
  text-align: center;
  margin-bottom: 40px;
}

.header-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--mivaro-primary-dark), var(--mivaro-primary-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.header-icon i {
  color: white;
  font-size: 1.8rem;
}

.application-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--mivaro-neutral-dark);
  margin-bottom: 10px;
}

.application-header p {
  color: var(--mivaro-graphite);
  font-size: 1rem;
}

/* Application Form */
.application-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .application-form .form-row {
    grid-template-columns: 1fr;
  }
}

.application-form .form-group {
  margin-bottom: 0;
}

.application-form .form-group.full-width {
  margin-bottom: 20px;
}

.application-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--mivaro-neutral-dark);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.application-form label i {
  color: var(--mivaro-primary-dark);
  font-size: 0.9rem;
}

.application-form input,
.application-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid var(--mivaro-border);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--mivaro-neutral-dark);
  background: var(--mivaro-tech-white);
  transition: all 0.3s ease;
}

.application-form input:focus,
.application-form textarea:focus {
  border-color: var(--mivaro-primary-dark);
  box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.1);
  outline: none;
  background: var(--mivaro-bg-light);
}

.application-form input::placeholder,
.application-form textarea::placeholder {
  color: var(--mivaro-graphite);
  opacity: 0.6;
}

/* File Upload */
.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 2px dashed var(--mivaro-border);
  border-radius: 12px;
  background: var(--mivaro-tech-white);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.file-label:hover,
.file-upload:hover .file-label {
  border-color: var(--mivaro-primary-dark);
  background: rgba(0, 119, 182, 0.03);
}

.file-label i {
  font-size: 2rem;
  color: var(--mivaro-primary-dark);
  margin-bottom: 10px;
}

.file-label span {
  color: var(--mivaro-neutral-dark);
  font-weight: 500;
  margin-bottom: 5px;
}

.file-label small {
  color: var(--mivaro-graphite);
  font-size: 0.8rem;
}

/* Ausweis Upload Row - Zwei Felder nebeneinander */
.ausweis-upload-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.ausweis-upload-row .file-upload {
  flex: 1;
}

.ausweis-upload-row .file-label {
  padding: 20px 15px;
}

.ausweis-upload-row .file-label i {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.ausweis-upload-row .file-label span {
  font-size: 0.9rem;
}

.ausweis-upload-row .file-label small {
  font-size: 0.7rem;
}

@media (max-width: 576px) {
  .ausweis-upload-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .ausweis-upload-row .file-label {
    padding: 15px 12px;
  }
}

/* Ausweis-Hinweisfeld (Bewerbungsformular) */
.ausweis-hinweis {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px solid #f59e0b;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  color: #92400e;
}

.ausweis-hinweis i {
  font-size: 24px;
  color: #d97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.ausweis-hinweis strong {
  display: block;
  margin-bottom: 5px;
  color: #78350f;
}

.ausweis-hinweis p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.ausweis-hinweis p strong {
  display: inline;
  color: inherit;
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--mivaro-primary-dark), var(--mivaro-primary-light));
  color: white;
  padding: 18px;
  border: none;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.3);
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0, 119, 182, 0.4);
}

.btn-submit:active {
  transform: translateY(-1px);
}

.security-note {
  text-align: center;
  color: var(--mivaro-graphite);
  font-size: 0.85rem;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.security-note i {
  color: var(--mivaro-success);
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .sidebar-sticky {
    position: static;
    margin-top: 30px;
  }
  
  .job-info-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .job-tags {
    justify-content: center;
  }
  
  .job-hero-section {
    text-align: center;
    padding-top: 30px; /* Extra space for mobile */
  }
  
  .job-status-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    white-space: nowrap;
  }
  
  .job-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .content-card.compact {
    height: auto;
    margin-bottom: 20px;
  }
}

