/* ============================================================
   VESTT – PREMIUM B2B DESIGN SYSTEM
   Apple-level aesthetics × SAP-level enterprise credibility
   For 100k–10M+ project decisions
   ============================================================ */

/* ── DESIGN TOKENS ────────────────────────────────────────── */

* {
  --vestt-navy: #0A1628;
  --vestt-navy-light: #0E1A2E;
  --vestt-navy-mid: #162340;
  --vestt-gold: #C4A44A;
  --vestt-gold-light: #D4BC6E;
  --vestt-gold-dark: #A68B3C;
  --vestt-slate: #3A4255;
  --vestt-slate-light: #6B7280;
  --vestt-bg: #F7F8FA;
  --vestt-white: #FFFFFF;
  --vestt-border: rgba(10, 22, 40, 0.06);

  /* Override template tokens */
  --body-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font-weight: 800;
  --heading-font-color: var(--vestt-navy);
  --body-font-color: var(--vestt-slate);

  --h1-font-size: 72px;
  --h1-font-weight: 800;
  --h1-letter-spacing: -0.04em;
  --h1-line-height: 1.05em;

  --h2-font-size: 52px;
  --h2-font-weight: 800;
  --h2-letter-spacing: -0.035em;
  --h2-line-height: 1.1em;
  --h2-margin-bottom: 24px;

  --h3-font-size: 28px;
  --h3-font-weight: 700;
  --h3-letter-spacing: -0.02em;
  --h3-line-height: 1.3em;

  --h4-font-size: 20px;
  --h4-font-weight: 700;
  --h4-letter-spacing: -0.01em;

  --rounded-1: 12px;
  --bg-light: var(--vestt-bg);
  --bg-dark-1: var(--vestt-navy);
  --bg-dark-2: #060E1A;
  --bg-dark-3: var(--vestt-navy-light);
  --bg-dark-1-rgb: 10, 22, 40;

  --btn-rounded: 60px;
  --btn-padding: 14px 36px;
  --btn-font-weight: 700;
  --btn-font-size: 14px;
  --btn-letter-spacing: 0.04em;
  --btn-text-transform: none;

  --primary-color: var(--vestt-gold);
  --primary-color-rgb: 196, 164, 74;

  --container-max-width: 1200px;
}

/* ── BASE ─────────────────────────────────────────────────── */

html {
  scroll-behavior: smooth;
}

body {
  color: var(--vestt-slate);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.75;
}

::selection {
  background: rgba(196, 164, 74, 0.2);
  color: var(--vestt-navy);
}

/* ── PRELOADER ────────────────────────────────────────────── */

#de-loader {
  background: var(--vestt-navy) !important;
}

/* ── COLOR OVERRIDES ──────────────────────────────────────── */

.bg-color { background: var(--vestt-gold) !important; }
.bg-light { background: var(--vestt-bg) !important; }
.bg-dark, .bg-dark-1 { background: var(--vestt-navy) !important; }
.bg-dark-2 { background: #060E1A !important; }
.id-color { color: var(--vestt-gold) !important; }

/* ── HEADER ───────────────────────────────────────────────── */

#topbar {
  background: rgba(10, 22, 40, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 164, 74, 0.08);
  padding: 8px 0 !important;
}

#topbar .topbar-widget a {
  color: rgba(255,255,255,0.5) !important;
  font-size: 12px !important;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

#topbar .topbar-widget a:hover {
  color: var(--vestt-gold) !important;
}

header.transparent.scrolled,
header.scrolled {
  background: rgba(10, 22, 40, 0.97) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

#mainmenu > li > a {
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
}

/* ── BUTTONS – pill shape, Apple-style ────────────────────── */

.btn-main {
  background: var(--vestt-gold) !important;
  color: var(--vestt-navy) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  padding: 16px 40px !important;
  border-radius: 60px !important;
  border: none !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  box-shadow: none !important;
  position: relative;
  overflow: hidden;
}

.btn-main:hover {
  background: var(--vestt-gold-light) !important;
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(196, 164, 74, 0.3) !important;
}

.btn-main.btn-line {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.25) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-main.btn-line:hover {
  border-color: rgba(255,255,255,0.6) !important;
  background: rgba(255,255,255,0.06) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: scale(1.03);
}

/* Dark-bg button variant */
.btn-main.btn-dark {
  background: var(--vestt-navy) !important;
  color: #fff !important;
}

.btn-main.btn-dark:hover {
  background: var(--vestt-navy-light) !important;
}

/* ── HERO – Cinematic fullscreen ──────────────────────────── */

#section-intro {
  min-height: 100vh !important;
  display: flex;
  align-items: center;
}

#section-intro .relative.z-4 {
  width: 100%;
}

#section-intro h1 {
  font-size: clamp(36px, 6vw, 76px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.02 !important;
  margin-bottom: 28px !important;
}

#section-intro .hero-subtitle {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 400;
}

#section-intro .hero-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.45;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 20px;
  border-radius: 60px;
}

/* Hero overlay – cinematic */
.sw-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.45) 40%,
    rgba(10, 22, 40, 0.55) 70%,
    rgba(10, 22, 40, 0.9) 100%
  ) !important;
  opacity: 1 !important;
}

.gradient-edge-top {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.95) 0%, transparent 100%) !important;
  opacity: 1 !important;
}

/* Hero KPI bar */
.hero-kpi-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 48px;
  margin-top: 80px;
}

.hero-kpi {
  text-align: center;
}

.hero-kpi-number {
  font-family: var(--heading-font);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--vestt-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-kpi-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.45;
  font-weight: 600;
}

/* ── TRUST BAR ────────────────────────────────────────────── */

.trust-bar {
  background: var(--vestt-navy-light);
  border-top: 1px solid rgba(196, 164, 74, 0.06);
  border-bottom: 1px solid rgba(196, 164, 74, 0.06);
  padding: 20px 0;
}

.trust-bar p {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 700;
  margin: 0;
}

.trust-bar .company-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.trust-bar .company-name.active {
  color: var(--vestt-gold);
  font-weight: 800;
}

.trust-bar .divider {
  color: rgba(255,255,255,0.1);
}

/* ── SECTION SYSTEM ───────────────────────────────────────── */

section {
  padding: 120px 0 !important;
  position: relative;
}

section.p-0 { padding: 0 !important; }
section.py-4, section.py-5 { padding: 32px 0 !important; }

/* Statement sections – Apple-style big text */
.section-statement {
  padding: 160px 0 !important;
  text-align: center;
}

.section-statement h2 {
  font-size: clamp(32px, 4.5vw, 56px) !important;
  max-width: 900px;
  margin: 0 auto 24px;
  line-height: 1.1 !important;
}

.section-statement p {
  font-size: clamp(17px, 1.8vw, 20px);
  max-width: 640px;
  margin: 0 auto;
  color: var(--vestt-slate-light);
  line-height: 1.7;
}

/* Dark statement */
.section-statement.section-dark h2,
.section-statement.bg-dark h2 {
  color: #fff;
}

.section-statement.section-dark p,
.section-statement.bg-dark p {
  color: rgba(255,255,255,0.55);
}

/* ── LABEL / SUBTITLE ─────────────────────────────────────── */

.subtitle {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--vestt-gold) !important;
  margin-bottom: 16px !important;
}

/* ── LEAD TEXT ─────────────────────────────────────────────── */

.lead, section .lead {
  font-size: 19px;
  color: var(--vestt-slate-light);
  line-height: 1.75;
}

/* ── LARGE NUMBERS – Apple-style impact ───────────────────── */

.impact-number {
  font-family: var(--heading-font);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--vestt-navy);
}

.impact-number.gold {
  color: var(--vestt-gold);
}

.impact-number.white {
  color: #fff;
}

.impact-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--vestt-slate-light);
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.impact-label.light {
  color: rgba(255,255,255,0.5);
}

/* ── PREMIUM CARDS ────────────────────────────────────────── */

.card-premium {
  background: #fff;
  border: 1px solid var(--vestt-border);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.card-premium:hover {
  border-color: rgba(196, 164, 74, 0.2);
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.08);
  transform: translateY(-4px);
}

.card-premium .card-icon {
  width: 48px;
  height: 48px;
  background: var(--vestt-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
  color: var(--vestt-gold);
}

.card-premium h4 {
  color: var(--vestt-navy);
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 19px;
}

.card-premium p {
  color: var(--vestt-slate-light);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* Dark card variant */
.card-premium.card-dark {
  background: var(--vestt-navy-mid);
  border-color: rgba(255,255,255,0.06);
}

.card-premium.card-dark:hover {
  border-color: rgba(196, 164, 74, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-premium.card-dark h4 { color: #fff; }
.card-premium.card-dark p { color: rgba(255,255,255,0.55); }
.card-premium.card-dark .card-icon {
  background: rgba(196, 164, 74, 0.1);
}

/* ── PROCESS TIMELINE ─────────────────────────────────────── */

.process-step {
  position: relative;
  padding-left: 80px;
  padding-bottom: 48px;
  border-left: 2px solid var(--vestt-border);
  margin-left: 24px;
}

.process-step:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.process-step-number {
  position: absolute;
  left: -21px;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--vestt-gold);
  color: var(--vestt-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--heading-font);
}

.process-step h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--vestt-navy);
  margin-bottom: 8px;
}

.process-step p {
  color: var(--vestt-slate-light);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ── TESTIMONIAL – cinematic ──────────────────────────────── */

.testimonial-cinematic {
  padding: 140px 0;
  background: var(--vestt-navy);
  position: relative;
  overflow: hidden;
}

.testimonial-cinematic::before {
  content: "\201C";
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 200px;
  font-family: Georgia, serif;
  color: rgba(196, 164, 74, 0.06);
  line-height: 1;
}

.testimonial-cinematic blockquote {
  font-family: var(--heading-font);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
}

.testimonial-cinematic .attribution {
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.03em;
}

.testimonial-cinematic .attribution strong {
  color: var(--vestt-gold);
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

/* ── FULL-WIDTH IMAGE SECTION ─────────────────────────────── */

.section-image-full {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-image-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.7) 0%,
    rgba(10, 22, 40, 0.5) 50%,
    rgba(10, 22, 40, 0.8) 100%
  );
}

.section-image-full .content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

/* ── SPLIT SECTION ────────────────────────────────────────── */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.split-section .split-content {
  display: flex;
  align-items: center;
  padding: 80px;
}

.split-section .split-image {
  background-size: cover;
  background-position: center;
}

@media (max-width: 991px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-section .split-content {
    padding: 60px 20px;
  }
  .split-section .split-image {
    min-height: 50vh;
  }
}

/* ── CTA SECTION ──────────────────────────────────────────── */

.section-cta {
  background: var(--vestt-navy);
  padding: 120px 0;
  text-align: center;
}

.section-cta h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  max-width: 700px;
  margin: 0 auto 20px;
}

.section-cta p {
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 40px;
}

/* ── KB CARDS (Kernbereiche) ──────────────────────────────── */

.kb-card {
  border: 1px solid var(--vestt-border) !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.kb-card:hover {
  box-shadow: 0 24px 60px rgba(10, 22, 40, 0.1) !important;
  transform: translateY(-6px) !important;
  border-color: rgba(196, 164, 74, 0.15) !important;
}

.kb-card-media { height: 280px !important; }

.kb-chip {
  background: var(--vestt-navy) !important;
  font-size: 10px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  padding: 8px 16px !important;
  border-radius: 60px !important;
  font-weight: 700 !important;
}

.kb-title {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: var(--vestt-navy) !important;
  letter-spacing: -0.02em !important;
}

.kb-text {
  font-size: 15px !important;
  color: var(--vestt-slate-light) !important;
  line-height: 1.7 !important;
}

.kb-link {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--vestt-navy) !important;
  letter-spacing: 0.02em !important;
}

.kb-link:after {
  background: var(--vestt-gold) !important;
  height: 2px !important;
  width: 100px !important;
}

/* ── WHITE CARDS (template override) ──────────────────────── */

.p-30.bg-white.rounded-1 {
  border: 1px solid var(--vestt-border) !important;
  box-shadow: none !important;
  border-radius: 16px !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.p-30.bg-white.rounded-1:hover {
  box-shadow: 0 16px 48px rgba(10, 22, 40, 0.06) !important;
  transform: translateY(-3px);
  border-color: rgba(196, 164, 74, 0.12) !important;
}

.p-30.bg-white.rounded-1 h4 {
  color: var(--vestt-navy);
}

/* ── CHECK LISTS ──────────────────────────────────────────── */

.ul-check li {
  color: var(--vestt-slate);
  font-size: 15px;
}

.ul-check li:before {
  color: var(--vestt-gold) !important;
}

/* ── ACCORDION / FAQ ──────────────────────────────────────── */

.accordion.s2 .accordion-section-title {
  font-weight: 700;
  color: var(--vestt-navy);
  font-size: 17px;
  border-color: var(--vestt-border);
  padding: 24px 0;
}

/* ── DARK SECTIONS ────────────────────────────────────────── */

.section-dark, footer.section-dark {
  background: var(--vestt-navy) !important;
}

section.bg-dark h2,
section.bg-dark-1 h2,
.bg-dark h2 {
  color: #fff;
}

section.bg-dark h4,
section.bg-dark-1 h4,
.bg-dark h4 {
  color: #fff;
}

section.bg-dark p,
section.bg-dark-1 p,
.bg-dark p {
  color: rgba(255,255,255,0.6);
}

section.bg-dark .subtitle,
section.bg-dark-1 .subtitle {
  color: var(--vestt-gold) !important;
}

/* ── FOOTER ───────────────────────────────────────────────── */

footer.section-dark {
  border-top: 1px solid rgba(196, 164, 74, 0.08);
  background: #060E1A !important;
}

footer h5 {
  color: var(--vestt-gold) !important;
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  margin-bottom: 20px !important;
}

footer p, footer div {
  font-size: 14px;
}

.subfooter {
  border-top: 1px solid rgba(255,255,255,0.05) !important;
  background: transparent !important;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

footer .social-icons a {
  border-color: rgba(255,255,255,0.1) !important;
  transition: all 0.3s;
}

footer .social-icons a:hover {
  border-color: var(--vestt-gold) !important;
  color: var(--vestt-gold) !important;
  background: rgba(196, 164, 74, 0.06) !important;
}

/* ── MARQUEE ──────────────────────────────────────────────── */

.de-marquee-list-2 span.fs-40 {
  font-weight: 700 !important;
  font-size: 32px !important;
}

/* ── VIDEO SECTION ────────────────────────────────────────── */

section.p-0 video {
  filter: brightness(0.8) contrast(1.05);
}

/* ── CTA / CONTACT SECTION ────────────────────────────────── */

section.bg-color.py-5,
section.bg-color {
  background: var(--vestt-gold) !important;
}

section.bg-color h4 { color: var(--vestt-navy) !important; }
section.bg-color p { color: rgba(10, 22, 40, 0.7) !important; }

section.bg-color .btn-main {
  background: var(--vestt-navy) !important;
  color: #fff !important;
}

section.bg-color .btn-main:hover {
  background: var(--vestt-navy-light) !important;
  box-shadow: 0 8px 30px rgba(10, 22, 40, 0.3) !important;
}

/* ── TESTIMONIAL SECTION (template) ───────────────────────── */

.bg-color.no-top.no-bottom {
  background: var(--vestt-gold) !important;
}

.bg-color h3,
section.bg-color h3 {
  color: var(--vestt-navy);
}

/* ── SOFT SHADOWS ─────────────────────────────────────────── */

.soft-shadow, .shadow-soft {
  box-shadow: 0 24px 64px rgba(10, 22, 40, 0.12) !important;
}

/* ── ARROWS / CIRCLES ─────────────────────────────────────── */

.circle.bg-color {
  background: var(--vestt-gold) !important;
}

/* ── BACK TO TOP ──────────────────────────────────────────── */

#back-to-top {
  background: var(--vestt-navy) !important;
  border-radius: 50% !important;
  width: 48px;
  height: 48px;
}

/* ── SCROLLBAR ────────────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--vestt-bg); }
::-webkit-scrollbar-thumb { background: rgba(196, 164, 74, 0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--vestt-gold); }

/* ── BG-BLUR (hero cards) ─────────────────────────────────── */

.bg-blur {
  background: rgba(10, 22, 40, 0.5) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 991px) {
  section {
    padding: 80px 0 !important;
  }

  .section-statement {
    padding: 100px 0 !important;
  }

  * {
    --h2-font-size: 36px;
  }

  .process-step {
    padding-left: 56px;
    margin-left: 16px;
  }
}

@media (max-width: 575px) {
  section {
    padding: 60px 0 !important;
  }

  * {
    --h1-font-size: 36px;
    --h2-font-size: 30px;
  }

  .impact-number {
    font-size: 48px;
  }

  .hero-kpi-number {
    font-size: 28px !important;
  }
}
