/*
Template: Nodework IT Services
Author: Justin Ritter
Description: IT Services Website with Light/Dark Mode
Version: 2.0

CSS STRUCTURE:
1. CSS Variables (Light & Dark Mode)
2. Base Styles
3. Header & Logo
4. Navigation
5. Hero Section
6. Responsive Design
7. Accessibility
*/

/*--------------------------------------------------------------
/** 1. CSS VARIABLES
--------------------------------------------------------------*/

/* Light Mode Variables (Default) */
:root {
  /* Layout */
  --header-height: 120px;
  --header-height-min: 80px;
  --content-max-width: 1200px;

  /* Fonts */
  --body-font: "Roboto", sans-serif;
  --heading-font: 'Montserrat', sans-serif;
  --logo-font: 'Raleway', sans-serif;

  /* Light Mode Colors */
  --accent-color: #C5A992;
  --accent-darker: #B09478;
  --accent-lighter: #E5D5C4;
  
  --bg-primary: #FAFAF9;
  --bg-secondary: #F5F4F2;
  --bg-tertiary: #F0EFEC;
  --bg-accent-subtle: #F7F3EF;
  --bg-primary-rgb: 250, 250, 249;
  --bg-secondary-rgb: 245, 244, 242;
  
  --text-primary: #2C2B29;
  --text-secondary: #5A5753;
  --text-muted: #8B8680;
  --text-inverse: #FAFAF9;
  
  --border-color: #E8E6E3;
  --border-subtle: #F0EFEC;
  --shadow-color: rgba(44, 43, 41, 0.1);

  /* Bootstrap Override */
  --bs-body-font-family: var(--body-font);
  --bs-body-font-size: 18px;
  --bs-body-color: var(--text-primary);
  --bs-body-bg: var(--bg-primary);
  --bs-primary: var(--accent-color);
  --bs-link-color: var(--text-primary);
  --bs-link-hover-color: var(--accent-darker);
}

/* Dark Mode Variables */
.dark-mode {
  color-scheme: dark;

  /* Dark Mode Colors */
  --accent-color: #C5A992;
  --accent-darker: #B09478;
  --accent-lighter: #E5D5C4;
  
  --bg-primary: #2f2f2f;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #404040;
  --bg-accent-subtle: rgba(197, 169, 146, 0.1);
  --bg-primary-rgb: 47, 47, 47;
  --bg-secondary-rgb: 26, 26, 26;
  
  --text-primary: #ffffff;
  --text-secondary: #afafaf;
  --text-muted: #757575;
  --text-inverse: #2f2f2f;
  
  --border-color: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --shadow-color: rgba(0, 0, 0, 0.3);

  /* Bootstrap Override */
  --bs-body-color: var(--text-primary);
  --bs-body-bg: var(--bg-primary);
  --bs-link-color: var(--text-primary);
  --bs-link-hover-color: var(--accent-color);
}

/* Mobile Responsive Variables */
@media screen and (max-width: 600px) {
  :root {
    --header-height: 100px;
    --header-height-min: 80px;
  }
}

/*--------------------------------------------------------------
/** 2. BASE STYLES
--------------------------------------------------------------*/

* {
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  margin: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 25px;
}

a {
  color: var(--bs-link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--bs-link-hover-color);
}

/*--------------------------------------------------------------
/** 3. HEADER & LOGO
--------------------------------------------------------------*/

header .main-header{
  position: absolute;
  top: 0;
  z-index: 10;
  width: 100%;
  height: var(--header-height);
  transition: all 0.3s ease;
}

.main-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  opacity: 0.95;
  z-index: 100;
}

.main-logo:hover {
  /* background: rgba(250, 250, 249, 1); */
  border-bottom-color: var(--border-color);
  border-right-color: var(--border-color);
  opacity: 1;
}

.main-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.main-logo a svg {
  width: auto;
  height: 75%;
  max-width: 100%;
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-family: var(--logo-font);
}

/* Dark Mode Logo */
.dark-mode .main-logo {
  /* background: rgba(47, 47, 47, 0.6); */
  border-bottom: none;
  border-right: none;
}

/* Desktop Logo Fixed Position */
@media (min-width: 992px) {
  .main-logo {
    position: fixed;
  }
}

/* Mobile Logo Responsive */
@media (max-width: 991.98px) {
  .main-logo {
    position: absolute;
    width: 120px;
    height: 80px;
  }
  
  .main-logo a svg {
    height: 70%;
  }
}

@media (max-width: 575.98px) {
  .main-logo {
    width: 110px;
    height: 75px;
  }
  
  .main-logo a svg {
    height: 65%;
  }
}

/*--------------------------------------------------------------
/** 4. NAVIGATION
--------------------------------------------------------------*/

/* Side Navigation Bar */
.side-nav-bar {
  position: absolute;
  z-index: 170;
  right: 0;
  margin: 30px;
  display: block;
  width: 30px;
}

.side-nav-bar .menu-btn {
  position: fixed;
  top: 15px;
  right: 40px;
  display: flex;
  align-items: center;
  width: 20px;
  height: 26px;
  cursor: pointer;
  transition: all 0.5s ease;
  z-index: 200;
}

.side-nav-bar .menu-btn > span,
.side-nav-bar .menu-btn > span::before,
.side-nav-bar .menu-btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition-duration: 0.25s;
}

.side-nav-bar .menu-btn > span::before {
  content: '';
  top: -8px;
}

.side-nav-bar .menu-btn > span::after {
  content: '';
  top: 8px;
}

/* Dark Mode Menu Button */
.dark-mode .side-nav-bar .menu-btn > span,
.dark-mode .side-nav-bar .menu-btn > span::before,
.dark-mode .side-nav-bar .menu-btn > span::after {
  background-color: var(--text-primary);
}

/* Menu Animation when Active */
body.nav-active .side-nav-bar .menu-btn > span {
  transform: rotate(45deg);
  z-index: 2;
}

body.nav-active .side-nav-bar .menu-btn > span::before {
  top: 0;
  transform: rotate(0);
  background: var(--text-primary);
}

body.nav-active .side-nav-bar .menu-btn > span::after {
  top: 0;
  transform: rotate(90deg);
  background: var(--text-primary);
}

/* Navigation Overlay */
.nav-overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-overlay::before,
.nav-overlay::after {
  content: "";
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(var(--bg-secondary-rgb, 20, 21, 26), 0.6);
  border-bottom-left-radius: 200%;
  z-index: -1;
  transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, 
              border-radius linear 0.8s;
  transform: translateX(100%) translateY(-100%);
}

.nav-overlay::after {
  background: var(--bg-secondary);
  transition-delay: 0s;
}

.nav-overlay::before {
  transition-delay: 0.2s;
}

.nav__content {
  position: fixed;
  visibility: hidden;
  top: 50%;
  margin-top: 20px;
  transform: translate(0%, -50%);
  width: 100%;
  height: 100%;
  overflow: auto;
}

.nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 2;
}

.nav__list-item {
  position: relative;
  display: block;
  transition-delay: 0.8s;
  opacity: 0;
  color: var(--text-primary);
  overflow: hidden;
  font-family: var(--heading-font);
  font-size: 6vh;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 3px;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  margin-bottom: 2rem;
}

.nav__list-item a {
  position: relative;
  text-decoration: none;
  color: var(--text-secondary);
  overflow: hidden;
  cursor: pointer;
  padding: 0 5px;
  font-weight: 900;
  z-index: 2;
  display: inline-block;
  text-transform: uppercase;
  transition: all 200ms linear;
}

.nav__list-item a::after {
  position: absolute;
  content: '';
  bottom: 0;
  margin-top: -2px;
  left: 50%;
  width: 0;
  height: 0;
  opacity: 0;
  background-color: var(--accent-color);
  z-index: 1;
  transition: all 200ms linear;
}


.nav__list-item a:hover::after {
  height: 4px;
  opacity: 1;
  left: 0;
  width: 100%;
}


.nav__list-item a:hover {
  color: var(--text-primary);
}

/* Active Navigation Item - KORRIGIERT */
.nav__list-item.active-nav a {
  color: var(--text-primary) !important;
}

.nav__list-item.active-nav a::after {
  height: 4px !important;
  opacity: 1 !important;
  left: 0 !important;
  width: 100% !important;
}

/* Navigation Active States */
body.nav-active {
  overflow: hidden;
}

body.nav-active .nav__content {
  visibility: visible;
}

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

body.nav-active .nav-overlay::before,
body.nav-active .nav-overlay::after {
  transform: translateX(0%) translateY(0%);
  border-radius: 0;
}

body.nav-active .nav-overlay::after {
  transition-delay: 0.1s;
}

body.nav-active .nav-overlay::before {
  transition-delay: 0s;
}

body.nav-active .nav__list-item {
  opacity: 1;
  transform: translateX(0%);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

/* Staggered Animation for Nav Items */
body.nav-active .nav__list-item:nth-child(1) { transition-delay: 0.8s; }
body.nav-active .nav__list-item:nth-child(2) { transition-delay: 0.9s; }
body.nav-active .nav__list-item:nth-child(3) { transition-delay: 1s; }
body.nav-active .nav__list-item:nth-child(4) { transition-delay: 1.1s; }
body.nav-active .nav__list-item:nth-child(5) { transition-delay: 1.2s; }

/* Navigation Contact Section - KORRIGIERT */
.nav__contact {
  padding: 2rem;
  background: rgba(var(--bg-secondary-rgb, 255, 255, 255), 0.03);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
}

.contact__title {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

.contact__teaser {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact__details {
  font-style: normal;
}

.contact__item {
  margin-bottom: 1.5rem;
}


.contact__link,
.contact__info {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact__link:hover,
.contact__link:focus {
  color: var(--accent-color);
  transform: translateX(5px);
}

.contact__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-accent-subtle);
  border-radius: 50%;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}


.contact__link:hover .contact__icon,
.contact__link:focus .contact__icon {
  background: var(--accent-color);
  transform: rotate(5deg);
}

.contact__text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-primary);
}

/* Social Media */
.contact__social {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.social__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.social__links {
  display: flex;
  gap: 1rem;
}


.social__link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social__link:hover,
.social__link:focus {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-3px);
}


/* Dark Mode Navigation Overrides */
.dark-mode .nav-overlay {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.dark-mode .nav-overlay::after {
  background: var(--bg-secondary);
}

.dark-mode .nav__contact {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color);
}

.dark-mode .contact__teaser {
  color: var(--text-secondary);
}

/* Mobile Navigation */
@media only screen and (max-width: 580px) {
  .nav__list-item {
    font-size: 5vh;
  }
}

/* Navigation Responsive */
@media (max-width: 991px) {
  .contact__social {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Accessibility - Navigation */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focus States für Navigation */
.contact__link:focus,
.social__link:focus,
.nav__list-item a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

/* High Contrast Mode für Navigation */
@media (prefers-contrast: high) {
  .nav__contact {
    border: 2px solid #fff;
  }
  
  .contact__link,
  .social__link,
  .nav__list-item a {
    text-decoration: underline;
  }
}

/* Reduced Motion Support für Navigation */
@media (prefers-reduced-motion: reduce) {
  .contact__link,
  .social__link,
  .contact__icon,
  .nav__list-item,
  .nav-overlay,
  .nav__content {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}

/*--------------------------------------------------------------
/** 5. HERO SECTION
--------------------------------------------------------------*/

/* Hero Container */
.hero-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-container .container {
  flex: 1;
  display: flex;
  align-items: center;
}

#intro.bg-dark {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

#intro.bg-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, var(--accent-lighter) 0%, transparent 60%);
  pointer-events: none;
}

/* Dark Mode Hero */
.dark-mode #intro.bg-dark {
  background: linear-gradient(135deg, var(--bg-primary) 0%, #1a1a1a 100%);
  color: var(--text-primary);
}

.dark-mode #intro.bg-dark::before {
  background: radial-gradient(circle at 30% 70%, rgba(197, 169, 146, 0.08) 0%, transparent 60%);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
}

.section-header .title span {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-left: 30px;
  position: relative;
}

.section-header span::before {
  content: "";
  border-bottom: 2px solid var(--accent-color);
  position: absolute;
  top: 9px;
  left: 3px;
  width: 14px;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-family: var(--heading-font);
}

.section-title.light {
  color: var(--text-primary);
}

.text-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 500px;
}

.text-light {
  color: var(--text-secondary);
}

/* Service Highlights */
.service-highlights {
  margin-bottom: 2rem;
}

.service-item {
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
  border-radius: 4px;
  color: var(--text-primary);
}

.service-item:hover {
  border-left-color: var(--accent-darker);
  transform: translateX(8px);
  background: var(--bg-accent-subtle);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.service-icon {
  font-size: 1.25rem;
  opacity: 0.8;
  width: 2rem;
  text-align: center;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-family: var(--body-font);
}

/* Tech Grid Desktop */
.tech-grid {
  max-width: 400px;
  margin: 0 auto;
}

.tech-element {
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  transition: all 0.3s ease;
  position: relative;
  min-height: 100px;
  display: flex;
  align-items: center;
  color: var(--text-primary);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.tech-element:hover {
  background: var(--accent-lighter);
  border-color: var(--accent-darker);
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(197, 169, 146, 0.2);
}

/* Dark Mode Tech Elements */
.dark-mode .tech-element {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.dark-mode .tech-element:hover {
  background: rgba(197, 169, 146, 0.1);
  border-color: var(--accent-color);
}

/* Tech Grid Mobile */
.tech-grid-mobile {
  max-width: 320px;
  margin: 0 auto;
}

.tech-element-mobile {
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.75rem 0.5rem;
  transition: all 0.3s ease;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.tech-element-mobile:hover {
  background: var(--accent-lighter);
  border-color: var(--accent-darker);
  transform: translateY(-2px);
}

/* Dark Mode Tech Elements Mobile */
.dark-mode .tech-element-mobile {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.dark-mode .tech-element-mobile:hover {
  background: rgba(197, 169, 146, 0.15);
  border-color: var(--accent-color);
}

.element-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-family: var(--body-font);
}

.element-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  position: relative;
}

.element-status::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  opacity: 0.6;
}

/* Tech Element Mobile Sizes */
.tech-element-mobile .element-label {
  font-size: 0.75rem;
}

.tech-element-mobile .element-status {
  width: 6px;
  height: 6px;
}

.tech-element-mobile .element-status::after {
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-width: 1px;
}

/* Connection Lines */
.connection-lines {
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.connection-line {
  fill: none;
  stroke: var(--accent-color);
  stroke-width: 0.5;
  stroke-dasharray: 2,2;
  opacity: 0.6;
  animation: dashFlow 3s ease-in-out infinite;
}

.connection-node {
  fill: var(--accent-darker);
  opacity: 0.8;
  animation: nodeGlow 2s ease-in-out infinite;
}

/* Dark Mode Connection Lines */
.dark-mode .connection-line {
  opacity: 0.3;
}

.dark-mode .connection-node {
  fill: var(--accent-color);
  opacity: 0.6;
}

/* Buttons */
.btn {
  background: var(--accent-color);
  color: var(--text-inverse);
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0.75em 1.5em;
  font-size: 15px;
  font-weight: bold;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.btn:hover {
  background: var(--accent-darker);
  color: var(--text-inverse);
  text-decoration: none;
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-inverse);
}

.btn-accent:hover {
  background-color: var(--accent-darker);
  border-color: var(--accent-darker);
  color: var(--text-inverse);
}

.btn-outline-light {
  background: transparent;
  border-color: var(--text-secondary);
  color: var(--text-secondary);
  border-width: 2px;
}

.btn-outline-light:hover {
  background: var(--text-secondary);
  border-color: var(--text-secondary);
  color: var(--bg-primary);
}

/* Dark Mode Buttons */
.dark-mode .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-primary);
  border-width: 1px;
}

.dark-mode .btn-outline-light:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-xlarge {
  padding: 1.5em 2.7em;
  font-size: 0.9em;
}

.btn-rounded {
  border-radius: 4px;
}

/* Scroll Indicator */
.scroll-indicator-fixed {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-link {
  color: var(--text-muted);
  transition: all 0.3s ease;
  padding: 1rem;
  text-decoration: none;
}

.scroll-link:hover {
  color: var(--accent-darker);
  transform: translateY(-3px);
}

.scroll-arrow {
  font-size: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
/** 6. RESPONSIVE DESIGN
--------------------------------------------------------------*/

/* Tablet & Mobile Adjustments */
@media (max-width: 991.98px) {
  .hero-container .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .service-highlights {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .tech-grid-mobile {
    max-width: 280px;
  }
  
  .tech-element-mobile {
    min-height: 55px;
    padding: 0.6rem 0.4rem;
  }
  
  .tech-element-mobile .element-label {
    font-size: 0.7rem;
  }
  
  .scroll-indicator-fixed {
    position: relative;
    transform: none;
    left: auto;
    bottom: auto;
    text-align: center;
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .tech-grid-mobile {
    max-width: 270px;
  }
  
  .tech-element-mobile {
    min-height: 52px;
    padding: 0.55rem 0.35rem;
  }
  
  .tech-element-mobile .element-label {
    font-size: 0.68rem;
  }
}

@media (max-width: 575.98px) {
  .hero-actions .btn {
    width: 100%;
  }
  
  .tech-grid-mobile {
    max-width: 260px;
  }
  
  .tech-element-mobile {
    min-height: 50px;
    padding: 0.5rem 0.3rem;
  }
  
  .tech-element-mobile .element-label {
    font-size: 0.65rem;
  }
  
  .tech-element-mobile .element-status {
    width: 5px;
    height: 5px;
  }
}

/* Low Height Optimization */
@media (max-height: 700px) {
  .hero-container {
    min-height: 100vh;
  }
  
  .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
  }
  
  .text-lead {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .service-highlights {
    margin-bottom: 1.5rem;
  }
  
  .scroll-indicator-fixed {
    bottom: 1rem;
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-container {
    min-height: 100vh;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .text-lead {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .tech-grid-mobile {
    margin-bottom: 0.5rem;
  }
  
  .tech-element-mobile {
    min-height: 40px;
    padding: 0.4rem 0.2rem;
  }
  
  .tech-element-mobile .element-label {
    font-size: 0.6rem;
  }
  
  .service-highlights {
    margin-bottom: 1rem;
  }
  
  .service-item {
    padding: 0.25rem;
  }
  
  .btn-xlarge {
    padding: 0.75rem 1.5rem;
  }
  
  .scroll-indicator-fixed {
    bottom: 0.5rem;
  }
}

/*--------------------------------------------------------------
/** 7. ACCESSIBILITY & ANIMATIONS
--------------------------------------------------------------*/

/* Animations */
@keyframes elementFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(1.4); }
}

@keyframes dashFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 8; }
}

@keyframes nodeGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

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

/* Tech Element Staggered Animation */
.tech-element-1 { animation: elementFloat 3s ease-in-out infinite 0s; }
.tech-element-2 { animation: elementFloat 3s ease-in-out infinite 0.5s; }
.tech-element-3 { animation: elementFloat 3s ease-in-out infinite 1s; }
.tech-element-4 { animation: elementFloat 3s ease-in-out infinite 1.5s; }

.tech-element-mobile.tech-element-1 { animation: elementFloat 3s ease-in-out infinite 0s; }
.tech-element-mobile.tech-element-2 { animation: elementFloat 3s ease-in-out infinite 0.3s; }
.tech-element-mobile.tech-element-3 { animation: elementFloat 3s ease-in-out infinite 0.6s; }
.tech-element-mobile.tech-element-4 { animation: elementFloat 3s ease-in-out infinite 0.9s; }

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .service-item:hover,
  .tech-element:hover,
  .tech-element-mobile:hover,
  .scroll-link:hover {
    transform: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
    --accent-color: #8B5A3C;
    --accent-darker: #6B3A1C;
    --border-color: #666666;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F8F8;
  }
  
  .tech-element,
  .tech-element-mobile {
    border: 2px solid #000000;
    background: #FFFFFF;
  }
  
  .tech-element:hover,
  .tech-element-mobile:hover {
    background: #F0F0F0;
    border-color: #8B5A3C;
  }
  
  .service-item:hover {
    background: #F5F5F5;
    border-left-color: #000000;
    border-left-width: 3px;
  }
  
  .btn-outline-light {
    border-color: #000000;
    border-width: 3px;
    color: #000000;
  }
  
  .dark-mode {
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --accent-color: #E5D5C4;
    --bg-primary: #000000;
    --bg-secondary: #1A1A1A;
  }
  
  .dark-mode .tech-element,
  .dark-mode .tech-element-mobile {
    border: 2px solid #FFFFFF;
    background: #000000;
  }
  
  .dark-mode .tech-element:hover,
  .dark-mode .tech-element-mobile:hover {
    background: #2A2A2A;
    border-color: #E5D5C4;
  }
}

/* Focus States */
.tech-element:focus,
.tech-element-mobile:focus,
.service-item:focus,
.btn:focus,
.scroll-link:focus,
.main-logo:focus,
.menu-btn:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Visually Hidden for Screen Readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/*--------------------------------------------------------------
/** 8. EXPERTISE SHOWCASE SECTION (ÜBERARBEITET)
--------------------------------------------------------------*/

/* Section Layout */
.expertise-showcase {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: var(--bg-primary);
}

/* Split Container */
.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
}

.split-left {
  background: var(--bg-primary);
  position: relative;
  display: flex;
  align-items: center;
  padding: 4rem 3rem 4rem 6rem;
  border-right: 1px solid var(--border-subtle);
}

.split-right {
  background: var(--bg-secondary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 6rem 4rem 3rem;
}

.content-wrapper {
  max-width: 500px;
  width: 100%;
}

/* Philosophy Block */
.philosophy-block {
  position: relative;
  z-index: 2;
}

.block-header {
  margin-bottom: 3rem;
}

.block-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: var(--bg-accent-subtle);
  border-radius: 20px;
}

.block-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.title-gradient {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-darker) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 400;
}

.philosophy-text {
  margin-top: 2rem;
}

.lead-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 400;
}

/* Approach Principles */
.approach-principles {
  display: grid;
  gap: 2rem;
}

.principle {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.principle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.principle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-color);
  border-color: var(--accent-color);
}

.principle:hover::before {
  transform: translateX(0);
}

.principle-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: var(--text-inverse);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--heading-font);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.principle:hover .principle-number {
  transform: scale(1.1);
  background: var(--accent-darker);
}

.principle-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.principle-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* NEW: Capabilities Showcase */
.capabilities-showcase {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* NEW: Capabilities Grid Layout */
.capabilities-grid-new {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* NEW: Capability Cards */
.capability-card-new {
  position: relative;
  padding: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
}

.capability-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  z-index: 1;
}

.capability-card-new:hover::before {
  opacity: 0.03;
}

.capability-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

/* Primary Capability - Größer und prominenter */
.primary-capability {
  grid-column: 1;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-accent-subtle) 100%);
}

/* Secondary Capabilities - Kompakter */
.secondary-capability {
  padding: 1.75rem;
}

/* Card Content */
.card-header-new {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.card-icon-new {
  font-size: 1.5rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.capability-card-new:hover .card-icon-new {
  opacity: 1;
  transform: scale(1.1);
}

.card-title-new {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--heading-font);
  position: relative;
  z-index: 2;
}

.card-content-new {
  position: relative;
  z-index: 2;
}

.card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* NEW: Capability Metrics */
.capability-metrics {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--heading-font);
  display: block;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  display: block;
}

/* NEW: Capability Examples */
.capability-examples-new {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.example-tag-new {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s ease;
}

.example-tag-new:hover {
  background: var(--accent-color);
  color: var(--text-inverse);
  border-color: var(--accent-color);
  transform: translateY(-1px);
}

/* NEW: Experience Metrics */
.experience-metrics {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.metric-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: all 0.3s ease;
  min-width: 120px;
  flex: 1;
  max-width: 140px;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-color);
  border-color: var(--accent-color);
}

.metric-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--heading-font);
  display: block;
  margin-bottom: 0.5rem;
}

.metric-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

.cta-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--accent-color);
  color: var(--text-inverse);
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: var(--accent-darker);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 169, 146, 0.3);
  color: var(--text-inverse);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-color);
  color: var(--text-primary);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

/* Background Elements */
.bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  opacity: 0.03;
  animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  right: 20%;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: 15%;
  left: 15%;
  animation-delay: 10s;
}

.bg-grid {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: 
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
}

/* Dark Mode Overrides */
.dark-mode .split-left {
  background: var(--bg-primary);
  border-right-color: var(--border-color);
}

.dark-mode .split-right {
  background: var(--bg-secondary);
}

.dark-mode .principle {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-color);
}

.dark-mode .capability-card-new {
  background: var(--bg-primary);
  border-color: var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dark-mode .primary-capability {
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(197, 169, 146, 0.05) 100%);
}

.dark-mode .metric-card {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.dark-mode .capability-metrics {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .example-tag-new {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.dark-mode .example-tag-new:hover {
  background: var(--accent-color);
  color: var(--text-inverse);
}

.dark-mode .btn-secondary {
  border-color: var(--border-color);
  color: var(--text-primary);
}

.dark-mode .btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
/** Expertise Showcase Responsive Design
--------------------------------------------------------------*/

/* Large Desktop */
@media (min-width: 1400px) {
  .split-left {
    padding: 4rem 4rem 4rem 8rem;
  }
  
  .split-right {
    padding: 4rem 8rem 4rem 4rem;
  }
  
  .capabilities-showcase {
    max-width: 650px;
  }
  
  .primary-capability {
    padding: 3rem;
  }
  
  .experience-metrics {
    gap: 1.5rem;
  }
  
  .metric-card {
    max-width: 160px;
    padding: 2rem 1.25rem;
  }
}

/* Large Tablet */
@media (max-width: 1200px) {
  .split-left {
    padding: 3rem 2rem 3rem 4rem;
  }
  
  .split-right {
    padding: 3rem 4rem 3rem 2rem;
  }
  
  .capabilities-showcase {
    max-width: 500px;
  }
  
  .capability-card-new {
    padding: 1.75rem;
  }
  
  .primary-capability {
    padding: 2.25rem;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .expertise-showcase {
    min-height: auto;
  }
  
  .split-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .split-left {
    padding: 4rem 2rem;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  
  .split-right {
    padding: 4rem 2rem;
    background: var(--bg-primary);
    justify-content: center;
  }
  
  .content-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .capabilities-showcase {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .capabilities-grid-new {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  /* Mobile Centering für Experience Metrics */
  .experience-metrics {
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
  }
  
  .metric-card {
    min-width: 140px;
    max-width: 160px;
  }
  
  .bg-grid {
    display: none;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .split-left,
  .split-right {
    padding: 3rem 1.5rem;
  }
  
  .block-title {
    font-size: 1.75rem;
  }
  
  .lead-text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .approach-principles {
    gap: 1.5rem;
  }
  
  .principle {
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .principle-number {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
  
  .capabilities-grid-new {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .capability-card-new {
    padding: 1.5rem;
  }
  
  .primary-capability {
    padding: 1.75rem;
  }
  
  /* Bessere Mobile Zentrierung */
  .experience-metrics {
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
  }
  
  .metric-card {
    min-width: 100px;
    max-width: 120px;
    padding: 1.25rem 0.75rem;
  }
  
  .metric-number {
    font-size: 1.25rem;
  }
  
  .metric-text {
    font-size: 0.75rem;
  }
  
  .cta-section {
    padding: 3rem 0;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .bg-shape {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .split-left,
  .split-right {
    padding: 2rem 1rem;
  }
  
  .block-title {
    font-size: 1.5rem;
  }
  
  .capability-card-new,
  .primary-capability {
    padding: 1.25rem;
  }
  
  .card-title-new {
    font-size: 1rem;
  }
  
  .example-tag-new {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
  
  /* Optimale mobile Zentrierung für kleine Bildschirme */
  .experience-metrics {
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  
  .metric-card {
    min-width: 90px;
    max-width: 100px;
    padding: 1rem 0.5rem;
  }
  
  .metric-number {
    font-size: 1.125rem;
  }
  
  .metric-text {
    font-size: 0.7rem;
  }
}

/*--------------------------------------------------------------
/** Expertise Showcase Animations
--------------------------------------------------------------*/

@keyframes floatShape {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.03;
  }
  50% { 
    transform: translateY(-30px) rotate(180deg); 
    opacity: 0.06;
  }
}

/* Staggered card entrance animation */
.capability-card-new {
  animation: cardEntrance 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.primary-capability {
  animation-delay: 0.2s;
}

.secondary-capability:nth-of-type(2) {
  animation-delay: 0.4s;
}

.secondary-capability:nth-of-type(3) {
  animation-delay: 0.6s;
}

@keyframes cardEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Metric Card Animation */
.metric-card {
  animation: metricEntrance 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
}

.metric-card:nth-child(1) { animation-delay: 0.8s; }
.metric-card:nth-child(2) { animation-delay: 0.9s; }
.metric-card:nth-child(3) { animation-delay: 1s; }

@keyframes metricEntrance {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/*--------------------------------------------------------------
/** Expertise Showcase Accessibility
--------------------------------------------------------------*/

/* Focus States */
.principle:focus,
.capability-card-new:focus,
.metric-card:focus,
.example-tag-new:focus,
.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .capability-card-new,
  .metric-card,
  .principle {
    border: 2px solid var(--text-primary);
  }
  
  .example-tag-new {
    border: 1px solid var(--text-primary);
  }
  
  .btn-primary,
  .btn-secondary {
    border: 2px solid var(--accent-color);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .capability-card-new,
  .metric-card,
  .principle,
  .btn-primary,
  .btn-secondary,
  .bg-shape,
  .example-tag-new {
    animation: none !important;
    transition: none !important;
  }
  
  .capability-card-new:hover,
  .metric-card:hover,
  .principle:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .example-tag-new:hover {
    transform: none !important;
  }
}


/*--------------------------------------------------------------
/** VALUES SECTION
--------------------------------------------------------------*/

/* Section Layout */
.values-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* Section Header */
.values-section .section-header {
  max-width: 800px;
  margin: 0 auto;
}

.values-section .section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.values-section .section-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
}

/* Values Grid */
.values-grid {
  margin-top: 4rem;
}

/* Value Cards */
.value-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px var(--shadow-color);
  border-color: var(--accent-color);
  background: var(--bg-primary);
}

.value-card:hover::before {
  transform: translateX(0);
}

/* Value Icon */
.value-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.value-card:hover .value-icon {
  background: var(--accent-color);
  color: var(--text-inverse);
  border-color: var(--accent-color);
  transform: scale(1.1);
}

.value-icon svg {
  width: 32px;
  height: 32px;
}

/* Value Content */
.value-content {
  flex: 1;
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--heading-font);
  line-height: 1.3;
}

.value-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Value Indicator */
.value-indicator {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.value-card:hover .value-indicator {
  opacity: 1;
  animation: indicatorPulse 2s ease-in-out infinite;
}

/* Values Commitment */
.values-commitment {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent-subtle) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.values-commitment::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, var(--accent-color) 0%, transparent 70%);
  opacity: 0.02;
  pointer-events: none;
}

.commitment-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.commitment-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-family: var(--heading-font);
}

.commitment-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.commitment-actions {
  display: flex;
  justify-content: center;
}

.btn-commitment {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--accent-color);
  color: var(--text-inverse);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.btn-commitment::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-commitment:hover {
  background: var(--accent-darker);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 169, 146, 0.3);
  color: var(--text-inverse);
}

.btn-commitment:hover::before {
  left: 100%;
}

.btn-commitment:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-arrow {
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}

/* Background Pattern */
.values-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.pattern-dots {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  background-image: 
    radial-gradient(circle at 25% 25%, var(--accent-color) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, var(--accent-color) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.05;
  animation: patternFloat 20s ease-in-out infinite;
}

/* Dark Mode Overrides */
.dark-mode .value-card {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dark-mode .value-card:hover {
  background: var(--bg-secondary);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.dark-mode .value-icon {
  background: rgba(197, 169, 146, 0.1);
  border-color: rgba(197, 169, 146, 0.2);
}

.dark-mode .values-commitment {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(197, 169, 146, 0.05) 100%);
  border-color: var(--border-color);
}

/*--------------------------------------------------------------
/** Values Section Responsive Design
--------------------------------------------------------------*/

/* Large Desktop */
@media (min-width: 1400px) {
  .values-section {
    padding: 8rem 0;
  }
  
  .values-grid {
    margin-top: 5rem;
  }
  
  .value-card {
    padding: 3rem 2.5rem;
  }
  
  .values-commitment {
    padding: 4rem 3rem;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .values-section {
    padding: 4rem 0;
  }
  
  .values-grid {
    margin-top: 3rem;
  }
  
  .value-card {
    padding: 2rem 1.5rem;
  }
  
  .value-icon {
    width: 56px;
    height: 56px;
  }
  
  .value-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .value-title {
    font-size: 1.125rem;
  }
  
  .values-commitment {
    padding: 2.5rem 2rem;
  }
  
  .commitment-title {
    font-size: 1.375rem;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .values-section {
    padding: 3rem 0;
  }
  
  .values-section .section-header {
    margin-bottom: 2rem;
  }
  
  .values-grid {
    margin-top: 2rem;
  }
  
  .value-card {
    padding: 1.75rem 1.25rem;
    margin-bottom: 1rem;
  }
  
  .value-icon {
    width: 48px;
    height: 48px;
  }
  
  .value-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .value-title {
    font-size: 1rem;
  }
  
  .value-description {
    font-size: 0.9rem;
  }
  
  .values-commitment {
    padding: 2rem 1.5rem;
    margin-top: 1rem;
  }
  
  .commitment-title {
    font-size: 1.25rem;
  }
  
  .commitment-text {
    font-size: 0.95rem;
  }
  
  .btn-commitment {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }
  
  .pattern-dots {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .values-section {
    padding: 2.5rem 0;
  }
  
  .value-card {
    padding: 1.5rem 1rem;
  }
  
  .values-commitment {
    padding: 1.75rem 1.25rem;
  }
  
  .btn-commitment {
    width: 100%;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
/** Values Section Animations
--------------------------------------------------------------*/

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

@keyframes patternFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.05;
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
    opacity: 0.08;
  }
}

/* Card staggered entrance animation */
.value-card {
  animation: valueCardEntrance 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }
.value-card:nth-child(5) { animation-delay: 0.5s; }
.value-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes valueCardEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
/** Values Section Accessibility
--------------------------------------------------------------*/

/* Focus States */
.value-card:focus,
.btn-commitment:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

/* Keyboard Navigation */
.value-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-color);
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .value-card {
    border: 2px solid var(--text-primary);
  }
  
  .value-icon {
    border: 2px solid var(--accent-color);
  }
  
  .btn-commitment {
    border: 2px solid var(--accent-color);
  }
  
  .values-commitment {
    border: 2px solid var(--accent-color);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .value-card,
  .value-icon,
  .value-indicator,
  .btn-commitment,
  .btn-arrow,
  .pattern-dots {
    animation: none !important;
    transition: none !important;
  }
  
  .value-card:hover,
  .btn-commitment:hover {
    transform: none !important;
  }
  
  .btn-commitment::before {
    display: none;
  }
}

/* Screen Reader Optimizations */
.value-card[tabindex="0"] {
  cursor: pointer;
}

.value-card:focus .value-title {
  color: var(--accent-color);
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .value-card {
    transform: none;
    transition: background-color 0.2s ease;
  }
  
  .value-card:hover {
    transform: none;
    box-shadow: 0 4px 16px var(--shadow-color);
  }
  
  .btn-commitment {
    padding: 1.125rem 2.5rem;
  }
}

/*--------------------------------------------------------------
/** SERVICES SECTION
--------------------------------------------------------------*/

/* Section Layout */
.services-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* Section Header */
.services-section .section-header {
  max-width: 800px;
  margin: 0 auto;
}

.services-section .section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.services-section .section-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  margin-top: 4rem;
}

/* Service Cards */
.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 0;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px var(--shadow-color);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 16px;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.service-card:hover::before {
  opacity: 0.02;
}

/* Primary Service Card - Featured */
.service-card--primary {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent-subtle) 100%);
  border: 2px solid var(--accent-color);
  position: relative;
}

.service-card--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-darker));
  border-radius: 16px 16px 0 0;
}

.service-card--primary:hover {
  transform: translateY(-16px);
  box-shadow: 0 24px 80px rgba(197, 169, 146, 0.2);
}

/* Service Card Header */
.service-card__header {
  padding: 2.5rem 2.5rem 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-card__icon {
  width: 80px;
  height: 80px;
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-card:hover .service-card__icon {
  background: var(--accent-color);
  color: var(--text-inverse);
  border-color: var(--accent-color);
  transform: scale(1.05);
}

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

/* Premium Badge */
.service-card__badge {
  background: var(--accent-color);
  color: var(--text-inverse);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--heading-font);
  opacity: 0.9;
}

/* Service Card Content */
.service-card__content {
  padding: 1.5rem 2.5rem;
  flex: 1;
  position: relative;
  z-index: 2;
}

.service-card__title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--heading-font);
  line-height: 1.3;
}

.service-card__description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Service Features */
.service-card__features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

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

.feature-item:hover {
  background: var(--bg-accent-subtle);
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 4px;
}

.feature-icon {
  color: var(--accent-color);
  font-weight: bold;
  transition: transform 0.2s ease;
}

.feature-item:hover .feature-icon {
  transform: translateX(2px);
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Service Stats - Only for Primary Card */
.service-card__stats {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--heading-font);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  display: block;
}

/* Service Card Footer */
.service-card__footer {
  padding: 0 2.5rem 2.5rem;
  position: relative;
  z-index: 2;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 0.75rem 0;
  border-bottom: 1px solid transparent;
}

.service-card__cta:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.cta-arrow {
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}

.service-card__cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* Premium Process Section */
.premium-process {
  margin-top: 6rem;
  padding: 4rem 0;
  background: var(--bg-secondary);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.premium-process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, var(--accent-color) 0%, transparent 60%);
  opacity: 0.02;
  pointer-events: none;
}

.process-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.process-header {
  margin-bottom: 3rem;
}

.process-title {
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

.process-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* Process Steps */
.process-steps {
  margin-top: 2rem;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 1.5rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-color);
  border-color: var(--accent-color);
}

.step-number {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--heading-font);
  width: 40px;
  height: 40px;
  background: var(--bg-accent-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  background: var(--accent-color);
  color: var(--text-inverse);
  transform: scale(1.1);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.step-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* Services CTA */
.services-cta {
  margin-top: 4rem;
}

.cta-container {
  background: linear-gradient(135deg, var(--bg-accent-subtle) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, var(--accent-color) 0%, transparent 70%);
  opacity: 0.03;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-family: var(--heading-font);
}

.cta-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: var(--accent-color);
  color: var(--text-inverse);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.btn-cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-cta-primary:hover {
  background: var(--accent-darker);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(197, 169, 146, 0.3);
  color: var(--text-inverse);
}

.btn-cta-primary:hover::before {
  left: 100%;
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-cta-secondary:hover {
  background: var(--bg-primary);
  border-color: var(--accent-color);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn-cta-primary:hover .btn-icon {
  transform: translateX(3px);
}

.btn-cta-secondary:hover .btn-icon {
  transform: scale(1.1);
}

/* Background Elements */
.services-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bg-element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  opacity: 0.02;
  animation: floatElement 25s ease-in-out infinite;
}

.bg-element--1 {
  width: 300px;
  height: 300px;
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.bg-element--2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  animation-delay: 12s;
}

.bg-grid-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background-image: 
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 25px 25px;
  opacity: 0.2;
}

/* Dark Mode Overrides */
.dark-mode .service-card {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.dark-mode .service-card--primary {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(197, 169, 146, 0.05) 100%);
  border-color: var(--accent-color);
}

.dark-mode .service-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.dark-mode .service-card__icon {
  background: rgba(197, 169, 146, 0.1);
  border-color: rgba(197, 169, 146, 0.2);
}

.dark-mode .premium-process {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

.dark-mode .process-step {
  background: var(--bg-primary);
  border-color: var(--border-color);
}

.dark-mode .cta-container {
  background: linear-gradient(135deg, rgba(197, 169, 146, 0.03) 0%, var(--bg-tertiary) 100%);
  border-color: var(--border-color);
}

.dark-mode .feature-item:hover {
  background: rgba(197, 169, 146, 0.05);
}

.dark-mode .btn-cta-secondary {
  border-color: var(--border-color);
  color: var(--text-primary);
}

.dark-mode .btn-cta-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
/** Services Section Responsive Design
--------------------------------------------------------------*/

/* Large Desktop */
@media (min-width: 1400px) {
  .services-section {
    padding: 8rem 0;
  }
  
  .services-grid {
    margin-top: 5rem;
  }
  
  .service-card__content {
    padding: 2rem 3rem;
  }
  
  .service-card__header {
    padding: 3rem 3rem 0;
  }
  
  .service-card__footer {
    padding: 0 3rem 3rem;
  }
  
  .premium-process {
    margin-top: 8rem;
    padding: 5rem 0;
  }
  
  .cta-container {
    padding: 5rem 4rem;
  }
}

/* Large Tablet */
@media (max-width: 1200px) {
  .service-card__header {
    padding: 2rem 2rem 0;
  }
  
  .service-card__content {
    padding: 1.25rem 2rem;
  }
  
  .service-card__footer {
    padding: 0 2rem 2rem;
  }
  
  .service-card__icon {
    width: 70px;
    height: 70px;
  }
  
  .service-card__icon svg {
    width: 35px;
    height: 35px;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .services-section {
    padding: 4rem 0;
  }
  
  .services-grid {
    margin-top: 3rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .service-card__header {
    padding: 2rem 1.5rem 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  
  .service-card__content {
    padding: 1rem 1.5rem;
    text-align: center;
  }
  
  .service-card__footer {
    padding: 0 1.5rem 2rem;
    text-align: center;
  }
  
  .service-card__icon {
    width: 60px;
    height: 60px;
  }
  
  .service-card__icon svg {
    width: 30px;
    height: 30px;
  }
  
  .service-card__title {
    font-size: 1.25rem;
  }
  
  .service-card__stats {
    justify-content: center;
    gap: 3rem;
  }
  
  .premium-process {
    margin-top: 4rem;
    padding: 3rem 0;
  }
  
  .process-step {
    margin-bottom: 1rem;
  }
  
  .cta-container {
    padding: 3rem 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .bg-grid-pattern {
    display: none;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .services-section {
    padding: 3rem 0;
  }
  
  .service-card__header {
    padding: 1.5rem 1.25rem 0;
  }
  
  .service-card__content {
    padding: 1rem 1.25rem;
  }
  
  .service-card__footer {
    padding: 0 1.25rem 1.5rem;
  }
  
  .service-card__title {
    font-size: 1.125rem;
  }
  
  .service-card__description {
    font-size: 0.95rem;
  }
  
  .feature-text {
    font-size: 0.85rem;
  }
  
  .service-card__stats {
    gap: 2rem;
    padding: 1rem 0;
  }
  
  .stat-value {
    font-size: 1.25rem;
  }
  
  .premium-process {
    margin-top: 3rem;
    padding: 2.5rem 0;
  }
  
  .process-title {
    font-size: 1.5rem;
  }
  
  .process-step {
    padding: 1.25rem 0.75rem;
  }
  
  .cta-container {
    padding: 2.5rem 1.5rem;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .cta-text {
    font-size: 1rem;
  }
  
  .bg-element {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .services-section {
    padding: 2.5rem 0;
  }
  
  .service-card__header {
    padding: 1.25rem 1rem 0;
  }
  
  .service-card__content {
    padding: 0.75rem 1rem;
  }
  
  .service-card__footer {
    padding: 0 1rem 1.25rem;
  }
  
  .service-card__icon {
    width: 50px;
    height: 50px;
  }
  
  .service-card__icon svg {
    width: 25px;
    height: 25px;
  }
  
  .service-card__stats {
    gap: 1.5rem;
    flex-direction: column;
    text-align: center;
  }
  
  .premium-process {
    margin-top: 2rem;
    padding: 2rem 0;
  }
  
  .cta-container {
    padding: 2rem 1.25rem;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
/** Services Section Animations
--------------------------------------------------------------*/

@keyframes floatElement {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.02;
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
    opacity: 0.05;
  }
}

/* Card staggered entrance animation */
.service-card {
  animation: serviceCardEntrance 0.7s ease-out forwards;
  opacity: 0;
  transform: translateY(40px);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes serviceCardEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Process step animations */
.process-step {
  animation: processStepEntrance 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

.process-step:nth-child(1) { animation-delay: 0.6s; }
.process-step:nth-child(2) { animation-delay: 0.7s; }
.process-step:nth-child(3) { animation-delay: 0.8s; }
.process-step:nth-child(4) { animation-delay: 0.9s; }

@keyframes processStepEntrance {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/*--------------------------------------------------------------
/** Services Section Accessibility
--------------------------------------------------------------*/

/* Focus States */
.service-card:focus,
.service-card__cta:focus,
.process-step:focus,
.btn-cta-primary:focus,
.btn-cta-secondary:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

/* Keyboard Navigation */
.service-card[tabindex="0"] {
  cursor: pointer;
}

.service-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px var(--shadow-color);
}

.service-card:focus .service-card__title {
  color: var(--accent-color);
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card {
    border: 2px solid var(--text-primary);
  }
  
  .service-card--primary {
    border: 3px solid var(--accent-color);
  }
  
  .service-card__icon {
    border: 2px solid var(--accent-color);
  }
  
  .process-step {
    border: 2px solid var(--text-primary);
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    border: 2px solid var(--accent-color);
  }
  
  .premium-process,
  .cta-container {
    border: 2px solid var(--accent-color);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card__icon,
  .service-card__cta,
  .process-step,
  .step-number,
  .btn-cta-primary,
  .btn-cta-secondary,
  .bg-element,
  .feature-item {
    animation: none !important;
    transition: none !important;
  }
  
  .service-card:hover,
  .process-step:hover,
  .btn-cta-primary:hover,
  .btn-cta-secondary:hover {
    transform: none !important;
  }
  
  .btn-cta-primary::before {
    display: none;
  }
}

/* Screen Reader Optimizations */
.service-card[role="button"] {
  cursor: pointer;
}

.service-card:focus .service-card__cta {
  color: var(--accent-color);
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card {
    transform: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }
  
  .service-card:hover {
    transform: none;
    box-shadow: 0 8px 32px var(--shadow-color);
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 1.375rem 2.5rem;
  }
  
  .feature-item:hover {
    background: transparent;
    margin: 0;
    padding: 0.5rem 0;
  }
}

/*--------------------------------------------------------------
/** FAQ SECTION
--------------------------------------------------------------*/

/* Section Layout */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* Section Header */
.faq-section .section-header {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section .section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.faq-section .section-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
}

/*--------------------------------------------------------------
/** FAQ Controls (Search & Filter)
--------------------------------------------------------------*/

.faq-controls {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 16px var(--shadow-color);
}

/* Search Container */
.faq-search-container {
  position: relative;
  flex: 1;
  max-width: 400px;
  min-width: 280px;
}

.faq-search {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--body-font);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.faq-search:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(197, 169, 146, 0.1);
  background: var(--bg-primary);
}

.faq-search::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.3s ease;
}

.faq-search:focus + .search-icon {
  color: var(--accent-color);
}

/* Filter Container */
.faq-filter-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}

.filter-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

.faq-filter {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--body-font);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.faq-filter:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(197, 169, 146, 0.1);
}

.faq-filter:hover {
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
/** FAQ Accordion
--------------------------------------------------------------*/

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* FAQ Item */
.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px var(--shadow-color);
}

.faq-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.faq-item.faq-item--active {
  border-color: var(--accent-color);
  background: var(--bg-primary);
}

/* FAQ Header */
.faq-header {
  position: relative;
}

.faq-trigger {
  width: 100%;
  padding: 1.75rem 2rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.faq-trigger:hover {
  background: var(--bg-accent-subtle);
}

.faq-trigger:focus {
  outline: none;
  background: var(--bg-accent-subtle);
  box-shadow: inset 0 0 0 2px var(--accent-color);
}

.faq-trigger[aria-expanded="true"] {
  background: var(--bg-accent-subtle);
  border-bottom: 1px solid var(--border-color);
}

/* FAQ Question */
.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  font-family: var(--heading-font);
  flex: 1;
}

/* FAQ Icon */
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--accent-color);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-icon svg {
  width: 20px;
  height: 20px;
}

/* FAQ Content */
.faq-content {
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  max-height: 0;
}

.faq-content.faq-content--expanded {
  opacity: 1;
  max-height: 1000px;
}

.faq-answer {
  padding: 0 2rem 2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

.faq-answer p {
  margin-bottom: 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.faq-answer strong {
  color: var(--text-primary);
  font-weight: 600;
}

/*--------------------------------------------------------------
/** FAQ Special Content Elements
--------------------------------------------------------------*/

/* Pricing Breakdown */
.pricing-breakdown {
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.price-label {
  font-weight: 500;
  color: var(--text-primary);
}

.price-range {
  font-weight: 600;
  color: var(--accent-color);
  font-family: var(--heading-font);
}

/* Timeline Overview */
.timeline-overview {
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.timeline-duration {
  font-weight: 600;
  color: var(--accent-color);
  font-family: var(--heading-font);
  min-width: 100px;
  font-size: 0.95rem;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Tech Categories */
.tech-categories {
  margin: 1.5rem 0;
  display: grid;
  gap: 1rem;
}

.tech-category {
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem;
}

.tech-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.tech-category p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Support Levels */
.support-levels {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-level {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.support-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.support-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Security Measures */
.security-measures {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.security-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.security-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.security-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Location Services */
.location-services {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.location-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.location-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.location-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/*--------------------------------------------------------------
/** FAQ No Results & CTA
--------------------------------------------------------------*/

/* No Results */
.faq-no-results {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 4px 16px var(--shadow-color);
}

.no-results-content {
  max-width: 400px;
  margin: 0 auto;
}

.no-results-icon {
  font-size: 3rem;
  opacity: 0.6;
  display: block;
  margin-bottom: 1rem;
}

.no-results-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

.no-results-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--accent-darker);
  text-decoration: underline;
}

.btn-clear-search {
  padding: 0.75rem 1.5rem;
  background: var(--accent-color);
  color: var(--text-inverse);
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--body-font);
}

.btn-clear-search:hover {
  background: var(--accent-darker);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 169, 146, 0.3);
}

/* FAQ CTA */
.faq-cta {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent-subtle) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow-color);
}

.faq-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, var(--accent-color) 0%, transparent 70%);
  opacity: 0.02;
  pointer-events: none;
}

.faq-cta .cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.faq-cta .cta-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

.faq-cta .cta-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.faq-cta .cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-faq-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--accent-color);
  color: var(--text-inverse);
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.btn-faq-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-faq-primary:hover {
  background: var(--accent-darker);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 169, 146, 0.3);
  color: var(--text-inverse);
}

.btn-faq-primary:hover::before {
  left: 100%;
}

.btn-faq-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-faq-secondary:hover {
  background: var(--bg-primary);
  border-color: var(--accent-color);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn-faq-primary:hover .btn-icon {
  transform: translateX(3px);
}

/*--------------------------------------------------------------
/** FAQ Background Elements
--------------------------------------------------------------*/

.faq-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bg-pattern {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  opacity: 0.015;
  animation: floatPattern 30s ease-in-out infinite;
}

.bg-pattern--1 {
  width: 400px;
  height: 400px;
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.bg-pattern--2 {
  width: 300px;
  height: 300px;
  bottom: 30%;
  left: 5%;
  animation-delay: 15s;
}

/*--------------------------------------------------------------
/** FAQ Dark Mode Overrides
--------------------------------------------------------------*/

.dark-mode .faq-controls {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

.dark-mode .faq-search,
.dark-mode .faq-filter {
  background: var(--bg-primary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.dark-mode .faq-item {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.dark-mode .faq-item.faq-item--active {
  background: var(--bg-primary);
}

.dark-mode .faq-trigger:hover,
.dark-mode .faq-trigger:focus,
.dark-mode .faq-trigger[aria-expanded="true"] {
  background: rgba(197, 169, 146, 0.05);
}

.dark-mode .pricing-breakdown,
.dark-mode .timeline-overview,
.dark-mode .tech-category,
.dark-mode .support-level,
.dark-mode .security-item,
.dark-mode .location-item {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .faq-no-results {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

.dark-mode .faq-cta {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(197, 169, 146, 0.03) 100%);
  border-color: var(--border-color);
}

.dark-mode .btn-faq-secondary {
  border-color: var(--border-color);
  color: var(--text-primary);
}

.dark-mode .btn-faq-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
/** FAQ Responsive Design
--------------------------------------------------------------*/

/* Large Desktop */
@media (min-width: 1400px) {
  .faq-section {
    padding: 8rem 0;
  }
  
  .faq-controls {
    gap: 3rem;
    padding: 2.5rem;
  }
  
  .faq-search-container {
    max-width: 500px;
  }
  
  .faq-trigger {
    padding: 2rem 2.5rem;
  }
  
  .faq-answer {
    padding: 0 2.5rem 2.5rem;
  }
  
  .faq-cta {
    padding: 4rem;
  }
}

/* Large Tablet */
@media (max-width: 1200px) {
  .faq-controls {
    gap: 1.5rem;
    padding: 1.75rem;
  }
  
  .pricing-breakdown,
  .timeline-overview {
    padding: 1.25rem;
  }
  
  .tech-categories {
    grid-template-columns: 1fr;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .faq-section {
    padding: 4rem 0;
  }
  
  .faq-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .faq-search-container {
    max-width: none;
    min-width: auto;
  }
  
  .faq-filter-container {
    min-width: auto;
    justify-content: space-between;
  }
  
  .faq-trigger {
    padding: 1.5rem 1.25rem;
  }
  
  .faq-answer {
    padding: 0 1.25rem 1.5rem;
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  .faq-cta {
    padding: 2.5rem 2rem;
  }
  
  .faq-cta .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-faq-primary,
  .btn-faq-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .faq-section {
    padding: 3rem 0;
  }
  
  .faq-controls {
    padding: 1.25rem;
  }
  
  .faq-search {
    padding: 0.875rem 0.875rem 0.875rem 2.5rem;
    font-size: 0.95rem;
  }
  
  .search-icon {
    left: 0.625rem;
  }
  
  .faq-filter {
    padding: 0.875rem;
    font-size: 0.9rem;
  }
  
  .faq-trigger {
    padding: 1.25rem 1rem;
  }
  
  .faq-answer {
    padding: 0 1rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .faq-question {
    font-size: 0.95rem;
  }
  
  .pricing-breakdown,
  .timeline-overview,
  .support-levels,
  .security-measures,
  .location-services {
    margin: 1rem 0;
    padding: 1rem;
  }
  
  .price-item,
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .timeline-duration {
    min-width: auto;
    font-size: 0.9rem;
  }
  
  .faq-cta {
    margin-top: 3rem;
    padding: 2rem 1.5rem;
  }
  
  .faq-cta .cta-title {
    font-size: 1.25rem;
  }
  
  .faq-cta .cta-text {
    font-size: 0.95rem;
  }
  
  .btn-faq-primary,
  .btn-faq-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .bg-pattern {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .faq-section {
    padding: 2.5rem 0;
  }
  
  .faq-controls {
    padding: 1rem;
  }
  
  .faq-search-container {
    min-width: auto;
  }
  
  .faq-trigger {
    padding: 1rem 0.75rem;
  }
  
  .faq-answer {
    padding: 0 0.75rem 1rem;
  }
  
  .faq-question {
    font-size: 0.9rem;
  }
  
  .pricing-breakdown,
  .timeline-overview,
  .tech-category,
  .support-level,
  .security-item,
  .location-item {
    padding: 0.75rem;
  }
  
  .faq-cta {
    padding: 1.75rem 1.25rem;
  }
}

/*--------------------------------------------------------------
/** FAQ Animations
--------------------------------------------------------------*/

@keyframes floatPattern {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.015;
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
    opacity: 0.025;
  }
}

/* FAQ item entrance animation */
.faq-item {
  animation: faqItemEntrance 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-item:nth-child(7) { animation-delay: 0.7s; }
.faq-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes faqItemEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
/** FAQ Accessibility
--------------------------------------------------------------*/

/* Focus States */
.faq-trigger:focus,
.faq-search:focus,
.faq-filter:focus,
.btn-faq-primary:focus,
.btn-faq-secondary:focus,
.btn-clear-search:focus,
.contact-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .faq-item {
    border: 2px solid var(--text-primary);
  }
  
  .faq-search,
  .faq-filter {
    border: 2px solid var(--accent-color);
  }
  
  .btn-faq-primary,
  .btn-faq-secondary,
  .btn-clear-search {
    border: 2px solid var(--accent-color);
  }
  
  .pricing-breakdown,
  .timeline-overview,
  .tech-category,
  .support-level,
  .security-item,
  .location-item {
    border: 1px solid var(--text-primary);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-content,
  .faq-icon,
  .faq-trigger,
  .btn-faq-primary,
  .btn-faq-secondary,
  .bg-pattern {
    animation: none !important;
    transition: none !important;
  }
  
  .faq-item:hover,
  .btn-faq-primary:hover,
  .btn-faq-secondary:hover {
    transform: none !important;
  }
  
  .btn-faq-primary::before {
    display: none;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .faq-trigger {
    padding: 1.5rem 1.25rem;
  }
  
  .faq-item:hover {
    transform: none;
    box-shadow: 0 4px 16px var(--shadow-color);
  }
  
  .btn-faq-primary,
  .btn-faq-secondary {
    padding: 1.125rem 2rem;
  }
}

/* Print Styles */
@media print {
  .faq-section {
    background: white !important;
    box-shadow: none !important;
  }
  
  .faq-controls,
  .faq-cta,
  .faq-bg {
    display: none !important;
  }
  
  .faq-item {
    background: white !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    break-inside: avoid;
    margin-bottom: 1rem;
  }
  
  .faq-content {
    max-height: none !important;
    opacity: 1 !important;
  }
  
  .faq-trigger {
    background: #f5f5f5 !important;
  }
  
  .faq-icon {
    display: none !important;
  }
}

/*--------------------------------------------------------------
/** CONTACT SECTION - Interactive Discovery Experience
--------------------------------------------------------------*/

/* Section Layout */
.contact-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Contact Container */
.contact-container {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* Left Side: Philosophy & Dynamic Insights */
.contact-left {
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.contact-philosophy {
  max-width: 500px;
}

/* Philosophy Header */
.philosophy-header {
  margin-bottom: 3rem;
}

.philosophy-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--bg-accent-subtle);
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.philosophy-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197, 169, 146, 0.1), transparent);
  animation: labelShimmer 3s ease-in-out infinite;
}

@keyframes labelShimmer {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.philosophy-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.title-accent {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-darker) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 400;
}

/* Philosophy Content */
.philosophy-content {
  margin-top: 2rem;
}

.philosophy-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* Dynamic Insights Panel */
.insights-panel {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent-subtle) 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.insights-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.insights-panel.active {
  border-color: var(--accent-color);
  box-shadow: 0 8px 32px rgba(197, 169, 146, 0.1);
}

.insights-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.insights-icon {
  font-size: 1.25rem;
  animation: insightsPulse 2s ease-in-out infinite;
}

.insights-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--heading-font);
}

.insights-content {
  min-height: 60px;
  transition: all 0.3s ease;
}

.insight-placeholder p {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

.insight-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  animation: insightSlideIn 0.5s ease-out;
}

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

.insight-item .insight-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
  display: block;
}

.insight-item .insight-description {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

@keyframes insightsPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

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

/* ROI Panel */
.roi-panel {
  background: linear-gradient(135deg, var(--bg-accent-subtle) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--accent-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  animation: roiPanelSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.roi-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-darker));
}

.roi-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.roi-icon {
  font-size: 1.25rem;
  animation: roiPulse 3s ease-in-out infinite;
}

.roi-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--heading-font);
}

.roi-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.roi-metric {
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: var(--bg-primary);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.roi-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow-color);
}

.metric-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--heading-font);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.roi-disclaimer {
  text-align: center;
  opacity: 0.7;
}

.roi-disclaimer small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

@keyframes roiPanelSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* Discovery Progress */
.discovery-progress {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.progress-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  font-family: var(--heading-font);
}

.progress-percentage {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-color);
  font-family: var(--heading-font);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-darker));
  width: 0%;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShimmer 2s ease-in-out infinite;
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.unlocked-insights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.unlock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: var(--accent-color);
  color: var(--text-inverse);
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  animation: unlockPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes unlockPop {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Right Side: Interactive Discovery Form */
.contact-right {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 8px 32px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

.contact-interface {
  position: relative;
  z-index: 2;
}

/* Discovery Header */
.discovery-header {
  padding: 2.5rem 3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.header-content {
  flex: 1;
}

.discovery-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-family: var(--heading-font);
}

.discovery-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.discovery-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent-color);
  color: var(--text-inverse);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(197, 169, 146, 0.3); }
  50% { box-shadow: 0 0 20px rgba(197, 169, 146, 0.6); }
}

/* Discovery Form */
.discovery-form {
  padding: 0 3rem 3rem;
  position: relative;
}

/* Form Steps */
.form-step {
  display: none;
  animation: stepFadeIn 0.5s ease-out;
}

.form-step.active {
  display: block;
}

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

/* Step Header */
.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: var(--text-inverse);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--heading-font);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.step-number::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: stepShimmer 2s ease-in-out infinite;
}

@keyframes stepShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.step-info {
  flex: 1;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-family: var(--heading-font);
}

.step-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* Form Fields */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--heading-font);
}

.required {
  color: var(--accent-color);
  font-weight: 600;
}

/* Form Inputs */
.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--body-font);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(197, 169, 146, 0.1);
  background: var(--bg-primary);
  transform: translateY(-1px);
}

.field-input:hover,
.field-select:hover,
.field-textarea:hover {
  border-color: var(--accent-color);
}

.field-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.field-select {
  cursor: pointer;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.checkbox-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.card-content {
  padding: 1.25rem;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}

.checkbox-card:hover .card-content {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.checkbox-card input:checked + .card-content {
  border-color: var(--accent-color);
  background: var(--bg-accent-subtle);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 169, 146, 0.2);
}

.checkbox-card input:checked + .card-content::before {
  content: '✓';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  color: var(--text-inverse);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  animation: checkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkPop {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--heading-font);
  margin-bottom: 0.25rem;
}

.card-description {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Slider Field */
.slider-field {
  position: relative;
}

.time-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.time-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 2px 8px rgba(197, 169, 146, 0.3);
  transition: all 0.3s ease;
}

.time-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 16px rgba(197, 169, 146, 0.4);
}

.time-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 2px 8px rgba(197, 169, 146, 0.3);
  transition: all 0.3s ease;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

#time-display {
  font-weight: 600;
  color: var(--accent-color);
  font-size: 0.9rem;
  font-family: var(--heading-font);
}

/* Step Actions */
.step-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.final-actions {
  justify-content: space-between;
}

.btn-continue,
.btn-submit,
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--heading-font);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-continue,
.btn-submit {
  background: var(--accent-color);
  color: var(--text-inverse);
  flex: 1;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(197, 169, 146, 0.2);
}

.btn-continue::before,
.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-continue:hover,
.btn-submit:hover {
  background: var(--accent-darker);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 169, 146, 0.3);
}

.btn-continue:hover::before,
.btn-submit:hover::before {
  left: 100%;
}

.btn-back {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-back:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--accent-color);
}

.btn-continue:disabled,
.btn-submit:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Analysis Results */
.analysis-results {
  background: linear-gradient(135deg, var(--bg-accent-subtle) 0%, var(--bg-primary) 100%);
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  animation: analysisReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes analysisReveal {
  from {
    opacity: 0;
    transform: scale(0.95) rotateX(10deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotateX(0deg);
  }
}

.analysis-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.analysis-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.analysis-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.analysis-insights {
  display: grid;
  gap: 1rem;
}

.analysis-insight {
  padding: 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.insight-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.insight-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Privacy Consent */
.privacy-consent {
  margin-top: 1rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  line-height: 1.5;
}

.consent-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 0.125rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.consent-checkbox:hover {
  border-color: var(--accent-color);
}

.consent-checkbox:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(197, 169, 146, 0.1);
}

.consent-checkbox:checked {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.consent-checkbox:checked::after {
  content: '✓';
  position: absolute;
  color: var(--text-inverse);
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.consent-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.privacy-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: var(--accent-darker);
  text-decoration: underline;
}

/* Form Status */
.form-status {
  margin-top: 1.5rem;
}

.status-success,
.status-error {
  display: none;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid;
  background: var(--bg-primary);
}

.status-success {
  border-color: #27ae60;
  background: rgba(39, 174, 96, 0.05);
}

.status-error {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.05);
}

.status-success.show,
.status-error.show {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  animation: statusSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes statusSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.status-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.status-success .status-icon {
  color: #27ae60;
}

.status-error .status-icon {
  color: #e74c3c;
}

.status-content strong {
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--heading-font);
}

.status-success .status-content strong {
  color: #27ae60;
}

.status-error .status-content strong {
  color: #e74c3c;
}

.status-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Alternative Contact */
.alternative-contact {
  padding: 2.5rem 3rem 3rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.alternative-header {
  text-align: center;
  margin-bottom: 2rem;
}

.alternative-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.alternative-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197, 169, 146, 0.05), transparent);
  transition: left 0.6s ease;
}

.contact-method:hover {
  background: var(--bg-accent-subtle);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-color);
  color: var(--text-primary);
}

.contact-method:hover::before {
  left: 100%;
}

.method-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact-method:hover .method-icon {
  background: var(--accent-color);
  color: var(--text-inverse);
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.method-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.method-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.method-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  font-family: var(--heading-font);
}

.method-availability {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Service Promise */
.service-promise {
  background: linear-gradient(135deg, var(--bg-accent-subtle) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.service-promise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.promise-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.promise-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.promise-text strong {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.promise-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Background Elements */
.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bg-grid-subtle {
  position: absolute;
  top: 0;
  right: 0;
  width: 25%;
  height: 100%;
  background-image: 
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.15;
}

.bg-accent-glow {
  position: absolute;
  top: 15%;
  left: 8%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  opacity: 0.02;
  border-radius: 50%;
  animation: glowFloat 25s ease-in-out infinite;
}

.bg-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, var(--accent-color) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, var(--accent-color) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  opacity: 0.03;
  animation: particleFloat 20s linear infinite;
}

@keyframes glowFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.02;
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
    opacity: 0.04;
  }
}

@keyframes particleFloat {
  0% { transform: translateX(0); }
  100% { transform: translateX(-60px); }
}

/* Dark Mode Overrides */
.dark-mode .contact-right {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dark-mode .discovery-form {
  border-top-color: var(--border-color);
}

.dark-mode .field-input,
.dark-mode .field-select,
.dark-mode .field-textarea {
  background: var(--bg-primary);
  border-color: var(--border-color);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dark-mode .card-content {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

.dark-mode .checkbox-card input:checked + .card-content {
  background: rgba(197, 169, 146, 0.05);
}

.dark-mode .consent-checkbox {
  /* background: var(--bg-primary); */
  border-color: var(--border-color);
}

.dark-mode .insights-panel {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(197, 169, 146, 0.03) 100%);
  border-color: var(--border-color);
}

.dark-mode .roi-panel {
  background: linear-gradient(135deg, rgba(197, 169, 146, 0.03) 0%, var(--bg-tertiary) 100%);
}

.dark-mode .discovery-progress {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

.dark-mode .alternative-contact {
  background: var(--bg-primary);
}

.dark-mode .contact-method {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

.dark-mode .contact-method:hover {
  background: rgba(197, 169, 146, 0.05);
}

.dark-mode .method-icon {
  background: rgba(197, 169, 146, 0.1);
  border-color: rgba(197, 169, 146, 0.2);
}

.dark-mode .service-promise {
  background: linear-gradient(135deg, rgba(197, 169, 146, 0.03) 0%, var(--bg-tertiary) 100%);
  border-color: var(--border-color);
}

.dark-mode .analysis-results {
  background: linear-gradient(135deg, rgba(197, 169, 146, 0.03) 0%, var(--bg-primary) 100%);
}

.dark-mode .analysis-insight {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

/*--------------------------------------------------------------
/** Contact Section Responsive Design
--------------------------------------------------------------*/

/* Large Desktop */
@media (min-width: 1400px) {
  .contact-section {
    padding: 8rem 0;
  }
  
  .contact-container {
    gap: 5rem;
  }
  
  .discovery-header {
    padding: 3rem 3.5rem 0;
  }
  
  .discovery-form {
    padding: 0 3.5rem 3.5rem;
  }
  
  .alternative-contact {
    padding: 3rem 3.5rem 3.5rem;
  }
  
  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large Tablet */
@media (max-width: 1200px) {
  .contact-container {
    gap: 3rem;
  }
  
  .discovery-header {
    padding: 2.5rem 2.5rem 0;
  }
  
  .discovery-form {
    padding: 0 2.5rem 2.5rem;
  }
  
  .alternative-contact {
    padding: 2rem 2.5rem 2.5rem;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .contact-section {
    padding: 4rem 0;
    min-height: auto;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-left {
    position: static;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }
  
  .contact-philosophy {
    max-width: none;
  }
  
  .insights-panel,
  .roi-panel,
  .discovery-progress {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .discovery-header {
    padding: 2rem 2rem 0;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .discovery-form {
    padding: 0 2rem 2rem;
  }
  
  .alternative-contact {
    padding: 1.5rem 2rem 2rem;
  }
  
  .field-row {
    grid-template-columns: 1fr;
  }
  
  .bg-grid-subtle {
    display: none;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .contact-section {
    padding: 3rem 0;
  }
  
  .contact-container {
    gap: 2rem;
  }
  
  .philosophy-title {
    font-size: 1.75rem;
  }
  
  .philosophy-text {
    font-size: 1rem;
  }
  
  .discovery-header {
    padding: 1.5rem 1.25rem 0;
  }
  
  .discovery-form {
    padding: 0 1.25rem 1.5rem;
  }
  
  .alternative-contact {
    padding: 1.25rem 1.25rem 1.5rem;
  }
  
  .discovery-title {
    font-size: 1.25rem;
  }
  
  .step-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .field-input,
  .field-select,
  .field-textarea {
    padding: 0.75rem 0.875rem;
    font-size: 0.9rem;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  
  .card-content {
    padding: 1rem;
    min-height: 100px;
  }
  
  .step-actions {
    flex-direction: column;
  }
  
  .final-actions {
    flex-direction: column-reverse;
  }
  
  .btn-continue,
  .btn-submit,
  .btn-back {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .contact-methods {
    gap: 0.75rem;
  }
  
  .contact-method {
    padding: 1rem;
  }
  
  .method-icon {
    width: 42px;
    height: 42px;
  }
  
  .bg-accent-glow,
  .bg-particles {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .contact-section {
    padding: 2.5rem 0;
  }
  
  .contact-container {
    gap: 1.5rem;
  }
  
  .philosophy-label {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .philosophy-title {
    font-size: 1.5rem;
  }
  
  .discovery-header {
    padding: 1.25rem 1rem 0;
  }
  
  .discovery-form {
    padding: 0 1rem 1.25rem;
  }
  
  .alternative-contact {
    padding: 1rem 1rem 1.25rem;
  }
  
  .discovery-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  
  .insights-panel,
  .roi-panel,
  .discovery-progress {
    padding: 1.25rem;
  }
  
  .roi-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .card-content {
    padding: 0.875rem;
    min-height: 90px;
  }
  
  .analysis-results {
    padding: 1.5rem;
  }
  
  .service-promise {
    padding: 1.25rem;
  }
  
  .promise-content {
    gap: 0.75rem;
  }
}

/*--------------------------------------------------------------
/** Contact Section Accessibility & Performance
--------------------------------------------------------------*/

/* Focus States */
.field-input:focus,
.field-select:focus,
.field-textarea:focus,
.consent-checkbox:focus,
.btn-continue:focus,
.btn-submit:focus,
.btn-back:focus,
.contact-method:focus,
.privacy-link:focus,
.checkbox-card:focus-within {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .contact-right {
    border: 3px solid var(--accent-color);
  }
  
  .field-input,
  .field-select,
  .field-textarea {
    border: 2px solid var(--accent-color);
  }
  
  .card-content {
    border: 2px solid var(--text-primary);
  }
  
  .checkbox-card input:checked + .card-content {
    border: 3px solid var(--accent-color);
  }
  
  .btn-continue,
  .btn-submit {
    border: 2px solid var(--accent-color);
  }
  
  .contact-method {
    border: 2px solid var(--text-primary);
  }
  
  .insights-panel,
  .roi-panel,
  .discovery-progress,
  .service-promise {
    border: 2px solid var(--accent-color);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .checkbox-card:hover .card-content,
  .contact-method:hover,
  .btn-continue:hover,
  .btn-submit:hover {
    transform: none !important;
  }
  
  .philosophy-label::before,
  .step-number::before,
  .contact-method::before,
  .btn-continue::before,
  .btn-submit::before {
    display: none !important;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .field-input,
  .field-select,
  .field-textarea {
    padding: 1rem 1.125rem;
    font-size: 1rem;
  }
  
  .btn-continue,
  .btn-submit,
  .btn-back {
    padding: 1.125rem 2rem;
    font-size: 1rem;
  }
  
  .contact-method {
    padding: 1.25rem;
  }
  
  .card-content {
    padding: 1.25rem;
    min-height: 110px;
  }
  
  .consent-checkbox {
    width: 20px;
    height: 20px;
  }
  
  .time-slider::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }
}

/* Performance Optimizations */
.contact-right,
.insights-panel,
.roi-panel {
  will-change: transform;
}

.progress-fill,
.step-number::before,
.philosophy-label::before {
  contain: layout style paint;
}

/* Print Styles */
@media print {
  .contact-section {
    background: white !important;
    min-height: auto !important;
  }
  
  .contact-bg {
    display: none !important;
  }
  
  .contact-container {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .contact-right {
    background: white !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  
  .btn-continue,
  .btn-submit {
    background: #ccc !important;
    color: #000 !important;
  }
  
  .alternative-contact {
    background: #f9f9f9 !important;
  }
  
  .form-step:not(.active) {
    display: block !important;
  }
  
  .step-actions {
    display: none !important;
  }
}

/*--------------------------------------------------------------
/** FOOTER
--------------------------------------------------------------*/

.premium-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  margin-top: 6rem;
  padding: 4rem 0 0;
}

/* Footer Main */
.footer-main {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  width: 100px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-logo a {
  display: block;
}

.footer-logo svg {
  width: 100%;
  height: auto;
  color: var(--text-primary);
}

.footer-description {
  max-width: 300px;
}

.footer-description p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Footer Sections */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--heading-font);
}

/* Footer Navigation */
.footer-nav {
  flex: 1;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--text-primary);
}

.footer-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Footer Contact */
.footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.contact-value {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-link {
  font-size: 0.9rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover,
.contact-link:focus {
  color: var(--accent-color);
}

.contact-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Footer Bottom */
.footer-bottom {
  padding: 2rem 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Copyright */
.footer-copyright p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* Legal Links */
.footer-legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.legal-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-link:hover,
.legal-link:focus {
  color: var(--text-primary);
}

.legal-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Professional Link */
.footer-professional {
  display: flex;
  align-items: center;
}

.professional-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.professional-link:hover,
.professional-link:focus {
  color: var(--text-primary);
  border-color: var(--accent-color);
  background: var(--bg-accent-subtle);
}

.professional-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.professional-link svg {
  width: 20px;
  height: 20px;
}

/* Dark Mode Overrides */
.dark-mode .premium-footer {
  background: var(--bg-secondary);
  border-top-color: var(--border-color);
}

.dark-mode .footer-main {
  border-bottom-color: var(--border-color);
}

.dark-mode .professional-link {
  border-color: var(--border-color);
}

.dark-mode .professional-link:hover,
.dark-mode .professional-link:focus {
  background: rgba(197, 169, 146, 0.1);
}

/*--------------------------------------------------------------
/** Responsive Design
--------------------------------------------------------------*/

/* Large Desktop */
@media (min-width: 1400px) {
  .premium-footer {
    padding: 5rem 0 0;
  }
  
  .footer-main {
    padding-bottom: 4rem;
  }
  
  .footer-description {
    max-width: 350px;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .premium-footer {
    margin-top: 4rem;
    padding: 3rem 0 0;
  }
  
  .footer-main {
    padding-bottom: 2rem;
  }
  
  .footer-brand {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer-logo {
    margin: 0 auto;
  }
  
  .footer-description {
    max-width: none;
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer-links {
    align-items: center;
  }
  
  .footer-contact {
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .contact-item {
    text-align: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .premium-footer {
    margin-top: 3rem;
    padding: 2rem 0 0;
  }
  
  .footer-main {
    padding-bottom: 1.5rem;
  }
  
  .footer-brand {
    gap: 1rem;
  }
  
  .footer-logo {
    width: 80px;
  }
  
  .footer-description p {
    font-size: 0.9rem;
  }
  
  .footer-title {
    font-size: 0.95rem;
  }
  
  .footer-section {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .footer-links {
    gap: 0.5rem;
  }
  
  .footer-link {
    font-size: 0.85rem;
  }
  
  .contact-item {
    gap: 0.125rem;
  }
  
  .contact-label {
    font-size: 0.75rem;
  }
  
  .contact-value,
  .contact-link {
    font-size: 0.85rem;
  }
  
  .footer-bottom {
    padding: 1.5rem 0;
  }
  
  .footer-bottom-content {
    gap: 1rem;
  }
  
  .footer-copyright p {
    font-size: 0.8rem;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .legal-link {
    font-size: 0.8rem;
  }
  
  .professional-link {
    width: 36px;
    height: 36px;
  }
  
  .professional-link svg {
    width: 18px;
    height: 18px;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .footer-main .row {
    text-align: center;
  }
  
  .footer-links {
    gap: 0.375rem;
  }
  
  .footer-legal {
    gap: 0.5rem;
  }
}

/*--------------------------------------------------------------
/** Accessibility
--------------------------------------------------------------*/

/* Enhanced Focus States */
.footer-logo a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
  border-radius: 4px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .premium-footer {
    border-top: 2px solid var(--accent-color);
  }
  
  .footer-link,
  .contact-link,
  .legal-link {
    text-decoration: underline;
  }
  
  .professional-link {
    border: 2px solid var(--accent-color);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .footer-logo,
  .footer-link,
  .contact-link,
  .legal-link,
  .professional-link {
    transition: none !important;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .footer-link,
  .contact-link,
  .legal-link {
    padding: 0.5rem 0;
  }
  
  .professional-link {
    width: 44px;
    height: 44px;
  }
}

/* Print Styles */
@media print {
  .premium-footer {
    background: white !important;
    border-top: 1px solid #ccc !important;
  }
  
  .footer-main {
    border-bottom: 1px solid #ccc !important;
  }
  
  .footer-professional {
    display: none !important;
  }
  
  .footer-link,
  .contact-link,
  .legal-link {
    color: #000 !important;
  }
}


/*--------------------------------------------------------------
/** BLOG
--------------------------------------------------------------*/
/*--------------------------------------------------------------
/** BLOG SECTION - Komplette CSS Integration
/** Erweitert bestehende Service/FAQ Klassen für maximale Wiederverwendung
--------------------------------------------------------------*/

/*--------------------------------------------------------------
/** Blog Controls - nutzt FAQ Controls als Basis
--------------------------------------------------------------*/

.blog-controls {
  /* Erbt alle Stile von .faq-controls */
}

.blog-search-container {
  /* Erbt alle Stile von .faq-search-container */
}

.blog-search {
  /* Erbt alle Stile von .faq-search */
}

.blog-filter-container {
  /* Erbt alle Stile von .faq-filter-container */
}

.blog-filter {
  /* Erbt alle Stile von .faq-filter */
}

/*--------------------------------------------------------------
/** Blog Grid - nutzt Services Grid als Basis
--------------------------------------------------------------*/

.blog-grid {
  /* Erbt alle Stile von .services-grid */
}

/*--------------------------------------------------------------
/** Blog Cards - erweitert Service Cards
--------------------------------------------------------------*/

.blog-card {
  /* Erbt alle Stile von .service-card */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card--featured {
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent-subtle) 100%);
  border: 2px solid var(--accent-color);
}

.blog-card--featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-darker));
  border-radius: 16px 16px 0 0;
}

.blog-card__header {
  /* Erbt alle Stile von .service-card__header */
  padding: 2rem 2.5rem 0;
  justify-content: space-between;
  align-items: flex-start;
}

.blog-card__content {
  /* Erbt alle Stile von .service-card__content */
}

.blog-card__title {
  /* Erbt alle Stile von .service-card__title */
  font-size: 1.125rem;
  line-height: 1.4;
}

.blog-card__excerpt {
  /* Erbt alle Stile von .service-card__description */
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.blog-card__footer {
  /* Erbt alle Stile von .service-card__footer */
}

.blog-card__cta {
  /* Erbt alle Stile von .service-card__cta */
}

/*--------------------------------------------------------------
/** Blog Meta Elements
--------------------------------------------------------------*/

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 1rem;
}

.blog-category {
  flex: 1;
}

.blog-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--heading-font);
  border: 1px solid;
  transition: all 0.3s ease;
}

.badge--success {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
  border-color: rgba(39, 174, 96, 0.2);
}

.badge--news {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  border-color: rgba(52, 152, 219, 0.2);
}

.badge--tutorial {
  background: rgba(52, 152, 219, 0.1);
  color: #e29b3d;
  border-color: rgba(52, 152, 219, 0.2);
}

.blog-card:hover .blog-category-badge {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-icon {
  font-size: 0.8rem;
}

.blog-featured-badge {
  /* Erbt alle Stile von .service-card__badge */
  background: var(--accent-color);
  color: var(--text-inverse);
  flex-shrink: 0;
}

/*--------------------------------------------------------------
/** Blog Meta Info
--------------------------------------------------------------*/

.blog-meta-info {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.blog-date,
.blog-read-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-icon {
  font-size: 0.875rem;
  opacity: 0.7;
}

.meta-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/*--------------------------------------------------------------
/** Blog Tags
--------------------------------------------------------------*/

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.blog-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.blog-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.3s ease;
}

.blog-tag:hover {
  background: var(--accent-color);
  color: var(--text-inverse);
  border-color: var(--accent-color);
  transform: translateY(-1px);
}

.blog-tag:hover::before {
  left: 100%;
}

/*--------------------------------------------------------------
/** Blog Filter States & Animations
--------------------------------------------------------------*/

/* Filter States */
.blog-card--visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card--hidden {
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Search Loading State */
.blog-search.searching {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="10" stroke="%23C5A992" stroke-width="2"/><path d="M12 6v6l4 2" stroke="%23C5A992" stroke-width="2" stroke-linecap="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  animation: searchPulse 1s ease-in-out infinite;
}

@keyframes searchPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Clear Search Button Enhancement */
.btn-clear-search {
  position: relative;
  overflow: hidden;
}

.btn-clear-search::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-clear-search:hover::before {
  left: 100%;
}

/* Filter Dropdown Enhancement */
.blog-filter:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--shadow-color);
}

/* Search Controls Visual Feedback */
.blog-controls.filtering {
  box-shadow: 0 8px 32px rgba(197, 169, 146, 0.15);
  transform: translateY(-2px);
}

/* Blog Grid Animation während Filter */
.blog-grid.filtering {
  position: relative;
  overflow: hidden;
}

.blog-grid.filtering::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(197, 169, 146, 0.05) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: filterWave 1s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

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

/*--------------------------------------------------------------
/** No Results - nutzt FAQ No Results
--------------------------------------------------------------*/

.blog-no-results {
  /* Erbt alle Stile von .faq-no-results */
  animation: noResultsSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes noResultsSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/*--------------------------------------------------------------
/** Blog CTA - nutzt Services CTA
--------------------------------------------------------------*/

.blog-cta {
  /* Erbt alle Stile von .services-cta */
}

.blog-cta-container {
  /* Erbt alle Stile von .cta-container */
}

.blog-cta-content {
  /* Erbt alle Stile von .cta-content */
}

.blog-cta-actions {
  /* Erbt alle Stile von .cta-actions */
}

.blog-btn-primary {
  /* Erbt alle Stile von .btn-cta-primary */
}

.blog-btn-secondary {
  /* Erbt alle Stile von .btn-cta-secondary */
}

/*--------------------------------------------------------------
/** Blog Background
--------------------------------------------------------------*/

.blog-bg {
  /* Erbt alle Stile von .services-bg */
}

/*--------------------------------------------------------------
/** Filter Status & Results Counter
--------------------------------------------------------------*/

.filter-status {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 16px;
  height: 16px;
  background: var(--accent-color);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.blog-controls.has-active-filters .filter-status {
  transform: scale(1);
}

.results-counter {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-controls.show-counter .results-counter {
  opacity: 1;
}

/*--------------------------------------------------------------
/** Dark Mode Overrides
--------------------------------------------------------------*/

.dark-mode .badge--success {
  background: rgba(39, 174, 96, 0.15);
  border-color: rgba(39, 174, 96, 0.3);
}

.dark-mode .badge--news {
  background: rgba(52, 152, 219, 0.15);
  border-color: rgba(52, 152, 219, 0.3);
}

.dark-mode .blog-card--featured {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(197, 169, 146, 0.05) 100%);
}

.dark-mode .blog-meta-info {
  border-color: var(--border-color);
}

.dark-mode .blog-tag {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.dark-mode .blog-tag:hover {
  background: var(--accent-color);
  color: var(--text-inverse);
}

.dark-mode .blog-search.searching {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="10" stroke="%23C5A992" stroke-width="2"/><path d="M12 6v6l4 2" stroke="%23C5A992" stroke-width="2" stroke-linecap="round"/></svg>');
}

.dark-mode .blog-grid.filtering::before {
  background: linear-gradient(45deg, transparent 30%, rgba(197, 169, 146, 0.03) 50%, transparent 70%);
}

.dark-mode .blog-controls.filtering {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/*--------------------------------------------------------------
/** Responsive Design
--------------------------------------------------------------*/

/* Large Desktop */
@media (min-width: 1400px) {
  .blog-card__header {
    padding: 2.5rem 3rem 0;
  }
  
  .blog-card__content {
    padding: 2rem 3rem;
  }
  
  .blog-card__footer {
    padding: 0 3rem 3rem;
  }
}

/* Large Tablet */
@media (max-width: 1200px) {
  .blog-card__header {
    padding: 2rem 2rem 0;
  }
  
  .blog-card__content {
    padding: 1.25rem 2rem;
  }
  
  .blog-card__footer {
    padding: 0 2rem 2rem;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .blog-card__header {
    padding: 1.5rem 1.5rem 0;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .blog-meta-info {
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .blog-card__title {
    font-size: 1rem;
  }
  
  .blog-controls {
    position: relative;
  }
  
  .blog-controls.mobile-active {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg-secondary);
    box-shadow: 0 2px 16px var(--shadow-color);
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .blog-card__header {
    padding: 1.25rem 1.25rem 0;
  }
  
  .blog-card__content {
    padding: 1rem 1.25rem;
  }
  
  .blog-card__footer {
    padding: 0 1.25rem 1.25rem;
  }
  
  .blog-category-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
  
  .blog-meta-info {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .blog-tags {
    gap: 0.375rem;
  }
  
  .blog-tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
  
  .blog-search, 
  .blog-filter {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .blog-card__header {
    padding: 1rem 1rem 0;
  }
  
  .blog-card__content {
    padding: 0.75rem 1rem;
  }
  
  .blog-card__footer {
    padding: 0 1rem 1rem;
  }
  
  .blog-card__title {
    font-size: 0.95rem;
  }
  
  .blog-card__excerpt {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
/** Accessibility
--------------------------------------------------------------*/

/* Visually Hidden Class */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focus States */
.blog-card:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 4px;
  border-radius: 4px;
}

.blog-search:focus-visible,
.blog-filter:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.blog-card:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .blog-card {
    border: 2px solid var(--text-primary);
  }
  
  .blog-card--featured {
    border: 3px solid var(--accent-color);
  }
  
  .blog-card--visible {
    border: 2px solid var(--text-primary);
  }
  
  .blog-card--hidden {
    border: 1px solid transparent;
  }
  
  .blog-category-badge {
    border: 2px solid currentColor;
  }
  
  .blog-tag {
    border: 1px solid var(--text-primary);
  }
  
  .blog-search, 
  .blog-filter {
    border: 2px solid var(--accent-color);
  }
  
  .filter-status {
    border: 2px solid var(--bg-primary);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card--visible,
  .blog-card--hidden,
  .blog-category-badge,
  .blog-tag,
  .blog-search,
  .blog-filter,
  .blog-no-results,
  .btn-clear-search,
  .blog-controls,
  .blog-grid {
    animation: none !important;
    transition: none !important;
  }
  
  .blog-card:hover,
  .blog-category-badge:hover,
  .blog-tag:hover,
  .blog-search:focus,
  .blog-filter:focus {
    transform: none !important;
  }
  
  .blog-tag::before,
  .btn-clear-search::before,
  .blog-grid.filtering::before {
    display: none !important;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .blog-card {
    transform: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }
  
  .blog-card:hover {
    transform: none;
    box-shadow: 0 8px 32px var(--shadow-color);
  }
  
  .blog-category-badge,
  .blog-tag {
    padding: 0.4rem 0.8rem;
  }
}

/*--------------------------------------------------------------
/** Performance Optimizations
--------------------------------------------------------------*/

.blog-card {
  will-change: opacity, transform;
  contain: layout style paint;
}

.blog-grid.filtering {
  will-change: transform;
}

/* Container Query Support (Progressive Enhancement) */
@supports (container-type: inline-size) {
  .blog-grid {
    container-type: inline-size;
  }
  
  @container (max-width: 600px) {
    .blog-card {
      margin-bottom: 1rem;
    }
  }
}

/*--------------------------------------------------------------
/** Print Styles
--------------------------------------------------------------*/

@media print {
  .blog-controls,
  .blog-no-results {
    display: none !important;
  }
  
  .blog-card--hidden {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  
  .blog-grid.filtering::before {
    display: none !important;
  }
  
  .blog-tag::before,
  .btn-clear-search::before {
    display: none !important;
  }
}



/*--------------------------------------------------------------
/** ARTICLES
--------------------------------------------------------------*/
/*--------------------------------------------------------------
/** BLOG ARTICLE VIEW - Erweitert bestehende Design-Klassen
--------------------------------------------------------------*/

/*--------------------------------------------------------------
/** Breadcrumb Navigation
--------------------------------------------------------------*/

.breadcrumb-nav {
  padding: 2rem 0 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb-container {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--bg-secondary);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
  min-width: max-content;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-family: var(--body-font);
}

.breadcrumb-link:hover,
.breadcrumb-link:focus {
  color: var(--text-primary);
  background: var(--bg-accent-subtle);
  text-decoration: none;
}

.breadcrumb-icon {
  font-size: 0.8rem;
  opacity: 0.8;
}

.breadcrumb-text {
  font-weight: 500;
}

.breadcrumb-separator {
  color: var(--text-muted);
  font-size: 0.875rem;
  opacity: 0.6;
}

.breadcrumb-current .breadcrumb-text {
  color: var(--accent-color);
  font-weight: 600;
}

/*--------------------------------------------------------------
/** Article Layout
--------------------------------------------------------------*/

.blog-article {
  /* Erbt alle Stile von .services-section */
  padding: 2rem 0 6rem;
}

.article-layout {
  margin-top: 1rem;
}

.article-main {
  padding-right: 2rem;
  position: relative;
}

/*--------------------------------------------------------------
/** Article Header
--------------------------------------------------------------*/

.article-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  height: auto;
}

/* Meta Top */
.article-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.article-category {
  flex: 1;
}

/* Erbt blog-category-badge Stile */
.article-featured-badge {
  background: var(--accent-color);
  color: var(--text-inverse);
  padding: 0.375rem 0.75rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* Article Title */
.article-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 1.5rem;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

/* Article Excerpt */
.article-excerpt {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
}

.excerpt-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
  font-style: italic;
}

/* Article Meta Info */
.article-meta-info {
  margin-bottom: 2rem;
}

.meta-primary {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
  padding: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.meta-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow-color);
  border-color: var(--accent-color);
}

.meta-icon {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.meta-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-family: var(--heading-font);
}

.meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Article Tags */
.article-tags {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tags-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  flex-shrink: 0;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-tag {
  /* Erbt alle blog-tag Stile */
}

/*--------------------------------------------------------------
/** Article Content
--------------------------------------------------------------*/

.article-content {
  margin-bottom: 4rem;
}

.content-wrapper {
  max-width: 100%;
  line-height: 1.8;
  font-size: 1.125rem;
  color: var(--text-primary);
}

/* Typography für Artikel-Inhalt */
.content-wrapper h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--text-primary);
  margin: 2.5rem 0 1.5rem;
  font-family: var(--heading-font);
  scroll-margin-top: 2rem;
  position: relative;
}

.content-wrapper h2::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.content-wrapper h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--text-primary);
  margin: 2rem 0 1rem;
  font-family: var(--heading-font);
  scroll-margin-top: 2rem;
}

.content-wrapper h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 0.75rem;
  font-family: var(--heading-font);
  scroll-margin-top: 2rem;
}

.content-wrapper p {
  margin: 0 0 1.5rem;
  line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.content-wrapper li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.content-wrapper blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: var(--bg-accent-subtle);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-color);
  border-radius: 8px;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.content-wrapper code {
  background: var(--bg-secondary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid var(--border-subtle);
}

.content-wrapper pre {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  margin: 1.5rem 0;
}

.content-wrapper pre code {
  background: none;
  padding: 0;
  border: none;
}

.content-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 16px var(--shadow-color);
}

/*--------------------------------------------------------------
/** Article Footer
--------------------------------------------------------------*/

.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

/* Article Actions */
.article-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.actions-left,
.actions-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.action-link:hover,
.action-link:focus {
  color: var(--text-primary);
  border-color: var(--accent-color);
  background: var(--bg-accent-subtle);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow-color);
}

.action-icon {
  transition: transform 0.3s ease;
}

.back-to-blog:hover .action-icon {
  transform: translateX(-3px);
}

/* Share Actions */
.share-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
}

.share-link:hover,
.share-link:focus {
  background: var(--accent-color);
  color: var(--text-inverse);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(197, 169, 146, 0.3);
}

/* Article Navigation */
.article-navigation {
  margin-top: 2rem;
}

.nav-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.nav-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-color);
  border-color: var(--accent-color);
}

.nav-link {
  display: block;
  padding: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  height: 100%;
}

.nav-direction {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.nav-next .nav-direction {
  justify-content: flex-end;
  text-align: right;
}

.nav-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.nav-arrow {
  color: var(--accent-color);
  font-size: 1.125rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.nav-prev:hover .nav-arrow {
  transform: translateX(-3px);
}

.nav-next:hover .nav-arrow {
  transform: translateX(3px);
}

.nav-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  font-family: var(--heading-font);
}

.nav-next .nav-title {
  text-align: right;
}

/*--------------------------------------------------------------
/** Article Sidebar
--------------------------------------------------------------*/

.article-sidebar {
  padding-left: 2rem;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow-color);
}

.widget-header {
  padding: 1.5rem 1.5rem 0;
}

.widget-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--heading-font);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.widget-icon {
  font-size: 1rem;
  opacity: 0.8;
}

.widget-content {
  padding: 1rem 1.5rem 1.5rem;
}

/* Table of Contents */
.toc-nav {
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--bg-secondary);
}

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

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-list a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.toc-list a:hover,
.toc-list a:focus {
  color: var(--text-primary);
  background: var(--bg-accent-subtle);
  border-left-color: var(--accent-color);
  transform: translateX(4px);
}

.toc-list a.active {
  color: var(--accent-color);
  background: var(--bg-accent-subtle);
  border-left-color: var(--accent-color);
  font-weight: 600;
}

/* Related Articles */
.related-articles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.related-article {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}

.related-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-link {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-link:hover {
  color: var(--text-primary);
}

.related-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.related-category {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category--success {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
}

.category--news {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.category--tutorial {
  background: rgba(52, 152, 219, 0.1);
  color: #e0a537;
}

.related-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.related-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
  font-family: var(--heading-font);
  transition: color 0.3s ease;
}

.related-link:hover .related-title {
  color: var(--accent-color);
}

.related-excerpt {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* CTA Widget */
.cta-widget {
  position: sticky;
  top: 2rem;
}

.cta-card {
  background: linear-gradient(135deg, var(--bg-accent-subtle) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-darker));
}

.cta-header {
  margin-bottom: 1.5rem;
}

.cta-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

.blog-card__footer .cta-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.cta-btn-small {
  /* Erbt btn-cta-primary Stile */
  padding: 0.875rem 1.5rem;
  font-size: 0.9rem;
}

/*--------------------------------------------------------------
/** Article Background
--------------------------------------------------------------*/

.article-bg {
  /* Erbt services-bg Stile */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/*--------------------------------------------------------------
/** Dark Mode Overrides
--------------------------------------------------------------*/

.dark-mode .breadcrumb-link:hover,
.dark-mode .breadcrumb-link:focus {
  background: rgba(197, 169, 146, 0.1);
}

.dark-mode .article-excerpt {
  background: rgba(197, 169, 146, 0.05);
  border-color: var(--border-color);
}

.dark-mode .meta-item {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

.dark-mode .sidebar-widget {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.dark-mode .nav-item {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

.dark-mode .share-link {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

.dark-mode .cta-card {
  background: linear-gradient(135deg, rgba(197, 169, 146, 0.05) 0%, var(--bg-tertiary) 100%);
  border-color: var(--border-color);
}

.dark-mode .category--success {
  background: rgba(39, 174, 96, 0.15);
}

.dark-mode .category--news {
  background: rgba(52, 152, 219, 0.15);
}

/*--------------------------------------------------------------
/** Responsive Design
--------------------------------------------------------------*/

/* Large Desktop */
@media (min-width: 1400px) {
  .article-main {
    padding-right: 3rem;
  }
  
  .article-sidebar {
    padding-left: 3rem;
  }
}

/* Large Tablet */
@media (max-width: 1200px) {
  .article-main {
    padding-right: 1.5rem;
  }
  
  .article-sidebar {
    padding-left: 1.5rem;
  }
  
  .meta-primary {
    gap: 1.5rem;
  }
  
  .meta-item {
    min-width: 100px;
    padding: 0.75rem;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .article-main {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .article-sidebar {
    padding-left: 0;
  }
  
  .article-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }
  
  .content-wrapper {
    font-size: 1rem;
  }
  
  .meta-primary {
    justify-content: center;
    gap: 1rem;
  }
  
  .article-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .actions-left,
  .actions-right {
    justify-content: center;
  }
  
  .nav-items {
    grid-template-columns: 1fr;
  }
  
  .cta-widget {
    position: static;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .breadcrumb-nav {
    padding: 1rem 0 0.5rem;
    margin-bottom: 1rem;
  }
  
  .breadcrumb-link {
    padding: 0.375rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .breadcrumb-icon {
    font-size: 0.75rem;
  }
  
  .blog-article {
    padding: 1rem 0 4rem;
  }
  
  .article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  
  .article-meta-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .article-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  
  .excerpt-text {
    font-size: 1rem;
  }
  
  .meta-primary {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .meta-item {
    min-width: auto;
    flex-direction: row;
    text-align: left;
    padding: 0.75rem 1rem;
  }
  
  .meta-icon {
    margin-bottom: 0;
    margin-right: 0.75rem;
  }
  
  .article-tags {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .content-wrapper h2::before {
    display: none;
  }
  
  .content-wrapper {
    font-size: 0.95rem;
  }
  
  .sidebar-widget {
    margin-bottom: 1.5rem;
  }
  
  .widget-header {
    padding: 1.25rem 1.25rem 0;
  }
  
  .widget-content {
    padding: 0.75rem 1.25rem 1.25rem;
  }
  
  .share-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .breadcrumb-container {
    padding: 0 0.5rem;
  }
  
  .breadcrumb-link {
    padding: 0.25rem 0.375rem;
    font-size: 0.75rem;
  }
  
  .article-content {
    margin-bottom: 3rem;
  }
  
  .content-wrapper blockquote {
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: 1rem;
  }
  
  .content-wrapper pre {
    padding: 1rem;
    font-size: 0.875rem;
  }
  
  .nav-link {
    padding: 1.25rem;
  }
  
  .nav-title {
    font-size: 0.9rem;
  }
  
  .cta-card {
    padding: 1.5rem;
  }
  
  .cta-title {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
/** Accessibility & Performance
--------------------------------------------------------------*/

/* Smooth Scrolling für TOC Links */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Focus States */
.breadcrumb-link:focus,
.action-link:focus,
.share-link:focus,
.nav-link:focus,
.toc-list a:focus,
.related-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .article-excerpt,
  .meta-item,
  .sidebar-widget,
  .nav-item,
  .cta-card {
    border: 2px solid var(--accent-color);
  }
  
  .breadcrumb-link,
  .action-link,
  .share-link {
    border: 1px solid var(--text-primary);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .meta-item,
  .nav-item,
  .action-link,
  .share-link,
  .toc-list a,
  .related-link {
    transition: none !important;
  }
  
  .meta-item:hover,
  .nav-item:hover,
  .action-link:hover,
  .share-link:hover {
    transform: none !important;
  }
}

/* Print Styles */
@media print {
  .article-bg,
  .breadcrumb-nav,
  .article-actions,
  .article-navigation,
  .article-sidebar {
    display: none !important;
  }
  
  .article-main {
    padding-right: 0 !important;
  }
  
  .article-title {
    font-size: 2rem !important;
    color: #000 !important;
  }
  
  .content-wrapper {
    font-size: 12pt !important;
    line-height: 1.6 !important;
    color: #000 !important;
  }
}

/*--------------------------------------------------------------
/** Error Page Styles
--------------------------------------------------------------*/
/*--------------------------------------------------------------
/** ERROR PAGE - Animierte und kreative Fehlerseite
--------------------------------------------------------------*/

/*--------------------------------------------------------------
/** Base Layout
--------------------------------------------------------------*/

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.error-page .container {
  position: relative;
  z-index: 10;
  max-width: 1000px;
}

/*--------------------------------------------------------------
/** Error Illustration
--------------------------------------------------------------*/

.error-illustration {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.illustration-container {
  position: relative;
  display: inline-block;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

/* SVG Illustrations */
.error-visual {
  position: relative;
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.error-svg {
  width: 100%;
  height: auto;
  max-width: 400px;
  filter: drop-shadow(0 10px 30px rgba(197, 169, 146, 0.1));
}

/* SVG Specific Animations */
.svg-404 .astronaut {
  animation: float 6s ease-in-out infinite;
}

.svg-500 .robot {
  animation: robotShake 0.5s ease-in-out infinite alternate;
}

.svg-glitch {
  animation: glitchPulse 2s ease-in-out infinite;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-element {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.3;
  animation: floatAround 15s linear infinite;
}

.float-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.float-2 {
  top: 20%;
  right: 15%;
  animation-delay: 5s;
  animation-duration: 18s;
}

.float-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 10s;
  animation-duration: 22s;
}

.float-4 {
  bottom: 10%;
  right: 10%;
  animation-delay: 15s;
  animation-duration: 16s;
}

/*--------------------------------------------------------------
/** Error Content
--------------------------------------------------------------*/

.error-content {
  text-align: center;
  position: relative;
  z-index: 5;
}

/* Error Header */
.error-header {
  margin-bottom: 3rem;
}

.error-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.code-number {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 100;
  color: var(--accent-color);
  font-family: var(--heading-font);
  line-height: 1;
  position: relative;
  display: inline-block;
}

.code-number::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent-darker);
  z-index: -1;
  transform: translate(2px, 2px);
  opacity: 0.3;
  animation: codeGlitch 3s ease-in-out infinite;
}

.code-icon {
  font-size: 3rem;
  animation: iconBounce 2s ease-in-out infinite;
  display: inline-block;
}

.error-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--text-primary);
  margin: 0 0 1rem;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
  animation: titleSlideIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.error-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
  animation: subtitleSlideIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

/* Error Description */
.error-description {
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.description-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  animation: descriptionFadeIn 1s ease-out 0.4s both;
}

/* Suggestions */
.error-suggestions {
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.suggestions-title {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-family: var(--heading-font);
  animation: suggestionsTitleSlide 1s ease-out 0.6s both;
}

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

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
  opacity: 0;
  animation: suggestionSlideIn 0.6s ease-out forwards;
}

.suggestion-item:nth-child(1) { animation-delay: 0.8s; }
.suggestion-item:nth-child(2) { animation-delay: 0.9s; }
.suggestion-item:nth-child(3) { animation-delay: 1s; }
.suggestion-item:nth-child(4) { animation-delay: 1.1s; }

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

.suggestion-item:hover {
  background: var(--bg-accent-subtle);
  transform: translateX(8px);
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 8px;
}

.suggestion-icon {
  color: var(--accent-color);
  font-weight: bold;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.suggestion-item:hover .suggestion-icon {
  transform: translateX(4px);
}

.suggestion-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: left;
}

.suggestion-item:hover .suggestion-text {
  color: var(--text-primary);
}

/*--------------------------------------------------------------
/** Action Buttons
--------------------------------------------------------------*/

.error-actions {
  margin-bottom: 3rem;
}

.actions-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  font-family: var(--heading-font);
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0;
  animation: actionButtonSlide 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.action-btn:hover::before {
  left: 100%;
}

/* Primary Action */
.action-primary {
  background: var(--accent-color);
  color: var(--text-inverse);
  border-color: var(--accent-color);
  animation-delay: 1.2s;
}

.action-primary:hover {
  background: var(--accent-darker);
  color: var(--text-inverse);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(197, 169, 146, 0.3);
}

/* Secondary Action */
.action-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
  animation-delay: 1.3s;
}

.action-secondary:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-color);
}

/* Tertiary Action */
.action-tertiary {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-subtle);
  animation-delay: 1.4s;
}

.action-tertiary:hover {
  background: var(--bg-accent-subtle);
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-4px);
}

.btn-icon {
  font-size: 1.125rem;
  transition: transform 0.3s ease;
}

.btn-arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.action-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.action-secondary:hover .btn-icon {
  transform: translateX(-4px);
}

/*--------------------------------------------------------------
/** Fun Fact Section (404 specific)
--------------------------------------------------------------*/

.fun-fact {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent-subtle) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  animation: factSlideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 1.5s both;
}

.fun-fact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-darker));
}

.fact-container {
  position: relative;
  z-index: 2;
}

.fact-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--heading-font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.fact-icon {
  font-size: 1.25rem;
  animation: factIconSpin 3s ease-in-out infinite;
}

.fact-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.fact-refresh {
  background: var(--accent-color);
  color: var(--text-inverse);
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body-font);
}

.fact-refresh:hover {
  background: var(--accent-darker);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 169, 146, 0.3);
}

.refresh-icon {
  transition: transform 0.3s ease;
}

.fact-refresh:hover .refresh-icon {
  transform: rotate(180deg);
}

/*--------------------------------------------------------------
/** Interactive Background
--------------------------------------------------------------*/

.error-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Particles */
.bg-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.1;
  animation: particleFloat 20s linear infinite;
}

.particle:nth-child(odd) {
  background: var(--accent-darker);
  animation-duration: 25s;
}

.particle-1 { top: 10%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 20%; left: 80%; animation-delay: 2s; }
.particle-3 { top: 80%; left: 20%; animation-delay: 4s; }
.particle-4 { top: 60%; left: 70%; animation-delay: 6s; }
.particle-5 { top: 30%; left: 50%; animation-delay: 8s; }
.particle-6 { top: 70%; left: 10%; animation-delay: 10s; }
.particle-7 { top: 15%; left: 60%; animation-delay: 12s; }
.particle-8 { top: 85%; left: 80%; animation-delay: 14s; }
.particle-9 { top: 45%; left: 30%; animation-delay: 16s; }
.particle-10 { top: 25%; left: 20%; animation-delay: 18s; }

/* Waves */
.bg-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  overflow: hidden;
  opacity: 0.03;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 200px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-darker), var(--accent-color));
  border-radius: 50% 50% 0 0;
  animation: waveMove 15s ease-in-out infinite;
}

.wave-1 {
  animation-duration: 20s;
  opacity: 0.5;
}

.wave-2 {
  animation-duration: 18s;
  animation-delay: 2s;
  opacity: 0.3;
}

.wave-3 {
  animation-duration: 22s;
  animation-delay: 4s;
  opacity: 0.2;
}

/*--------------------------------------------------------------
/** Mouse Follower (Optional Interactive Element)
--------------------------------------------------------------*/

.mouse-follower {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.follower-dot {
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(2px);
  transform: translate(-50%, -50%);
}

/*--------------------------------------------------------------
/** Animations
--------------------------------------------------------------*/

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

@keyframes robotShake {
  0% { transform: translateX(0); }
  100% { transform: translateX(2px); }
}

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

@keyframes floatAround {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -30px) rotate(90deg); }
  50% { transform: translate(-10px, -20px) rotate(180deg); }
  75% { transform: translate(-30px, 10px) rotate(270deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes codeGlitch {
  0%, 90% { transform: translate(2px, 2px); }
  10% { transform: translate(-2px, -2px); }
  20% { transform: translate(2px, -2px); }
  30% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, 2px); }
}

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

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

@keyframes subtitleSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes descriptionFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes actionButtonSlide {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes factSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes factIconSpin {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(10deg); }
  75% { transform: rotate(-10deg); }
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.1; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

@keyframes waveMove {
  0% { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(-50%) rotate(360deg); }
}

/*--------------------------------------------------------------
/** Dark Mode Specific
--------------------------------------------------------------*/

.dark-mode .error-page {
  background: var(--bg-primary);
}

.dark-mode .fun-fact {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(197, 169, 146, 0.05) 100%);
  border-color: var(--border-color);
}

.dark-mode .action-secondary {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

.dark-mode .action-secondary:hover {
  background: var(--bg-secondary);
}

.dark-mode .particle {
  opacity: 0.05;
}

/*--------------------------------------------------------------
/** Responsive Design
--------------------------------------------------------------*/

/* Tablet */
@media (max-width: 991.98px) {
  .error-page {
    padding: 1rem 0;
  }
  
  .error-illustration {
    margin-bottom: 2rem;
  }
  
  .illustration-container {
    max-width: 300px;
  }
  
  .code-number {
    font-size: clamp(3rem, 6vw, 6rem);
  }
  
  .code-icon {
    font-size: 2rem;
  }
  
  .actions-grid {
    flex-direction: column;
    align-items: center;
    max-width: 300px;
  }
  
  .action-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .error-header {
    margin-bottom: 2rem;
  }
  
  .error-description,
  .error-suggestions,
  .error-actions {
    margin-bottom: 2rem;
  }
  
  .illustration-container {
    max-width: 250px;
  }
  
  .floating-elements {
    display: none;
  }
  
  .suggestion-item:hover {
    transform: none;
    padding-left: 0;
    padding-right: 0;
  }
  
  .fun-fact {
    padding: 1.5rem;
    margin-top: 1rem;
  }
  
  .fact-title {
    font-size: 1rem;
  }
  
  .fact-text {
    font-size: 0.875rem;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .error-page {
    min-height: 100vh;
    padding: 0.5rem 0;
  }
  
  .code-number {
    font-size: 3rem;
  }
  
  .code-icon {
    font-size: 1.5rem;
  }
  
  .error-code {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .bg-waves {
    display: none;
  }
}

/*--------------------------------------------------------------
/** Accessibility & Performance
--------------------------------------------------------------*/

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .error-svg,
  .floating-elements,
  .bg-particles,
  .bg-waves,
  .mouse-follower {
    display: none !important;
  }
  
  .suggestion-item:hover,
  .action-btn:hover {
    transform: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .error-page {
    background: #ffffff;
    color: #000000;
  }
  
  .action-btn {
    border: 3px solid #000000;
  }
  
  .fun-fact {
    border: 2px solid #000000;
  }
  
  .suggestion-item {
    border-bottom: 2px solid #000000;
  }
}

/* Focus States */
.action-btn:focus,
.fact-refresh:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 4px;
}

/* Performance Optimizations */
.error-svg,
.floating-elements,
.bg-particles {
  will-change: transform;
}

.action-btn::before {
  will-change: left;
}

/* Print Styles */
@media print {
  .error-illustration,
  .error-background,
  .mouse-follower,
  .fun-fact {
    display: none !important;
  }
  
  .error-page {
    background: white !important;
    color: black !important;
  }
  
  .action-btn {
    background: white !important;
    color: black !important;
    border: 1px solid black !important;
  }
}