/* ============================================
   KLINOVUM LANDING PAGE
   Matching freiburger-akademie.de design system
   ============================================ */

:root {
  --primary: #195996;
  --primary-light: #268ced;
  --gradient: linear-gradient(135deg, #268ced, #195996);
  --bg-light: #f4f7fa;
  --bg-badge: #dce7f1;
  --white: #ffffff;
  --black: #1d1d1b;
  --grey: #666;
  --grey-light: #999;
  --border: rgba(0, 92, 161, 0.15);

  --font: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  --page-padding: 3.5rem;
  --container: 80rem;
  --radius: 0.125rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* LAYOUT */
.page-padding { padding-left: var(--page-padding); padding-right: var(--page-padding); }
.container { max-width: var(--container); margin: 0 auto; }

/* TYPOGRAPHY — hierarchy via size, not weight (matching FRAK) */
h1 {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
}

h3 {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

h4 {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

p { font-size: 1.1rem; line-height: 1.5; }

/* BADGE (matching FRAK) */
.badge {
  display: inline-block;
  background: var(--bg-badge);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.badge-blue {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* BUTTONS (matching FRAK) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

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

.btn-primary:hover { opacity: 0.8; }

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

.btn-secondary:hover { opacity: 0.75; }

.btn-secondary.is-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-secondary.is-white:hover {
  background: rgba(255,255,255,0.1);
}

.btn-nav {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

/* REVEAL ANIMATION */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children */
.approach-card:nth-child(2) { transition-delay: 0.1s; }
.approach-card:nth-child(3) { transition-delay: 0.2s; }
.usp-card:nth-child(2) { transition-delay: 0.1s; }
.usp-card:nth-child(3) { transition-delay: 0.2s; }
.number-card:nth-child(2) { transition-delay: 0.1s; }
.number-card:nth-child(3) { transition-delay: 0.2s; }
.number-card:nth-child(4) { transition-delay: 0.3s; }
.problem-item:nth-child(2) { transition-delay: 0.08s; }
.problem-item:nth-child(3) { transition-delay: 0.16s; }
.problem-item:nth-child(4) { transition-delay: 0.24s; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

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

.logo { height: 80px; width: auto; }
.logo-dark { display: none; }

.site-header {
  background: rgba(25, 89, 150, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  padding: 0.75rem 0;
}

.site-header.scrolled .logo-light { display: none; }
.site-header.scrolled .logo-dark { display: block; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0a2e52 0%, #195996 50%, #268ced 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-gradient {
  position: absolute;
  top: -20%;
  right: -15%;
  width: 80%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(38, 140, 237, 0.2) 0%, transparent 65%);
}

.hero .page-padding {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 10rem 0 5rem;
  min-height: 100vh;
}

/* LEFT SIDE — Copy */
.hero-left {}

.hero-qualifier {
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: rgba(255,255,255,0.85);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.h1-accent {
  color: var(--white);
  position: relative;
  background: linear-gradient(transparent 60%, rgba(38, 140, 237, 0.3) 60%);
  padding: 0 0.15em;
  margin: 0 -0.15em;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.hero-cta-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  padding-left: 0.25rem;
}

/* Social proof bullets */
.hero-proof {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-proof-item svg {
  flex-shrink: 0;
}

.hero-proof-item span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  line-height: 1.4;
}

/* RIGHT SIDE — Image stack */
.hero-right {
  position: relative;
}

.hero-image-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.2;
}

.hero-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  height: 70%;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255,255,255,0.15);
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 50%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  z-index: 2;
}

.hero-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stat-card {
  position: absolute;
  bottom: 12%;
  right: 0;
  background: var(--gradient);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(25, 89, 150, 0.3);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-top: 0.2rem;
}

/* HERO RESPONSIVE */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    padding: 7rem 0 2.5rem;
    min-height: auto;
    gap: 0;
  }

  .hero-right { display: none !important; }
  .hero-proof { display: none; }

  .hero h1 { font-size: 2rem; line-height: 1.15; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.5rem; }

  .h1-accent {
    background: none;
    padding: 0;
    margin: 0;
    color: var(--white);
    font-weight: 600;
  }

  .btn-nav { font-size: 0.78rem; padding: 0.5rem 1rem; }
}

@media (max-width: 600px) {
  .hero-layout { padding: 5.5rem 0 2rem; }
  .hero h1 { font-size: 1.5rem; line-height: 1.2; }
  .hero-sub { font-size: 0.88rem; line-height: 1.5; margin-bottom: 1.25rem; }
  .hero-cta-note { font-size: 0.72rem; }
  .hero-actions .btn { font-size: 0.85rem; padding: 0.85rem 1.25rem; }
  .hero-qualifier .badge { font-size: 0.65rem; }
}

/* ============================================
   CLIENT LOGOS
   ============================================ */
.logos {
  padding: 3rem 0;
  background: var(--bg-light);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}

.logos-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-light);
  text-align: center;
  margin-bottom: 2rem;
}

.logos-track {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-slide {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: logoScroll 30s linear infinite;
  width: max-content;
}

.logos-slide:hover {
  animation-play-state: paused;
}

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

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.4) contrast(1.2);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

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

.logo-item-text {
  height: auto;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  background: var(--white);
}

.logo-item-text span {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  opacity: 0.45;
  line-height: 1.3;
  white-space: nowrap;
  text-align: center;
  transition: opacity 0.3s ease;
}

.logo-item-text:hover span {
  opacity: 0.85;
}

/* ============================================
   PROBLEM
   ============================================ */
.problem {
  padding: 7rem 0;
  background: var(--white);
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}

.problem h2 { color: var(--black); }

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.problem-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.problem-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-item p {
  font-size: 1.05rem;
  color: var(--grey);
  line-height: 1.55;
}

.problem-right {
  position: relative;
}

.problem-image-wrapper {
  position: relative;
  overflow: hidden;
}

.problem-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 50%;
  height: 50%;
  background: var(--bg-light);
  z-index: -1;
}

.problem-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.problem-quote-section {
  text-align: center;
  padding: 4rem 0 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.problem-quote {
  font-family: var(--font);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.35;
  color: var(--primary);
  max-width: 700px;
  margin: 0 auto 2rem;
  position: relative;
}

.quote-mark {
  color: var(--primary-light);
  opacity: 0.3;
  font-size: 1.2em;
}

.problem-closing {
  font-size: 1.15rem;
  color: var(--grey);
  font-weight: 600;
}

/* ============================================
   SOLUTION
   ============================================ */
.solution {
  padding: 7rem 0 6rem;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.solution-bg-shape {
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(38, 140, 237, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.solution-header {
  text-align: center;
  margin-bottom: 4rem;
}

.solution h2 { color: var(--white); }

.solution-intro {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}

.approach-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.approach-card-top {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.approach-number {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  letter-spacing: 0.05em;
}

.approach-card-body {
  padding: 2rem;
}

.approach-card-body h3 {
  color: var(--primary);
  font-size: 1.35rem;
}

.approach-card-body p {
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

.differentiator {
  position: relative;
}

.diff-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 2.5rem 3rem;
  border-radius: var(--radius);
}

.diff-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.differentiator p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
  font-weight: 400;
}

/* ============================================
   NUMBERS
   ============================================ */
.numbers {
  padding: 5rem 0;
  background: var(--bg-light);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.number-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  position: relative;
}

.number-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--gradient);
}

.number-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.number-plus {
  font-size: 2rem;
  font-weight: 300;
  color: var(--primary-light);
}

.number-label {
  display: block;
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================
   CASES
   ============================================ */
.cases {
  padding: 7rem 0;
  background: var(--white);
}

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

.cases-header h2 { color: var(--black); }

.case-card {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 0;
  margin-bottom: 2rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.case-card:hover {
  box-shadow: 0 8px 32px rgba(25, 89, 150, 0.1);
}

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

.case-card-image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

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

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

.case-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
}

.case-card-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-card-content h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.case-subtitle {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 2rem;
}

.case-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.case-detail p,
.case-detail li {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
}

.case-detail ul {
  padding: 0;
}

.case-detail li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
}

.case-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* ============================================
   TESTIMONIAL + MID-CTA
   ============================================ */
.testimonial {
  padding: 5rem 0;
  background: var(--bg-light);
}

.testimonial-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 4rem;
  align-items: center;
}

.testimonial-quote {
  position: relative;
  padding: 2.5rem 3rem;
  background: var(--white);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
}

.testimonial-mark {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
}

.testimonial-quote blockquote {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--black);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}

.testimonial-note {
  display: block;
  font-size: 0.8rem;
  color: var(--grey-light);
}

.testimonial-cta {
  text-align: center;
}

.testimonial-cta h3 {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.testimonial-cta p {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
  padding: 6rem 0;
  background: var(--white);
}

.video-layout {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 4rem;
  align-items: center;
}

.video-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.video-text p {
  color: var(--grey);
  font-size: 1.05rem;
  line-height: 1.6;
}

.video-placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-placeholder:hover img {
  transform: scale(1.03);
}

.video-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  transition: background 0.3s ease;
}

.video-placeholder:hover::after {
  background: rgba(0,0,0,0.2);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 72px;
  height: 72px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(25, 89, 150, 0.4);
  transition: transform 0.3s ease;
}

.video-placeholder:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-note {
  font-size: 0.75rem;
  color: var(--grey-light);
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 6rem 0;
  background: var(--bg-light);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 4rem;
  align-items: start;
}

.faq-intro {
  color: var(--grey);
  font-size: 1.05rem;
  line-height: 1.6;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.faq-item:first-child {
  border-top: 1px solid rgba(0,0,0,0.07);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  line-height: 1.4;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

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

.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.65;
}

/* ============================================
   PROCESS STEPS (above contact form)
   ============================================ */
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.process-step-num {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.process-step p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  max-width: 140px;
}

.process-arrow {
  flex-shrink: 0;
  margin-bottom: 1.5rem;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  border-top: 1px solid rgba(0,0,0,0.06);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

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

.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.5;
  max-width: 640px;
}

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

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-accept {
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.cookie-decline {
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--grey-light);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 0.5rem 0;
}

.cookie-decline:hover {
  color: var(--black);
}

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem var(--page-padding);
  }

  .cookie-text { font-size: 0.78rem; }

  .cookie-actions {
    width: 100%;
    justify-content: space-between;
  }

  .cookie-accept { flex: 1; justify-content: center; }
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: none;
}

.sticky-cta.show {
  transform: translateY(0);
}

.btn-sticky {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
}

@media (max-width: 768px) {
  .sticky-cta { display: block; }
}

/* ============================================
   RESPONSIVE additions
   ============================================ */
@media (max-width: 1024px) {
  .testimonial-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .testimonial-cta { text-align: left; }
  .video-layout { grid-template-columns: 1fr; gap: 2rem; }
  .faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .process-steps { flex-wrap: wrap; gap: 0.75rem; }
  .process-arrow { display: none; }
}

@media (max-width: 600px) {
  .testimonial-quote { padding: 1.5rem; }
  .testimonial-quote blockquote { font-size: 1.05rem; }
  .process-steps { gap: 1rem; }
  .process-step p { font-size: 0.7rem; }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 7rem 0;
  background: var(--bg-light);
}

.about h2 { color: var(--black); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.about-lead {
  font-size: 1.25rem;
  color: var(--black);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.about-body {
  font-size: 1.05rem;
  color: var(--grey);
  line-height: 1.6;
}

.about-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-img-wrapper {
  overflow: hidden;
}

.about-img-1 { grid-row: 1 / 3; }

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  transition: transform 0.5s ease;
}

.about-img-wrapper:hover .about-img {
  transform: scale(1.04);
}

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

.usp-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  transition: box-shadow 0.3s ease;
}

.usp-card:hover {
  box-shadow: 0 4px 20px rgba(25, 89, 150, 0.08);
}

.usp-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-badge);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.usp-card p {
  font-size: 1rem;
  color: var(--black);
  font-weight: 500;
  line-height: 1.55;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 7rem 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.contact-bg-box {
  position: absolute;
  width: 120%;
  height: 260px;
  left: -10%;
  border-radius: 4px;
}

.contact-bg-box-1 {
  top: -60px;
  background: var(--gradient);
  opacity: 0.15;
  transform: rotate(-3deg);
}

.contact-bg-box-2 {
  bottom: -80px;
  background: rgba(38, 140, 237, 0.1);
  transform: rotate(2deg);
}

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

.contact h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.contact-portrait {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.portrait-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}

.portrait-name {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

.portrait-role {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

.contact-alt-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.35rem;
}

.phone-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.phone-link:hover { opacity: 0.7; }

/* FORM */
.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.4rem;
}

.form-group .optional {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  background: rgba(255,255,255,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 1.1rem 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--black);
  margin-bottom: 1rem;
}

.footer-col a {
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  padding-top: 1.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--grey-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --page-padding: 2rem; }

  .problem-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .problem-right { order: -1; }
  .problem-image { height: 280px; }
  .problem-image-wrapper::after { display: none; }

  .approach-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .approach-card-top { height: 160px; }

  .case-card { grid-template-columns: 1fr; }
  .case-card-image { min-height: 220px; }
  .case-card-content { padding: 2rem; }

  .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .usps-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }

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

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

  .video-layout { grid-template-columns: 1fr; gap: 2rem; }
  .faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .testimonial-layout { grid-template-columns: 1fr; gap: 2rem; }
  .testimonial-cta { text-align: left; }

  .process-steps { flex-wrap: wrap; }
  .process-arrow { display: none; }
  .process-steps { justify-content: space-between; }

  /* Logos smaller on tablet */
  .logos { padding: 2rem 0; }
  .logos-label { font-size: 0.65rem; margin-bottom: 1rem; }
  .logos-slide { gap: 2.5rem; }
  .logo-item img { height: 28px; max-width: 120px; }
  .logo-item-text { padding: 0.3rem 0.75rem; }
  .logo-item-text span { font-size: 0.7rem; }
}

@media (max-width: 768px) {
  .approach-grid { grid-template-columns: 1fr; }
  .usps-grid { grid-template-columns: 1fr; }
  .trust-row { flex-wrap: wrap; gap: 1.5rem; }
  .about-image-grid { grid-template-columns: 1fr 1fr; }
  .about-img-1 { grid-row: auto; }
  .about-img { min-height: 180px; }
  .contact-portrait { margin-bottom: 2rem; }
}

@media (max-width: 600px) {
  :root { --page-padding: 1.25rem; }

  body { font-size: 15px; }

  .logo { height: 52px; }
  .footer-logo { height: 48px; }

  /* Header */
  .site-header { padding: 0.75rem 0; }
  .btn-nav { padding: 0.5rem 1rem; font-size: 0.8rem; }

  /* Hero — sizes handled in 768/480 breakpoints above */
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Logos */
  .logos { padding: 2rem 0; }
  .logos-label { font-size: 0.65rem; margin-bottom: 1.25rem; }
  .logos-slide { gap: 2.5rem; }
  .logo-item-text { padding: 0.4rem 1rem; }
  .logo-item-text span { font-size: 0.75rem; }

  /* Problem */
  .problem { padding: 4rem 0; }
  .problem-layout { margin-bottom: 3rem; }
  .problem-image { height: 220px; }
  .problem-item p { font-size: 0.95rem; }
  .problem-quote { font-size: 1.3rem; padding: 2rem 0; }
  .problem-closing { font-size: 1rem; }
  .problem-closing br { display: none; }

  /* Solution */
  .solution { padding: 4rem 0 3.5rem; }
  .solution-header { margin-bottom: 2.5rem; }
  .solution-intro { font-size: 1rem; }
  .approach-grid { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.5rem; }
  .approach-card-top { height: 160px; }
  .approach-card-body { padding: 1.5rem; }
  .approach-card-body h3 { font-size: 1.2rem; }
  .approach-card-body p { font-size: 0.9rem; }
  .diff-inner { flex-direction: column; text-align: center; padding: 1.5rem; gap: 1rem; }
  .differentiator p { font-size: 1rem; }

  /* Numbers */
  .numbers { padding: 3rem 0; }
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .number-card { padding: 1rem 0.5rem; }
  .number-value { font-size: 1.6rem; }
  .number-label { font-size: 0.6rem; word-break: break-word; hyphens: auto; }

  /* Cases */
  .cases { padding: 4rem 0; }
  .case-card { margin-bottom: 1.5rem; }
  .case-card-image { min-height: 200px; }
  .case-card-content { padding: 1.5rem; }
  .case-card-content h3 { font-size: 1.25rem; }
  .case-subtitle { font-size: 0.85rem; margin-bottom: 1.25rem; }
  .case-details { grid-template-columns: 1fr; gap: 1.25rem; }
  .case-detail p, .case-detail li { font-size: 0.85rem; }

  /* Testimonial */
  .testimonial { padding: 3.5rem 0; }
  .testimonial-quote { padding: 1.5rem; }
  .testimonial-quote blockquote { font-size: 1rem; }
  .testimonial-mark { width: 32px; height: 24px; top: 1rem; right: 1rem; }
  .testimonial-cta h3 { font-size: 1.3rem; }

  /* Video */
  .video-section { padding: 4rem 0; }
  .video-text h2 { font-size: 1.5rem; }
  .video-play-btn { width: 56px; height: 56px; }

  /* About */
  .about { padding: 4rem 0; }
  .about-lead { font-size: 1.05rem; }
  .about-image-grid { gap: 0.5rem; }
  .about-img { min-height: 140px; }
  .usps-grid { gap: 0.75rem; }
  .usp-card { padding: 1.5rem; }
  .usp-card p { font-size: 0.9rem; }

  /* FAQ */
  .faq { padding: 4rem 0; }
  .faq-question { font-size: 0.95rem; padding: 1rem 0; }
  .faq-answer p { font-size: 0.9rem; }

  /* Process steps */
  .process-steps { gap: 0.5rem; margin-bottom: 2.5rem; padding-bottom: 2rem; }
  .process-step-num { width: 30px; height: 30px; font-size: 0.75rem; }
  .process-step p { font-size: 0.65rem; max-width: 80px; }

  /* Contact */
  .contact { padding: 4rem 0; }
  .contact h2 { font-size: 1.8rem; }
  .contact-sub { font-size: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .contact-form input, .contact-form textarea { font-size: 16px; } /* prevents iOS zoom */
  .phone-link { font-size: 1.25rem; }

  /* Footer */
  .site-footer { padding: 3rem 0 1.5rem; }
  .footer-col p { font-size: 0.8rem; }

  /* Sticky CTA - extra bottom padding for body */
  body { padding-bottom: 70px; }

  /* General section spacing */
  h2 { font-size: 1.6rem; margin-bottom: 1.25rem; }
  p { font-size: 1rem; }
  .badge { font-size: 0.7rem; padding: 0.4rem 0.7rem; }
}
