/* ==========================================================================
   change:next GmbH - Executive Coaching, Business Mediation & Teamentwicklung
   Redesign Prototype Styles - Swiss Teal & Slate Edition
   ========================================================================== */

:root {
  /* Color Palette - Swiss Executive Deep Teal & Slate Blue */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-muted: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --brand-navy: #0f172a;
  --brand-navy-light: #1e293b;
  
  /* Primary Accent: Deep Swiss Teal / Ocean Blue */
  --accent-teal: #0284c7;
  --accent-teal-hover: #0369a1;
  --accent-teal-light: #e0f2fe;
  
  /* Secondary Accent: Emerald Teal */
  --accent-emerald: #0d9488;
  --accent-emerald-light: #ccfbf1;
  
  --border-color: #e2e8f0;
  --border-focus: #0284c7;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(16px);
  
  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-primary: #090d16;
  --bg-surface: #131b2a;
  --bg-surface-elevated: #1e293b;
  --bg-muted: #1e293b;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-color: #334155;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
  
  --glass-bg: rgba(19, 27, 42, 0.95);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body.mobile-nav-open {
  overflow: hidden !important;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--accent-teal-light);
  color: var(--accent-teal);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

[data-theme="dark"] .section-tag {
  background: rgba(2, 132, 199, 0.15);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 1.25rem 0;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
}

.logo div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo span:first-child {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.header.header-transparent:not(.scrolled) .logo {
  color: #ffffff;
}

/* Logo Image Styling */
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--bg-surface);
  padding: 3px;
  box-shadow: var(--shadow-sm);
}

.logo-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
}

.header.header-transparent:not(.scrolled) .logo-sub {
  color: rgba(255, 255, 255, 0.7);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.header.header-transparent:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-teal);
}

.header.header-transparent:not(.scrolled) .nav-link:hover {
  color: #38bdf8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher Pill */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 3px;
  font-size: 0.825rem;
  font-weight: 700;
}
.header.header-transparent:not(.scrolled) .lang-switcher {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}
.lang-btn {
  padding: 3px 9px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.header.header-transparent:not(.scrolled) .lang-btn {
  color: rgba(255, 255, 255, 0.85);
}
.lang-btn.active {
  background: var(--accent-teal);
  color: #ffffff !important;
}

.theme-toggle {
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.header.header-transparent:not(.scrolled) .theme-toggle {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* FULL-WIDTH HERO SECTION WITH PARALLAX BACKGROUND */
.hero-fullwidth {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.88) 100%), url('assets/Basel_Skyline.jpeg');
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
  will-change: background-position;
}

.hero-fullwidth-content {
  max-width: 920px;
  text-align: center;
  margin: 0 auto;
}

.hero-fullwidth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(2, 132, 199, 0.4);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: #38bdf8;
  margin-bottom: 1.75rem;
}

.hero-fullwidth-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-fullwidth h1 {
  color: #ffffff;
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-fullwidth p.hero-location {
  font-size: 1.35rem;
  color: #e2e8f0;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-fullwidth p.hero-intro {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.hero-fullwidth-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Value Proposition / Ansatz Section */
.ansatz-section {
  padding: 6rem 0;
}

.ansatz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ansatz-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.ansatz-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-teal);
}

.ansatz-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-teal);
  margin-bottom: 1rem;
  line-height: 1;
}

.ansatz-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.ansatz-card p {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* 4 LEISTUNGSSÄULEN WITH FULL-WIDTH HEADER IMAGES */
.saeulen-section {
  padding: 6rem 0;
  background: var(--bg-muted);
}

.saeulen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.saeulen-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.saeulen-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-teal);
}

.saeulen-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.5s ease;
}

.saeulen-card:hover .saeulen-card-img {
  transform: scale(1.03);
}

.saeulen-card-body {
  padding: 2rem 2.25rem 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.saeulen-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.saeulen-tagline {
  font-weight: 600;
  color: var(--accent-teal);
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.saeulen-card p {
  color: var(--text-secondary);
  font-size: 0.975rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.saeulen-topics {
  background: var(--bg-muted);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Signature Program Section */
.signature-section {
  padding: 6rem 0;
}

.signature-card {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.signature-image-container {
  height: 100%;
  min-height: 350px;
  display: flex;
}

.signature-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.signature-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(2, 132, 199, 0.25);
  color: #38bdf8;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.signature-content h2 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.signature-subtitle {
  color: #38bdf8;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.signature-content p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.signature-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.signature-meta div {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.signature-meta strong {
  color: #38bdf8;
}

.signature-side-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
}

/* Pro-Bono Section */
.probono-section {
  padding: 6rem 0;
  background: var(--bg-muted);
}

.probono-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.probono-info h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.probono-info p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.probono-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Methodik & Expertise */
.methodik-section {
  padding: 6rem 0;
}

.founder-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.founder-slider-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.founder-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.founder-image-wrapper.portrait-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
}

.portrait-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.portrait-slide.active {
  opacity: 1;
  z-index: 1;
}

.portrait-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.portrait-btn {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.portrait-btn:hover {
  background: var(--accent-teal);
  color: white;
  border-color: var(--accent-teal);
}

.portrait-dots {
  display: flex;
  gap: 0.5rem;
}

.p-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: background 0.3s;
}

.p-dot.active, .p-dot:hover {
  background: var(--accent-teal);
}

.founder-info h3 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.founder-title {
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.founder-info p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.founder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.badge-item {
  padding: 0.35rem 0.85rem;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* INTERACTIVE TESTIMONIALS SLIDER */
.testimonials-slider-section {
  padding: 6rem 0;
  background: var(--bg-muted);
}

.slider-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.slider-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-xl);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.4s ease;
}

.quote-icon-large {
  font-size: 2.5rem;
  color: var(--accent-teal);
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

.slider-quote-text {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.slider-author-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

/* Supports both <img> portrait photos and <div> initial badges */
.slider-author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-teal-light);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid var(--accent-teal-light);
  box-shadow: var(--shadow-sm);
}

.slider-author-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.slider-author-role {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.slider-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background: var(--accent-teal);
  color: #ffffff;
  border-color: var(--accent-teal);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  background: var(--accent-teal);
  width: 24px;
  border-radius: var(--radius-full);
}

.slider-counter {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* CLIENT LOGOS SECTION - FULL COLOR BY DEFAULT */
.client-logos-section {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.client-logos-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.client-logos-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.client-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.client-logo-item {
  flex: 0 1 calc(20% - 1.5rem);
  min-width: 200px;
  max-width: 240px;
  height: 110px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.client-logo-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
}

.client-logo-item:hover svg,
.client-logo-item:hover img {
  transform: scale(1.15);
}

/* Support both inline SVG and standard <img> tags seamlessly */
.client-logo-item svg,
.client-logo-item img {
  max-width: 100%;
  max-height: 65px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

/* NETWORK / KOLLABORATIVE EXZELLENZ SECTION */
.network-section {
  padding: 6rem 0;
  background: var(--bg-muted);
}

.network-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-card {
  flex: 0 1 calc(50% - 1.25rem);
  min-width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.75rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-teal);
}

.partner-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--accent-teal-light);
}

.partner-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.partner-role {
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

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

/* Form Controls & Contact */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

.contact-final-section {
  padding: 6rem 0;
}

.contact-final-box {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.contact-final-box h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-final-box p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

.contact-details-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  font-size: 1rem;
  color: #e2e8f0;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-detail-item i {
  color: #38bdf8;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--brand-navy);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  background: #090d16;
  color: #94a3b8;
  padding: 3rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  text-align: center;
}

/* Responsive Breakdown */
@media (max-width: 1024px) {
  .ansatz-grid, .saeulen-grid {
    grid-template-columns: 1fr;
  }
  
  .partner-card {
    flex: 0 1 100%;
  }
  
  .client-logo-item {
    flex: 0 1 calc(33.33% - 1.5rem);
  }
  
  .signature-card, .probono-container, .founder-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-fullwidth h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* High-Contrast Standalone Mobile Menu Overlay */
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.97) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.25rem;
    padding: 2rem;
    z-index: 9999;
  }
  
  .nav-menu.mobile-active {
    display: flex;
    animation: fadeIn 0.25s ease forwards;
  }

  .nav-menu.mobile-active .nav-link {
    color: #ffffff !important;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .nav-menu.mobile-active .nav-link:hover,
  .nav-menu.mobile-active .nav-link.active {
    color: #38bdf8 !important;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--bg-muted);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    position: relative;
    z-index: 10000;
  }
  
  .header-transparent:not(.scrolled) .mobile-menu-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
  }

  body.mobile-nav-open .mobile-menu-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
  }
  
  .hero-fullwidth {
    padding-top: 7rem;
  }
  
  .client-logo-item {
    flex: 0 1 calc(50% - 1rem);
    min-width: 150px;
    height: 95px;
  }
  
  .partner-card {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-details-grid {
    flex-direction: column;
    gap: 1rem;
  }
  
  .slider-card-box {
    padding: 2.5rem 1.5rem;
  }
  
  .header-actions .btn-primary {
    display: none;
  }
  
  .contact-final-box {
    padding: 2rem;
  }
  
  .contact-form-box {
    padding: 1.5rem;
  }
  
  .probono-container {
    padding: 1.5rem;
  }
}

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

/* --- PREMIUM SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Add a subtle scale effect to cards on hover for extra premium feel */
.saeulen-card, .signature-card, .partner-card, .contact-final-box {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.saeulen-card:hover, .signature-card:hover, .partner-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Subtle image scale on hover */
.saeulen-card:hover .saeulen-card-img {
  transform: scale(1.03);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.saeulen-card-img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- CONTACT SECTION UPGRADE --- */
.contact-2col-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: stretch;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-form-box {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(56, 189, 248, 0.1);
  transition: all 0.3s ease;
}

.contact-form-box:hover {
  border-color: var(--accent-teal);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(56, 189, 248, 0.15);
}

.contact-icon-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.contact-main-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-icon-header h3 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0;
}

/* High-Contrast Contact Card & Details */
.contact-details-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-detail-val {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-detail-val a {
  color: var(--accent-teal);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.contact-detail-val a:hover {
  color: #38bdf8;
}

.contact-img-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.contact-left-img {
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  top: -20%;
  left: 0;
  will-change: transform;
  transition: transform 0.1s cubic-bezier(0, 0, 0.2, 1);
}

@media (max-width: 992px) {
  .contact-2col-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

