:root {
    --brand-dark: #0f2435;
    --brand-accent: #d4b27a;
    --primary: #d4b27a !important;
    --warning: #d4b27a !important;
    --yellow: #d4b27a !important;
    
    /* Font System */
    --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans", "Liberation Sans";
    --font-head: 'Montserrat', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto;
  }
  
  /* ===== DIRECT FONT EMBEDDING ===== */
  /* Embed fonts directly in _custom.css to avoid loading issues */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/montserrat/Montserrat-ExtraBold.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter/Inter_18pt-Regular.ttf') format('truetype');
  }
  
  /* ===== COMPLETE FONT OVERRIDE ===== */
  /* Replace ALL old fonts with new brand fonts */
  body {
    font-family: var(--font-body) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  
  /* Override ALL headings and heading classes */
  h1, h2, h3, h4, h5, h6, .heading,
  .site-hero .heading,
  .site-hero-inner .heading,
  .display-1, .display-2, .display-3, .display-4,
  .font-family-serif {
    font-family: 'Montserrat', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    text-wrap: balance;
  }
  
  /* Override ALL body text and sans-serif classes */
  .font-family-sans-serif,
  .site-navbar nav .menu,
  .site-navbar nav .menu li a,
  .contact-section .contact-info p,
  p, span, div, li, td, th, label, input, textarea, select {
    font-family: var(--font-body) !important;
  }
  
  /* Navigation specific */
  .site-navbar nav .menu {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
  }
  
  /* Hero-specific overrides - HIGHEST PRIORITY */
  .site-hero .heading,
  .site-hero-inner .heading,
  .site-hero h1, .site-hero h2, .site-hero h3,
  .site-hero-inner h1, .site-hero-inner h2, .site-hero-inner h3 {
    font-family: 'Montserrat', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
  }
  
  
  /* ===== NAVIGATION TYPOGRAPHY HIERARCHY ===== */
  .site-navbar nav .menu,
  .site-navbar nav .menu li a {
    font-family: var(--font-body) !important; /* Inter */
  }
  
  /* Primary navigation links - standard size */
  .site-navbar nav .menu li a {
    font-size: clamp(1.125rem, 1.25rem + 0.75vw, 1.625rem) !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    /* Overlay-Menü hat weißen Hintergrund → schwarze Links für Lesbarkeit */
    color: #000000 !important;
    transition: all 0.2s ease !important;
  }
  
  /* Active/current page - larger and bolder */
  .site-navbar nav .menu li.active a {
    font-size: clamp(1.25rem, 1.375rem + 0.875vw, 1.875rem) !important;
    font-weight: 700 !important;
    color: var(--brand-accent) !important;
  }
  
  /* Hover effects for better interactivity */
  .site-navbar nav .menu li a:hover {
    font-weight: 600 !important;
    color: var(--brand-accent) !important;
    transform: translateX(4px) !important;
  }
  
  /* Language switcher - smaller, secondary styling */
  .language-switcher {
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(0,0,0,0.1) !important;
  }
  
  .language-switcher .lang-link {
    font-size: clamp(0.875rem, 0.9375rem + 0.25vw, 1rem) !important;
    font-weight: 500 !important;
    color: #666666 !important;
    text-decoration: none !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
  }
  
  .language-switcher .lang-link:hover {
    background-color: rgba(0,0,0,0.05) !important;
    color: var(--brand-accent) !important;
  }
  
  .hero-eyebrow {
    font-size: clamp(0.75rem, 0.875rem + 0.5vw, 1rem) !important;
  }
  
  .lead {
    font-size: clamp(1rem, 1.125rem + 0.5vw, 1.25rem) !important;
  }
  
  
  /* ===== RESPONSIVE LOGO STYLES (Header) ===== */
  /* Comprehensive responsive logo system with proper scaling - HIGH SPECIFICITY */
  header.site-header .site-logo img.adaptive-logo {
    height: auto !important;
    width: auto !important;
    max-width: 100% !important;
    transition: all 0.3s ease !important;
    object-fit: contain !important;
  }
  
  /* Default logo size (desktop, non-scrolled) - HIGH SPECIFICITY */
  header.site-header .site-logo img.adaptive-logo {
    max-height: clamp(48px, 8vw, 80px) !important;
  }
  
  /* Scrolled or menu-open state - smaller logo - HIGH SPECIFICITY */
  header.site-header.scrolled .site-logo img.adaptive-logo,
  .menu-open header.site-header .site-logo img.adaptive-logo {
    max-height: clamp(32px, 6vw, 48px) !important;
  }
  
  /* Tablet responsive breakpoints - HIGH SPECIFICITY */
  @media (max-width: 768px) {
    header.site-header .site-logo img.adaptive-logo {
      max-height: clamp(40px, 7vw, 64px) !important;
    }
    
    header.site-header.scrolled .site-logo img.adaptive-logo,
    .menu-open header.site-header .site-logo img.adaptive-logo {
      max-height: clamp(28px, 5vw, 40px) !important;
    }
  }
  
  /* Mobile responsive breakpoints - HIGH SPECIFICITY */
  @media (max-width: 480px) {
    header.site-header .site-logo img.adaptive-logo {
      max-height: clamp(32px, 6vw, 48px) !important;
    }
    
    header.site-header.scrolled .site-logo img.adaptive-logo,
    .menu-open header.site-header .site-logo img.adaptive-logo {
      max-height: clamp(24px, 4vw, 32px) !important;
    }
  }
  
  /* Very small mobile devices - HIGH SPECIFICITY */
  @media (max-width: 320px) {
    header.site-header .site-logo img.adaptive-logo {
      max-height: clamp(28px, 5vw, 40px) !important;
    }
    
    header.site-header.scrolled .site-logo img.adaptive-logo,
    .menu-open header.site-header .site-logo img.adaptive-logo {
      max-height: clamp(20px, 3vw, 28px) !important;
    }
  }
  
  /* ===== DUAL LOGO SYSTEM ===== */
  /* Default logo (light logo for dark backgrounds) - HIGH SPECIFICITY */
  header.site-header .site-logo img.adaptive-logo {
    filter: none !important;
    transition: filter 0.3s ease !important;
  }
  
  /* Dark logo effect for light backgrounds - HIGH SPECIFICITY */
  /* Using reliable CSS filter approach that works across all browsers */
  header.site-header.scrolled .site-logo img.adaptive-logo,
  .menu-open header.site-header .site-logo img.adaptive-logo,
  header.site-header .site-logo img.adaptive-logo.force-dark {
    filter: invert(1) hue-rotate(180deg) saturate(0) brightness(0.2) !important;
  }


  /* ===== TRUST BADGE LOGO STYLES ===== */
  /* Responsive Trust Badge Logos - Einfache Lösung */
  .trust-badge-logo {
    height: 150px !important; /* Desktop: größer */
    width: auto !important;
    max-width: none !important;
    transition: transform 0.3s ease;
    object-fit: contain;
  }
  
  .trust-badge-logo:hover {
    transform: scale(1.1);
  }
  
  /* Tablet */
  @media (max-width: 768px) {
    .trust-badge-logo {
      height: 48px !important; /* Tablet: mittel */
    }
  }
  
  /* Mobile */
  @media (max-width: 480px) {
    .trust-badge-logo {
      height: 36px !important; /* Mobile: kleiner */
    }
  }

  
  /* Form elements */
  .form-control, .btn, label {
    font-family: var(--font-body) !important;
  }
  
  .btn {
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
  }
  
  /* ===== COLOR OVERRIDES ===== */
  .btn-primary {
    background-color: var(--brand-accent) !important;
    border-color: var(--brand-accent) !important;
    color: #1b1b1b !important;
  }
  
  .btn-primary:hover, .btn-primary:focus, .btn-primary:active,
  .btn-primary.focus, .btn-primary.active {
    background-color: var(--brand-accent) !important;
    border-color: var(--brand-accent) !important;
    color: #1b1b1b !important;
    filter: brightness(0.95);
  }
  
  .text-primary {
    color: var(--brand-accent) !important;
  }
  
  .bg-primary {
    background-color: var(--brand-accent) !important;
  }
  
  .form-control:focus, .form-control:active {
    border-color: var(--brand-accent) !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 178, 122, 0.25) !important;
  }
  
