/* ============================================
   RIG Invest Group - Main Stylesheet
   Premium Dark & Gold Investment Design
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #C5A55A;
  --primary-light: rgba(197, 165, 90, 0.12);
  --primary-dark: #A8893D;
  --dark: #0A0A0A;
  --body-text: rgba(33, 37, 41, 0.75);
  --light-bg: #F5F3EE;
  --white: #FFFFFF;
  --footer-bg: #0A0A0A;
  --testimonial-bg: #FAF8F2;
  --card-shadow: rgba(0, 0, 0, 0.176) 0px 16px 48px;
  --card-shadow-sm: rgba(17, 34, 68, 0.08) 0px 24px 60px;
  --border-radius: 16px;
  --border-radius-lg: 20px;
  --border-radius-pill: 999px;
  --section-padding: 80px 0;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-family: 'Playfair Display', Georgia, serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: clip;
}

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

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-family: var(--heading-family);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.225rem; line-height: 1.2; }
h2 { font-size: 1.83rem; line-height: 1.25; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--body-text);
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility Classes --- */
.bg-light { background-color: var(--light-bg); }
.bg-white { background-color: var(--white); }
.bg-dark { background-color: var(--footer-bg); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-muted { color: var(--body-text); }
.text-primary { color: var(--primary); }

.section {
  padding: var(--section-padding);
}

/* --- Overline / Label --- */
.overline {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  margin-bottom: 12px;
  display: inline-block;
}

.overline-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  padding: 6px 16px;
  border-radius: var(--border-radius-pill);
  display: inline-block;
  margin-bottom: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--border-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.5;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 165, 90, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--light-bg);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-submit {
  background: var(--primary);
  color: var(--dark);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 32px;
}

.card-sm {
  padding: 24px;
}

.card-form {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow-sm);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo {
  height: 40px;
  width: auto;
}

.navbar.scrolled .navbar-logo {
  /* Logo uses native gold + white colors on dark backgrounds */
}

/* Desktop Nav Links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links li a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.nav-links li a.active {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.navbar.scrolled .nav-links li a {
  color: rgba(255, 255, 255, 0.85);
}

.navbar.scrolled .nav-links li a:hover {
  background: rgba(197, 165, 90, 0.15);
  color: var(--primary);
}

.navbar.scrolled .nav-links li a.active {
  background: rgba(197, 165, 90, 0.15);
  color: var(--primary);
}

.navbar-cta {
  background: var(--primary);
  color: var(--dark) !important;
  padding: 10px 24px;
  border-radius: var(--border-radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 8px;
  white-space: nowrap;
}

.navbar-cta:hover {
  background: var(--primary-dark);
  color: var(--dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar.scrolled .hamburger span {
  background: var(--white);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid var(--light-bg);
  transition: color 0.3s ease;
}

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

.mobile-menu .btn {
  margin-top: 24px;
  width: 100%;
  text-align: center;
}

.mobile-menu-contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--light-bg);
}

.mobile-menu-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--body-text);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 50%, #2a2a2a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 165, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 165, 90, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-content .overline-badge {
  background: rgba(197, 165, 90, 0.2);
  color: var(--primary);
}

.hero-content h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.hero-content h3 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-stat {
  background: rgba(197, 165, 90, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(197, 165, 90, 0.2);
}

.hero-stat .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero-image-caption {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: var(--dark);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(197, 165, 90, 0.2);
}

.hero-image-caption h5 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.hero-image-caption p {
  font-size: 0.8rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 140px 0 60px;
  background: #F5F3EE;
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.page-hero-content h1 {
  margin-bottom: 16px;
}

.page-hero-content p {
  font-size: 1rem;
  line-height: 1.6;
}

.page-hero .card {
  position: sticky;
  top: 100px;
}

/* --- Stats Badges --- */
.stat-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.stat-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: var(--border-radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
}

/* --- Service Cards (Homepage) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(197, 165, 90, 0.3);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.service-card h4 {
  margin-bottom: 8px;
}

.service-card p {
  margin-bottom: 16px;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.service-card .learn-more svg {
  transition: transform 0.3s ease;
}

.service-card:hover .learn-more svg {
  transform: translateX(4px);
}

/* --- Impact Stories --- */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.story-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(197, 165, 90, 0.3);
}

.story-card-image {
  height: 200px;
  overflow: hidden;
}

.story-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.story-card-body {
  padding: 24px;
}

.story-card-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.story-card-body h5 {
  margin-bottom: 8px;
}

.story-card-body p {
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.story-card-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.story-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--body-text);
}

.story-card-features li svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* --- Process Steps --- */
.process-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.step-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(197, 165, 90, 0.3);
}

.step-number {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 12px;
}

.step-card h5 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.8rem;
}

/* --- Testimonial --- */
.testimonial-card {
  background: var(--testimonial-bg);
  border-radius: var(--border-radius);
  padding: 32px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 24px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--body-text);
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--section-padding);
  text-align: center;
}

.cta-section .cta-box {
  background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%);
  border-radius: 24px;
  padding: 60px 48px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid rgba(197, 165, 90, 0.15);
}

.cta-section .cta-box h2 {
  color: var(--white);
  text-align: left;
  margin-bottom: 8px;
}

.cta-section .cta-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  text-align: left;
}

.cta-section .cta-box .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Dienstleistungen Page --- */
.service-detail {
  padding: var(--section-padding);
}

.service-detail .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-detail.reverse .container {
  direction: rtl;
}

.service-detail.reverse .container > * {
  direction: ltr;
}

.service-detail-image img {
  border-radius: var(--border-radius);
  width: 100%;
  height: 350px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-detail-content .overline {
  margin-bottom: 8px;
}

.service-detail-content h2 {
  margin-bottom: 16px;
}

.service-detail-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-sub-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-sub-card {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 20px;
}

.service-sub-card h6 {
  margin-bottom: 6px;
  font-weight: 700;
}

.service-sub-card p {
  font-size: 0.8rem;
  margin: 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.5;
}

.feature-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}

/* --- Über uns Page --- */
.about-story {
  padding: var(--section-padding);
}

.about-story .container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.about-story-content h2 {
  margin-bottom: 20px;
}

.about-story-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-story-content .quote {
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  font-style: italic;
}

.principles-card {
  position: sticky;
  top: 100px;
}

.principles-card h5 {
  margin-bottom: 16px;
}

.principles-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.875rem;
  color: var(--body-text);
  border-bottom: 1px solid var(--light-bg);
}

.principles-card li:last-child {
  border-bottom: none;
}

.principles-card li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

/* --- Timeline --- */
.timeline-section {
  padding: var(--section-padding);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.timeline-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(197, 165, 90, 0.3);
}

.timeline-year {
  display: inline-block;
  background: var(--primary);
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 16px;
}

.timeline-card h5 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.timeline-card p {
  font-size: 0.8rem;
}

/* --- Impact Stats --- */
.impact-section {
  padding: var(--section-padding);
}

.impact-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.impact-stat-card {
  background: #FAF8F2;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(197, 165, 90, 0.1);
}

.impact-stat-card h5 {
  color: var(--primary);
  margin-bottom: 4px;
}

.impact-stat-card p {
  font-size: 0.8rem;
  margin: 0;
}

/* --- Kontakt Page --- */
.contact-section {
  padding: 140px 0 60px;
  background: #F5F3EE;
}

.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-items {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-item h6 {
  margin-bottom: 2px;
}

.contact-info-item p {
  font-size: 0.875rem;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow-sm);
  padding: 36px;
}

.contact-form-card h5 {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.15);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--primary);
}

.checkbox-group label {
  font-size: 0.8rem;
  color: var(--body-text);
  line-height: 1.4;
}

/* --- Map Section --- */
.map-section {
  padding: var(--section-padding);
}

.map-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.map-section h2 {
  margin-bottom: 16px;
}

.map-section p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.map-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--body-text);
}

.map-features li svg {
  color: var(--primary);
}

.map-embed {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* --- FAQ Section --- */
.faq-section {
  padding: var(--section-padding);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(197, 165, 90, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
}

.faq-answer-inner p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Legal Pages --- */
.legal-content {
  padding: var(--section-padding);
}

.legal-content.bg-light + .legal-content:not(.bg-light),
.legal-content:not(.bg-light) + .legal-content.bg-light {
  padding-top: 60px;
}

.legal-content h2 {
  margin-bottom: 16px;
}

.legal-content h3 {
  margin-bottom: 12px;
  margin-top: 24px;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 12px 0;
  padding-left: 0;
}

.legal-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.5;
}

.legal-content ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.legal-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* --- Footer --- */
.footer {
  background: var(--footer-bg);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo {
  height: 36px;
  width: auto;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.875rem;
}

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

.footer-contact li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact li a:hover {
  color: var(--white);
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.875rem;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.footer-newsletter-form button {
  padding: 10px 20px;
  background: var(--primary);
  color: var(--dark);
  border: none;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-newsletter-form button:hover {
  background: var(--primary-dark);
}

.footer-newsletter-note {
  font-size: 0.75rem !important;
  margin-top: 8px;
}

.footer-newsletter-note a {
  color: var(--primary);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s ease;
}

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

/* --- Success Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-overlay.show .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--light);
}

.modal-icon {
  margin-bottom: 16px;
}

.modal-icon svg {
  width: 56px;
  height: 56px;
}

.modal h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.modal p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal .btn {
  min-width: 160px;
}

#successModalCta {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#successModalCta:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 500px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  padding: 28px;
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cookie-banner-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.cookie-banner h6 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.cookie-banner p {
  margin-bottom: 20px;
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
}

.cookie-banner-buttons .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.8rem;
}

/* --- Success Message --- */
.success-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Section Header --- */
.section-header {
  max-width: 650px;
  margin-bottom: 16px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.two-col-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 24px;
}

/* --- Leistungen Checklist --- */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--body-text);
}

.check-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

/* --- Job Listings (Karriere) --- */
.job-listings {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.job-card {
  padding: 32px;
  border-radius: var(--border-radius);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.job-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--body-text);
  background: var(--light-bg);
  padding: 6px 12px;
  border-radius: var(--border-radius-pill);
}

.job-tag svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.job-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

.job-details-grid h6 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.job-details-grid .check-list li {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--light-bg);
}

.job-card-footer .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- Homeoffice Karriere Page --- */
.homeoffice-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.homeoffice-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.homeoffice-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.homeoffice-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.homeoffice-block > p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.homeoffice-sidebar {
  position: sticky;
  top: 90px;
}

.application-form-card {
  padding: 32px;
}

.application-form-card h4 {
  font-size: 1.2rem;
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #25D366;
  font-weight: 500;
}

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

/* Salary Grid */
.salary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.salary-card {
  background: #FAF8F2;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.salary-card.highlight {
  border-color: var(--primary);
  background: var(--primary-light);
}

.salary-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

.salary-hours {
  font-size: 0.8rem;
  color: var(--body-text);
}

.salary-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-top: 4px;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.benefit-item p {
  font-size: 0.8rem;
  margin: 0;
}

/* Steps Simple */
.steps-simple {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.step-simple {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-simple-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
}

.step-simple strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.step-simple p {
  font-size: 0.85rem;
  margin: 0;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .navbar-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-image {
    display: none;
  }

  .page-hero .container {
    grid-template-columns: 1fr;
  }

  .page-hero .card {
    position: static;
  }

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

  .service-detail.reverse .container {
    direction: ltr;
  }

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

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

  .about-story .container {
    grid-template-columns: 1fr;
  }

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

  .map-section .container {
    grid-template-columns: 1fr;
  }

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

  .impact-section .container {
    grid-template-columns: 1fr;
  }

  .cta-section .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .cta-section .cta-box h2,
  .cta-section .cta-box p {
    text-align: center;
  }

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

  .legal-two-col {
    grid-template-columns: 1fr;
  }

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

  .homeoffice-sidebar {
    position: static;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }

  .section {
    padding: 48px 0;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .hero-stat .stat-number {
    font-size: 1.5rem;
  }

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

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

  .job-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .job-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .job-card {
    padding: 20px;
  }

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

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

  .impact-stats {
    grid-template-columns: 1fr;
  }

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

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

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-hero {
    padding: 120px 0 40px;
  }

  .contact-section {
    padding: 120px 0 40px;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .stat-badges {
    justify-content: center;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cta-section .cta-box {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .hero-stat {
    padding: 12px 8px;
  }

  .hero-stat .stat-number {
    font-size: 1.25rem;
  }

  .hero-stat .stat-label {
    font-size: 0.65rem;
  }

  .two-col-header {
    flex-direction: column;
  }

  .cta-section .cta-box {
    padding: 32px 20px;
  }
}

/* WhatsApp Chat Widget */
.wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.whatsapp-bubble {
  width: 60px;
  height: 60px;
  background: #25D366;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-bubble svg { flex-shrink: 0; }
.whatsapp-bubble .wa-icon-close { display: none; }
.whatsapp-bubble.active .wa-icon-chat { display: none; }
.whatsapp-bubble.active .wa-icon-close { display: block; }

.wa-popup {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wa-popup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-popup-header {
  background: #25D366;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.wa-popup-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
}

.wa-popup-body {
  padding: 20px 16px;
  background: #e5ddd5;
}

.wa-msg {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 12px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.wa-msg strong {
  display: block;
  color: #25D366;
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.wa-msg p { margin: 0; color: #333; }

.wa-msg-time {
  display: block;
  text-align: right;
  font-size: 0.72rem;
  color: #999;
  margin-top: 6px;
}

.wa-popup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.wa-popup-cta:hover { background: #1fb855; }

@media (max-width: 768px) {
  .wa-widget { bottom: 16px; right: 16px; }
  .whatsapp-bubble { width: 54px; height: 54px; }
  .whatsapp-bubble svg.wa-icon-chat { width: 24px; height: 24px; }
  .wa-popup { width: 300px; bottom: 66px; }
}

/* --- Partner Logo Carousel --- */
.partner-bar {
  padding: 36px 0 28px;
  background: var(--white);
  border-bottom: 1px solid rgba(197, 165, 90, 0.1);
  overflow: hidden;
}

.partner-bar-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(33,37,41,0.4);
  margin-bottom: 24px;
}

.partner-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.partner-carousel-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: partnerScroll 35s linear infinite;
}

.partner-carousel-track:hover {
  animation-play-state: paused;
}

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

.partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}

.partner-logo img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.4);
  transition: filter 0.3s ease;
}

.partner-logo img:hover {
  filter: grayscale(0%) opacity(1);
}

@media (max-width: 768px) {
  .partner-bar { padding: 28px 0 20px; }
  .partner-carousel-track { gap: 40px; }
  .partner-logo img { height: 24px; max-width: 110px; }
}
