/* ============================================================
   BudiSync – Shared Stylesheet
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --bg-deep:     #0a0a0a;
  --bg-mid:      #111;
  --bg-light:    #f8f8f6;
  --bg-lighter:  #fafaf8;
  --text-dark:   #181818;
  --text-mid:    #555;
  --text-soft:   #999;
  --text-on-dark: #f1f1ee;
  --text-muted:  rgba(241,241,238,0.6);
  --text-dim:    rgba(241,241,238,0.6);
  --gold:        #C9A962;
  --gold-dim:    rgba(201,169,98,0.12);
  --gold-border: rgba(201,169,98,0.22);
  --border-dark: rgba(255,255,255,0.07);
  --border-light:#e8e5de;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Inter', -apple-system, sans-serif;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm:   0 2px 4px rgba(0,0,0,0.04), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 2px 4px rgba(0,0,0,0.04), 0 8px 16px rgba(0,0,0,0.08), 0 16px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 4px 8px rgba(0,0,0,0.06), 0 16px 32px rgba(0,0,0,0.12), 0 32px 64px rgba(0,0,0,0.16);
  --shadow-gold: 0 4px 20px rgba(201,169,98,0.2), 0 8px 40px rgba(201,169,98,0.1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ── BASE ── */
body {
  font-family: var(--sans);
  background: var(--bg-deep);
  color: var(--text-on-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── UTILITIES ── */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .wrap { padding: 0 24px; } }

.sect { position: relative; }
.sect-pad { padding: 120px 0; }
@media (max-width: 768px) { .sect-pad { padding: 88px 0; } }

.sect-cta { text-align: center; margin-top: 56px; }

/* ── EYEBROW ── */
.eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}
.eyebrow.dark { color: var(--gold); }

/* ── GLOBAL HEADING BASE ── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

/* ── HEADLINES ── */
h2.headline {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
h2.headline.xl  { font-size: clamp(2.6rem, 5vw, 4.2rem); }
h2.headline.lg  { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2.headline.md  { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h2.headline.on-dark  { color: var(--text-on-dark); }
h2.headline.on-light { color: var(--text-dark); }

/* ── BODY TEXT ── */
.body-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.005em;
}
.body-text.on-dark  { color: var(--text-muted); }
.body-text.on-light { color: var(--text-mid); }

/* ── SCROLL REVEAL ── */
.r {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.r.in { opacity: 1; transform: translateY(0); }
.r.d1 { transition-delay: 0.1s; }
.r.d2 { transition-delay: 0.2s; }
.r.d3 { transition-delay: 0.3s; }
.r.d4 { transition-delay: 0.4s; }
.r.d5 { transition-delay: 0.5s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 100%);
  transition: padding 0.45s var(--ease-soft), background 0.45s var(--ease-soft),
    border-color 0.45s, backdrop-filter 0.45s, box-shadow 0.45s;
  border-bottom: 1px solid transparent;
}
nav.nav-scrolled {
  padding: 16px 48px;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--border-dark);
  box-shadow: 0 2px 24px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  nav.nav-scrolled { padding: 14px 24px; }
}

/* Logo */
.n-logo {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  color: var(--text-on-dark); letter-spacing: -0.02em; flex-shrink: 0;
}
.n-logo em { font-style: normal; color: var(--gold); }

/* Nav links */
.n-links {
  display: flex; align-items: center; gap: 28px;
}
.n-links > li > a {
  color: rgba(241,241,238,0.9); font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.04em; transition: color 0.2s;
}
.n-links > li > a:hover { color: #fff; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
}
.dd-chevron {
  width: 10px; height: 10px; flex-shrink: 0;
  stroke: currentColor; fill: none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: 0.5; transition: transform 0.25s, opacity 0.25s;
}
.has-dropdown:hover > a .dd-chevron,
.has-dropdown.open > a .dd-chevron {
  transform: rotate(180deg); opacity: 0.9;
}

.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(14,14,12,0.97);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 6px;
  min-width: 220px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transition-delay: 150ms;
  box-shadow: var(--shadow-lg);
}

/* ── DROPDOWN WITH HOVER DELAY ── */
.has-dropdown .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transition-delay: 150ms;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
  transition-delay: 150ms;
}

.has-dropdown .dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
  transition-delay: 0ms;
}

.has-dropdown.open .dropdown-menu {
  opacity: 1; pointer-events: all; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  color: rgba(241,241,238,0.55); font-size: 0.8rem; font-weight: 400;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.dropdown-menu a:hover { background: rgba(255,255,255,0.06); color: var(--text-on-dark); }
.dd-icon { font-style: normal; opacity: 0.7; width: 18px; text-align: center; }

/* Language dropdown */
.lang-li { list-style: none; padding: 0; }
.lang-dropdown { position: relative; }
.lang-dropdown-toggle {
  background: transparent;
  border: 1px solid rgba(201,169,98,0.4);
  color: #fafaf8;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  font-family: var(--sans);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
  min-height: 44px;
}
.lang-dropdown-toggle:hover { border-color: #C9A962; color: #C9A962; }
.lang-arrow { font-style: normal; font-size: 0.75em; opacity: 0.7; }
.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0a0a0a;
  border: 1px solid rgba(201,169,98,0.2);
  border-radius: 8px;
  padding: 6px;
  min-width: 100px;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.lang-dropdown-menu.open { display: block; }
.lang-option {
  display: block;
  padding: 8px 12px;
  color: #fafaf8;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.lang-option:hover { background: rgba(201,169,98,0.1); color: #C9A962; }
.lang-option--disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* CTA nav button */
.n-cta {
  border: 1px solid var(--gold-border) !important;
  color: var(--gold) !important;
  padding: 9px 22px; border-radius: 100px;
  transition: background 0.25s, color 0.25s !important;
  min-height: 44px;
}
.n-cta:hover { background: var(--gold-dim) !important; }

/* Hamburger */
.n-burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.n-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-on-dark); transition: all 0.3s;
}

@media (max-width: 860px) {
  .n-links { display: none; }
  .n-burger { display: flex; }
  .n-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: rgba(10,10,10,0.98);
    align-items: center; justify-content: center;
    gap: 24px; z-index: 901;
    overflow-y: auto;
  }
  .n-links.open > li > a { font-size: 1.15rem; color: var(--text-muted); min-height: 48px; display: flex; align-items: center; gap: 8px; }
  .n-links.open > li > a:hover { color: var(--text-on-dark); }

  /* Collapsible dropdown on mobile */
  .dropdown-menu {
    position: static; transform: none !important;
    background: transparent; border: none; box-shadow: none;
    padding: 0; max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    pointer-events: none; opacity: 1;
  }
  .has-dropdown.open .dropdown-menu {
    max-height: 600px;
    padding: 6px 0 0 16px;
    pointer-events: auto;
  }
  .dropdown-menu a { color: rgba(241,241,238,0.55) !important; font-size: 0.9rem !important; }

  /* Chevron visible on mobile + rotates on open */
  .dd-chevron { display: inline-block !important; flex-shrink: 0; transition: transform 0.3s ease; }
  .has-dropdown.open > a .dd-chevron { transform: rotate(180deg); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #0a0a0a;
  font-size: 0.85rem; font-weight: 600; padding: 15px 32px; min-height: 44px;
  border-radius: 100px; border: none; cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-gold);
  transition: opacity 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
  white-space: nowrap;
}
.btn-gold:hover { opacity: 0.86; transform: translateY(-2px); box-shadow: 0 8px 36px rgba(201,169,98,0.35); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(241,241,238,0.55); font-size: 0.85rem; font-weight: 400;
  padding: 15px 32px; min-height: 44px; border-radius: 100px;
  transition: color 0.2s, border-color 0.2s, transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--text-on-dark); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }

.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: #181818; color: #fff;
  font-size: 0.85rem; font-weight: 500; padding: 14px 32px; min-height: 44px;
  border-radius: 100px; border: none; cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-md);
  transition: opacity 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
  white-space: nowrap;
}
.btn-dark:hover { opacity: 0.82; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-dark.on-dark { background: rgba(255,255,255,0.9); color: #111; }
.btn-dark.on-dark:hover { background: #fff; opacity: 1; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(24,24,24,0.18); color: #181818;
  font-size: 0.84rem; font-weight: 500; padding: 13px 28px; min-height: 44px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  white-space: nowrap;
}
.btn-outline:hover { background: #181818; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Arrow SVG in buttons */
.btn-arrow {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 40px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold-border); }
.card-bg-light { background: #fafaf8; }

.card-dark {
  background: #0a0a0a;
  border: 1px solid var(--border-dark);
  border-radius: 20px; padding: 40px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.card-dark:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold-border); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  min-height: 100svh;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(201,169,98,0.05) 0%, transparent 65%),
    linear-gradient(180deg, #0e0e0c 0%, #0a0a0a 60%, #080808 100%);
  display: flex; flex-direction: column; align-items: center;
  overflow: clip; position: relative;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../hero-gradient.svg');
  background-size: cover; background-position: center top;
  opacity: 0.04;
  pointer-events: none; z-index: 0;
}
.hero-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}

/* Two-column hero layout */
.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1080px;
  margin: 0 auto; padding: 160px 48px 80px;
  display: grid; grid-template-columns: 55% 45%;
  gap: 64px; align-items: center;
}
@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 140px 24px 60px;
    text-align: center;
  }
}

.hero-text {}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 32px;
  opacity: 0; animation: slideUp 1s var(--ease) 0.15s forwards;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 28px; height: 1px; background: var(--gold); opacity: 0.35;
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 500; color: var(--text-on-dark);
  letter-spacing: -0.04em; line-height: 1.07;
  margin-bottom: 28px;
  opacity: 0; animation: slideUp 1s var(--ease) 0.3s forwards;
}
.hero-h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 1.05rem; font-weight: 300;
  color: var(--text-muted); line-height: 1.8; margin-bottom: 48px;
  opacity: 0; animation: slideUp 1s var(--ease) 0.45s forwards;
}

.hero-btns {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: slideUp 1s var(--ease) 0.6s forwards;
}
@media (max-width: 840px) { .hero-btns { justify-content: center; } }

.hero-visual-col {
  opacity: 0; animation: slideUp 1.2s var(--ease) 0.75s forwards;
}

/* Dashboard card */
.dashboard-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: perspective(800px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
}
.dashboard-card:hover {
  transform: perspective(800px) rotateY(-4deg) rotateX(1.5deg);
}

.db-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.db-title {
  font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}
.db-live {
  font-size: 0.62rem; color: #4ade80;
  background: rgba(74,222,128,0.07);
  border: 1px solid rgba(74,222,128,0.16);
  padding: 3px 10px; border-radius: 100px;
}

.db-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-bottom: 14px;
}
.db-kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; padding: 12px 10px;
}
.db-kpi-val {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 500;
  color: var(--text-on-dark); display: block; line-height: 1;
}
.db-kpi-val.gold { color: var(--gold); }
.db-kpi-lbl {
  font-size: 0.58rem; color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 5px; display: block;
}

.db-chart {
  display: flex; align-items: flex-end; gap: 5px;
  height: 56px; margin-bottom: 16px;
  padding: 0 2px;
}
.db-bar {
  flex: 1; border-radius: 3px 3px 0 0;
  background: rgba(201,169,98,0.2);
  transition: background 0.2s;
  min-height: 8px;
}
.db-bar:hover { background: rgba(201,169,98,0.5); }
.db-bar.active { background: var(--gold); }

/* Dashboard progress bar */
.db-progress-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; margin-bottom: 8px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.db-prog-lbl { font-size: 0.62rem; color: rgba(255,255,255,0.3); white-space: nowrap; flex-shrink: 0; }
.db-prog-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.06); border-radius: 100px; overflow: hidden; }
.db-prog-fill { height: 100%; background: var(--gold); border-radius: 100px; }
.db-prog-val { font-size: 0.62rem; color: var(--gold); flex-shrink: 0; font-weight: 500; }

/* Dashboard footer row */
.db-footer-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 4px;
}
.db-alert { font-size: 0.6rem; color: rgba(255,189,0,0.7); }
.db-alert-ok { font-size: 0.6rem; color: rgba(74,222,128,0.7); }

.db-table { display: flex; flex-direction: column; gap: 0; }
.db-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 6px;
  font-size: 0.7rem; color: rgba(255,255,255,0.35);
  transition: background 0.15s;
}
.db-row:hover { background: rgba(255,255,255,0.03); }
.db-row-name { display: flex; align-items: center; gap: 7px; }
.db-dot-sm { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.db-badge-g {
  font-size: 0.58rem; color: #4ade80;
  background: rgba(74,222,128,0.07);
  border: 1px solid rgba(74,222,128,0.14);
  padding: 2px 7px; border-radius: 100px;
}
.db-badge-n {
  font-size: 0.58rem; color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2px 7px; border-radius: 100px;
}

/* Centered hero (for sub-pages) */
.hero-centered {
  position: relative; z-index: 1;
  width: 100%; max-width: 1080px;
  margin: 0 auto; padding: 180px 48px 100px;
  text-align: center;
}
@media (max-width: 768px) { .hero-centered { padding: 150px 24px 80px; } }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s var(--ease) 1.8s forwards; z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulseLine 2.8s ease-in-out infinite;
}
.hero-scroll span { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }

/* ── KEYFRAMES ── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulseLine {
  0%, 100% { opacity: 0.25; transform: scaleY(1); }
  50%       { opacity: 0.7; transform: scaleY(1.08); }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.prob-header { margin-bottom: 64px; max-width: 600px; }
.prob-header .body-text { margin-top: 20px; }

.prob-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-dark);
  border: 1px solid var(--border-dark); border-radius: 20px; overflow: hidden;
  margin-bottom: 48px; box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) { .prob-grid { grid-template-columns: 1fr; } }

.prob-card { background: #0a0a0a; padding: 48px 36px; transition: background 0.3s; }
.prob-card:hover { background: #101010; }
.prob-num {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 400;
  color: rgba(255,255,255,0.04); line-height: 1; margin-bottom: 28px; display: block;
}
.prob-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--text-on-dark); margin-bottom: 12px; line-height: 1.3; }
.prob-text  { font-size: 0.87rem; font-weight: 300; color: var(--text-muted); line-height: 1.8; }

.prob-quote {
  border-left: 1.5px solid var(--gold-border); padding: 24px 32px;
  background: rgba(201,169,98,0.02); border-radius: 0 12px 12px 0;
}
.prob-quote p { font-family: var(--serif); font-size: 1rem; font-style: italic; color: rgba(241,241,238,0.55); line-height: 1.7; }
.prob-quote strong { font-style: normal; font-weight: 500; color: var(--gold); }

/* ============================================================
   SOLUTION CARDS
   ============================================================ */
.sol-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; background: #e6e4de; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) { .sol-grid { grid-template-columns: 1fr; } }

.sol-card {
  background: var(--bg-lighter); padding: 52px 44px;
  transition: background 0.3s;
}
.sol-card:hover { background: #fff; }
@media (max-width: 768px) { .sol-card { padding: 36px 28px; } }

.sol-icon { margin-bottom: 24px; }
.sol-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sol-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; line-height: 1.25; }
.sol-text  { font-size: 0.87rem; font-weight: 300; color: var(--text-mid); line-height: 1.85; margin-bottom: 18px; }
.sol-list  { display: flex; flex-direction: column; gap: 7px; }
.sol-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.79rem; color: #777; font-weight: 300;
}
.sol-list li::before {
  content: ''; width: 14px; height: 14px; flex-shrink: 0;
  background: rgba(201,169,98,0.08) url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3L3 5L7 1' stroke='%23C9A962' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(201,169,98,0.2); border-radius: 50%;
}

/* ============================================================
   CASE STUDY / DASHBOARD VISUAL
   ============================================================ */
.case-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 96px; align-items: center;
}
@media (max-width: 900px) { .case-inner { grid-template-columns: 1fr; gap: 56px; } }

.case-h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 500; color: var(--text-dark); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 8px; }
.case-sub { font-size: 0.95rem; font-weight: 300; color: var(--text-soft); margin-bottom: 32px; }
.case-text { font-size: 0.9rem; font-weight: 300; color: var(--text-mid); line-height: 1.85; margin-bottom: 36px; }

.case-metrics {
  display: flex; gap: 40px; padding: 28px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 36px;
}
.cm-val { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--text-dark); letter-spacing: -0.04em; }
.cm-val em { font-style: normal; color: var(--gold); }
.cm-lbl { font-size: 0.74rem; font-weight: 300; color: var(--text-soft); margin-top: 4px; }

.case-visual {
  background: linear-gradient(135deg, #0a0a0a 0%, #181818 100%);
  border-radius: 24px; padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 96px; align-items: flex-start;
}
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; gap: 56px; } }

.contact-h2 { font-family: var(--serif); font-size: clamp(2.2rem, 3.8vw, 3rem); font-weight: 500; color: var(--text-dark); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 18px; }
.contact-desc { font-size: 0.9rem; font-weight: 300; color: var(--text-mid); line-height: 1.85; margin-bottom: 16px; }

.contact-checklist { display: flex; flex-direction: column; gap: 8px; margin-bottom: 44px; }
.contact-checklist li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 300; color: var(--text-mid);
}
.contact-checklist li::before {
  content: ''; width: 14px; height: 14px; flex-shrink: 0;
  background: rgba(201,169,98,0.08) url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3L3 5L7 1' stroke='%23C9A962' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(201,169,98,0.2); border-radius: 50%;
}

.contact-persons { display: flex; flex-direction: column; gap: 12px; }
.cp {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--border-light); border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cp:hover { border-color: var(--gold-border); box-shadow: var(--shadow-md); }
.cp-av {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #8a6030);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.76rem; font-weight: 600; color: #0a0a0a; flex-shrink: 0;
}
.cp-name { font-size: 0.86rem; font-weight: 500; color: var(--text-dark); }
.cp-info { font-size: 0.75rem; font-weight: 300; color: var(--text-soft); margin-top: 2px; }

/* Contact Form */
.contact-form {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 24px; padding: 44px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) { .contact-form { padding: 32px 24px; } }

.cf-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--text-dark); margin-bottom: 5px; }
.cf-sub { font-size: 0.8rem; font-weight: 300; color: var(--text-soft); margin-bottom: 28px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .cf-row { grid-template-columns: 1fr; } }
.cf-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.cf-label { font-size: 0.7rem; font-weight: 500; color: #888; letter-spacing: 0.04em; text-transform: uppercase; }
.required { color: #C9A962; font-weight: 600; margin-left: 2px; }
.cf-input, .cf-textarea {
  width: 100%; background: var(--bg-light); border: 1px solid var(--border-light);
  border-radius: 10px; padding: 12px 16px;
  font-size: 0.88rem; font-weight: 300; color: var(--text-dark);
  outline: none; transition: border-color 0.2s, background 0.2s;
}
.cf-input::placeholder, .cf-textarea::placeholder { color: #767676; }
.cf-input:focus, .cf-textarea:focus { border-color: rgba(201,169,98,0.4); background: #fff; }
.cf-textarea { resize: vertical; min-height: 96px; }
.cf-submit {
  width: 100%; background: linear-gradient(135deg, #C9A962 0%, #b38f52 100%); color: #0a0a0a;
  font-size: 0.88rem; font-weight: 600; padding: 15px;
  border: none; border-radius: 100px; cursor: pointer;
  letter-spacing: 0.02em; margin-top: 4px;
  box-shadow: 0 4px 16px rgba(201,169,98,0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.cf-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,169,98,0.4); }
.cf-note { text-align: center; font-size: 0.7rem; color: #aaa; margin-top: 12px; font-weight: 300; }
/* Inline validation */
.cf-input-error, .cf-textarea.cf-input-error { border-color: #c62828 !important; background: rgba(198,40,40,0.04) !important; }
.cf-input-error:focus { outline-color: #c62828; }
.cf-error { display: none; color: #c62828; font-size: 0.76rem; margin-top: 5px; padding: 6px 10px; background: rgba(198,40,40,0.08); border-left: 3px solid #c62828; border-radius: 4px; }
.form-ok { display: none; text-align: center; padding: 56px 20px; }
.form-ok.show { display: block; }
.form-ok-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(201,169,98,0.08); border: 1px solid var(--gold-border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin: 0 auto 18px; color: var(--gold); }
.form-ok h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--text-dark); margin-bottom: 6px; }
.form-ok p { font-size: 0.84rem; color: var(--text-soft); font-weight: 300; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border-light); padding: 0; }
.faq-item:last-child { border-bottom: none; }

.faq-trigger {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; cursor: pointer; gap: 16px;
  font-size: 0.95rem; font-weight: 500; color: var(--text-dark);
  background: none; border: none; width: 100%; text-align: left;
  transition: color 0.2s;
}
.faq-trigger:hover { color: var(--gold); }

.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem; color: var(--text-mid);
  transition: transform 0.3s, background 0.2s, border-color 0.2s;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold); }

.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-body { max-height: 500px; }

.faq-body p {
  font-size: 0.9rem; font-weight: 300; color: var(--text-mid);
  line-height: 1.85; padding: 0 0 24px 0;
}

/* Dark FAQ variant */
.faq-dark .faq-item { border-bottom-color: var(--border-dark); }
.faq-dark .faq-trigger { color: var(--text-on-dark); }
.faq-dark .faq-trigger:hover { color: var(--gold); }
.faq-dark .faq-icon { border-color: var(--border-dark); color: var(--text-muted); }
.faq-dark .faq-body p { color: var(--text-muted); }

/* ============================================================
   MASCOT
   ============================================================ */
.mascot-wrap {
  display: flex; justify-content: center; align-items: center;
  padding: 32px;
}
.mascot-wrap svg { width: 100%; max-width: 280px; height: auto; }

/* Mascot + FAQ layout */
.mascot-faq-layout {
  display: grid; grid-template-columns: 40% 60%;
  gap: 64px; align-items: start;
}
@media (max-width: 860px) { .mascot-faq-layout { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   KI PAGE CARDS
   ============================================================ */
.ki-cards-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .ki-cards-grid { grid-template-columns: 1fr; } }

.ki-card {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 20px; padding: 36px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
  display: flex; flex-direction: column; gap: 14px;
}
.ki-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold-border); }

.ki-card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.ki-card-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--text-dark); line-height: 1.25; }
.ki-card-text  { font-size: 0.87rem; font-weight: 300; color: var(--text-mid); line-height: 1.8; flex: 1; }
.ki-card-link  { font-size: 0.82rem; font-weight: 500; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; transition: gap 0.2s; }
.ki-card-link:hover { gap: 10px; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-section {
  background: linear-gradient(135deg, #0c0c0a 0%, #141412 100%);
  border-top: 1px solid rgba(201,169,98,0.08);
  border-bottom: 1px solid rgba(201,169,98,0.08);
}
.testimonial-inner { text-align: center; max-width: 700px; margin: 0 auto; }
.testimonial-icon { font-size: 2.5rem; margin-bottom: 32px; display: block; }
.testimonial-quote {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic; color: var(--text-on-dark);
  line-height: 1.5; letter-spacing: -0.02em; margin-bottom: 28px;
}
.testimonial-quote em { font-style: normal; color: var(--gold); }
.testimonial-attr { font-size: 0.84rem; font-weight: 300; color: var(--text-muted); }
.testimonial-attr strong { font-weight: 500; color: rgba(241,241,238,0.6); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 64px; align-items: center;
}
@media (max-width: 860px) { .newsletter-inner { grid-template-columns: 1fr; gap: 40px; } }

.newsletter-mascot-sm { display: flex; justify-content: flex-end; }
.newsletter-mascot-sm svg { width: 140px; height: auto; opacity: 0.85; }

.newsletter-form { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.newsletter-input {
  flex: 1; min-width: 220px; background: var(--bg-light);
  border: 1px solid var(--border-light); border-radius: 100px;
  padding: 14px 22px; font-size: 0.88rem; font-weight: 300;
  color: var(--text-dark); outline: none;
  transition: border-color 0.2s;
}
.newsletter-input:focus { border-color: rgba(201,169,98,0.4); }
.newsletter-note { font-size: 0.74rem; color: var(--text-soft); margin-top: 10px; font-weight: 300; }

/* ============================================================
   WORKSHOPS
   ============================================================ */
.workshops-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .workshops-grid { grid-template-columns: 1fr; } }

.workshop-card {
  background: #0a0a0a; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 36px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.workshop-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold-border); }
.workshop-duration {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--gold-border); padding: 4px 12px;
  border-radius: 100px; margin-bottom: 16px;
}
.workshop-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--text-on-dark); margin-bottom: 10px; line-height: 1.3; }
.workshop-text  { font-size: 0.87rem; font-weight: 300; color: rgba(241,241,238,0.55); line-height: 1.8; }

/* ============================================================
   ZUSAMMENARBEIT PAGE
   ============================================================ */
.secondary-nav {
  position: sticky; top: 72px; z-index: 800;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0;
}
.secondary-nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 48px;
  display: flex; gap: 0; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 768px) { .secondary-nav-inner { padding: 0 24px; } }
.secondary-nav a {
  padding: 16px 24px; font-size: 0.8rem; font-weight: 500;
  color: var(--text-soft); white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.secondary-nav a:hover { color: var(--text-on-dark); }
.secondary-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Collaboration service section */
.service-section { padding: 96px 0; }
.service-section:nth-child(even) { background: #111111; }
.service-section:nth-child(odd)  { background: #0a0a0a; }

.service-header { max-width: 680px; margin-bottom: 56px; }
.service-header .body-text { margin-top: 16px; }

.format-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 40px;
}
@media (max-width: 768px) { .format-cards { grid-template-columns: 1fr; } }

.format-card {
  background: #0a0a0a; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.format-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-border); transform: translateY(-4px); }
.format-card-icon { margin-bottom: 12px; display: block; }
.format-card-title { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--text-on-dark); margin-bottom: 8px; }
.format-card-text { font-size: 0.84rem; font-weight: 300; color: rgba(241,241,238,0.55); line-height: 1.75; }
/* Light-bg variant */
.format-card.card-bg-light {
  background: #ffffff; border-color: rgba(201,169,98,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.format-card.card-bg-light:hover {
  border-color: rgba(201,169,98,0.55);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.format-card.card-bg-light .format-card-title { color: #1a1a1a; }
.format-card.card-bg-light .format-card-text  { color: #555555; }

/* Process steps */
.process-steps { display: flex; flex-direction: column; gap: 0; margin: 40px 0; }
.process-step {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600; color: var(--gold);
  flex-shrink: 0;
}
.step-content {}
.step-title { font-size: 0.95rem; font-weight: 500; color: var(--text-dark); margin-bottom: 6px; }
.step-text  { font-size: 0.87rem; font-weight: 300; color: var(--text-mid); line-height: 1.75; }

/* ============================================================
   ÜBER UNS / ABOUT PAGE
   ============================================================ */
.about-layout {
  display: grid; grid-template-columns: auto 1fr;
  gap: 80px; align-items: start;
}
@media (max-width: 860px) { .about-layout { grid-template-columns: 1fr; gap: 48px; } }

.about-photo {
  width: 220px; height: 220px; border-radius: 24px;
  background: linear-gradient(135deg, #1a1510 0%, #2a2015 100%);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
}
.about-initials { font-family: var(--serif); font-size: 3.5rem; font-weight: 500; color: var(--gold); opacity: 0.6; }
.about-photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 24px; display: block; }

.about-bio-text { font-size: 0.95rem; font-weight: 300; color: rgba(241,241,238,0.6); line-height: 1.9; }
.about-bio-text + .about-bio-text { margin-top: 16px; }

.mission-box {
  background: linear-gradient(135deg, #0e0c08 0%, #1a1510 100%);
  border: 1px solid var(--gold-border); border-radius: 20px;
  padding: 48px 56px; text-align: center;
  box-shadow: var(--shadow-gold);
}
.mission-box blockquote {
  font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic; color: var(--text-on-dark);
  line-height: 1.55; letter-spacing: -0.02em;
}
.mission-box blockquote em { font-style: normal; color: var(--gold); }
@media (max-width: 768px) { .mission-box { padding: 36px 28px; } }

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  background: #0a0a0a; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.value-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-border); transform: translateY(-2px); }
.value-icon { margin-bottom: 14px; display: block; }
.value-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--text-on-dark); margin-bottom: 8px; }
.value-text  { font-size: 0.85rem; font-weight: 300; color: rgba(241,241,238,0.55); line-height: 1.75; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex; gap: 28px; padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  width: 56px; font-family: var(--serif); font-size: 0.9rem;
  font-weight: 600; color: var(--gold); flex-shrink: 0;
  padding-top: 3px;
}
.timeline-content {}
.timeline-title { font-size: 0.95rem; font-weight: 500; color: var(--text-on-dark); margin-bottom: 4px; }
.timeline-text  { font-size: 0.85rem; font-weight: 300; color: rgba(241,241,238,0.55); line-height: 1.7; }

/* ============================================================
   INLINE CONTACT SECTION (service pages)
   ============================================================ */
.inline-contact {
  padding: 80px 0;
  background: #fafaf8;
  border-top: 1px solid rgba(201,169,98,0.2);
}
.container-narrow { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.inline-contact .eyebrow { margin-bottom: 8px; }
.inline-contact h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text-dark); margin-bottom: 12px; line-height: 1.2;
}
.inline-contact .ic-sub {
  font-size: 1rem; color: rgba(24,24,24,0.65); margin-bottom: 40px; line-height: 1.6;
}
@media (max-width: 640px) {
  .inline-contact { padding: 52px 0; }
}

/* ============================================================
   FOOTER CTA BAND
   ============================================================ */
.footer-cta-band {
  background: linear-gradient(135deg, #0f0f0d 0%, #141410 100%);
  border-top: 1px solid rgba(201,169,98,0.1);
  padding: 80px 48px; text-align: center;
}
.footer-cta-band h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500; color: var(--text-on-dark);
  letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.2;
}
.footer-cta-band h2 em { font-style: italic; color: var(--gold); }
.footer-cta-band p {
  font-size: 0.9rem; font-weight: 300; color: var(--text-muted);
  margin-bottom: 36px; max-width: 440px; margin-left: auto; margin-right: auto;
}
@media (max-width: 768px) { .footer-cta-band { padding: 60px 24px; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #060606; border-top: 1px solid rgba(255,255,255,0.04);
  padding: 48px;
}
@media (max-width: 768px) { footer { padding: 36px 24px; } }

.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; } }

.f-logo { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: rgba(255,255,255,0.35); }
.f-logo em { font-style: normal; color: var(--gold); }
.f-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.f-links a { font-size: 0.78rem; font-weight: 300; color: rgba(255,255,255,0.2); transition: color 0.2s; }
.f-links a:hover { color: rgba(255,255,255,0.5); }
.f-copy { font-size: 0.72rem; font-weight: 300; color: rgba(255,255,255,0.16); text-align: right; }
@media (max-width: 768px) { .f-copy { text-align: center; } }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: #181818; border-top: 2px solid var(--gold);
  padding: 24px 32px; max-height: 65vh; overflow-y: auto;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.3);
}
.cookie-banner.hidden { display: none; }
.cookie-content { max-width: 680px; margin: 0 auto; }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-title {
  font-size: 1.1rem; font-weight: 600;
  color: var(--text-on-dark); margin-bottom: 0.5rem;
  font-family: var(--sans);
}
.cookie-description {
  font-size: 0.875rem; line-height: 1.6;
  color: rgba(241,241,238,0.75); margin-bottom: 1.25rem;
}
.cookie-categories {
  display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem;
}
.cookie-category {
  background: rgba(255,255,255,0.05); border-radius: 8px; padding: 0.875rem;
}
.cookie-category-header { display: flex; align-items: flex-start; gap: 0.875rem; }
.cookie-category-info { flex: 1; }
.cookie-category-info strong {
  display: block; font-size: 0.875rem; font-weight: 600;
  color: var(--text-on-dark); margin-bottom: 0.2rem; font-family: var(--sans);
}
.cookie-category-desc {
  font-size: 0.8rem; line-height: 1.5;
  color: rgba(241,241,238,0.6); margin: 0;
}
/* Toggle switch */
.cookie-switch {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; flex-shrink: 0;
  /* WCAG 2.5.5: 44×44px touch target via padding around 22px visual toggle */
}
.cookie-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
/* Visual toggle lives inside a nested span sized correctly */
.cookie-switch .slider {
  position: relative !important; display: block;
  width: 44px; height: 22px;
  top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
}
.cookie-switch .slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.2); transition: 0.3s; border-radius: 22px;
}
.cookie-switch .slider:before {
  position: absolute; content: "";
  height: 16px; width: 16px; left: 3px; bottom: 3px;
  background: white; transition: 0.3s; border-radius: 50%;
}
.cookie-switch input:checked + .slider { background: var(--gold); }
.cookie-switch input:checked + .slider:before { transform: translateX(22px); }
.cookie-switch input:disabled + .slider { opacity: 0.7; cursor: not-allowed; }
/* Cookie buttons */
.cookie-buttons {
  display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.875rem;
}
.cookie-buttons .btn-small { flex: 1; min-width: 110px; text-align: center; }
.btn-small { padding: 0.5rem 1rem; font-size: 0.875rem; }
/* "Auswahl speichern" — gold outline for visibility */
.cookie-buttons .btn-ghost.btn-small {
  color: var(--gold);
  border: 2px solid rgba(201,169,98,0.6);
  font-weight: 600;
}
.cookie-buttons .btn-ghost.btn-small:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(201,169,98,0.1);
}
.cookie-policy-link {
  display: block; text-align: center;
  font-size: 0.8rem; color: var(--gold); text-decoration: underline;
}
.cookie-policy-link:hover { color: #d4b878; }
@media (max-width: 768px) {
  .cookie-banner { max-height: 50vh; padding: 16px 20px; }
  .cookie-description { font-size: 0.82rem; }
  .cookie-buttons { flex-direction: column; gap: 8px; }
  .cookie-buttons .btn-small { width: 100%; }
}
@media (max-width: 600px) {
  .cookie-banner { padding: 16px; }
  .cookie-category-header { flex-direction: column; gap: 0.5rem; }
}

/* ============================================================
   KI TEASER (index page)
   ============================================================ */
.ki-teaser-section {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
}
.ki-teaser-inner {
  display: grid; grid-template-columns: 55% 45%;
  gap: 64px; align-items: center;
}
@media (max-width: 860px) { .ki-teaser-inner { grid-template-columns: 1fr; gap: 48px; } }

.ki-teaser-points { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.ki-tp {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-dark); border-radius: 14px;
  transition: background 0.25s, border-color 0.25s;
}
.ki-tp:hover { background: rgba(201,169,98,0.04); border-color: var(--gold-border); }
.ki-tp-icon { font-size: 1.2rem; flex-shrink: 0; width: 28px; text-align: center; }
.ki-tp-title { font-size: 0.9rem; font-weight: 500; color: var(--text-on-dark); margin-bottom: 4px; }
.ki-tp-text  { font-size: 0.83rem; font-weight: 300; color: var(--text-muted); line-height: 1.7; }

.ki-teaser-visual {
  background: #0a0a0a; border: 1px solid var(--border-dark);
  border-radius: 24px; padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.ki-visual-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  color: var(--gold); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 24px;
}
.ki-visual-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.ki-visual-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--text-on-dark); margin-bottom: 28px; line-height: 1.3; }
.ki-visual-nodes { display: flex; flex-direction: column; gap: 10px; }
.ki-vnode {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; font-size: 0.83rem; color: rgba(241,241,238,0.6);
  transition: background 0.2s, border-color 0.2s;
}
.ki-vnode:hover { background: rgba(201,169,98,0.04); border-color: var(--gold-border); }
.ki-vdot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.ki-vdot.green { background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.35); }
.ki-vdot.gold  { background: var(--gold); }

/* ============================================================
   COLLAB TEASER (index page)
   ============================================================ */
.collab-teaser-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 48px;
}
@media (max-width: 860px) { .collab-teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .collab-teaser-grid { grid-template-columns: 1fr; } }

.collab-teaser-card {
  background: var(--bg-lighter); border: 1px solid var(--border-light);
  border-radius: 18px; padding: 28px 22px;
  display: flex; flex-direction: column; height: 100%;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.collab-teaser-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-border); transform: translateY(-2px); }
.collab-tc-icon { font-size: 1.6rem; margin-bottom: 12px; display: block; }
.collab-tc-title { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; line-height: 1.25; }
.collab-tc-text  { font-size: 0.82rem; font-weight: 300; color: var(--text-mid); line-height: 1.7; flex: 1; }
.card-link-text {
  display: inline-block; margin-top: auto; font-size: 0.8rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.03em; transition: gap 0.2s;
}
.collab-card-link {
  text-decoration: none; display: flex; flex-direction: column; color: inherit;
  border-radius: 18px; height: 100%;
}
.collab-card-link:hover .collab-teaser-card {
  box-shadow: var(--shadow-md); border-color: var(--gold-border); transform: translateY(-2px);
}
.collab-card-link:hover .card-link-text { text-decoration: underline; }

/* ============================================================
   MISC HELPERS
   ============================================================ */
.text-center { text-align: center; }
.gold { color: var(--gold); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-20 { margin-bottom: 20px; }

/* On-light bg adjustments */
.bg-light-section { background: #111111; }
.bg-white-section  { background: #0a0a0a; }
.bg-dark-section   { background: var(--bg-deep); }

/* ── HERO TRUST LINE ── */
.hero-trust-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 0.75rem;
  color: rgba(241,241,238,0.6);
  flex-wrap: wrap;
}
.hero-trust-line .sep {
  color: rgba(255,255,255,0.2);
}

/* ── FADE-IN SCROLL ANIMATIONS ── */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── CARD HOVER EFFECTS ── */
.prob-card,
.sol-card,
.ki-card,
.collab-teaser-card,
.workshop-card,
.faq-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.prob-card:hover,
.sol-card:hover,
.ki-card:hover,
.collab-teaser-card:hover,
.workshop-card:hover,
.faq-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 12px 24px rgba(0,0,0,0.10), 0 24px 48px rgba(0,0,0,0.14);
}

/* ── BUTTON RIPPLE EFFECT ── */
.btn-gold {
  position: relative;
  overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}
.btn-gold:hover::before {
  width: 300px;
  height: 300px;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 169, 98, 0.3);
}

/* ── PROBLEM SECTION - NEW CHECKBOX CARDS ── */
.prob-cards-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.prob-card-new {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}
.prob-card-new:hover {
  transform: translateY(-6px);
  border-color: rgba(201,169,98,0.2);
}
.prob-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  width: 48px;
  height: 48px;
}
.prob-card-icon svg {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}
.prob-card-new:hover .prob-card-icon svg {
  transform: scale(1.1);
  opacity: 1;
}
.prob-card-headline {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text-on-dark);
  margin-bottom: 20px;
  font-weight: 500;
}
.prob-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.prob-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(241,241,238,0.5);
  margin-bottom: 10px;
  text-decoration: line-through;
  text-decoration-color: rgba(201,169,98,0.4);
}
.prob-checklist li::before {
  content: '☐';
  color: rgba(201,169,98,0.4);
  flex-shrink: 0;
  text-decoration: none;
  display: inline-block;
}
.prob-card-solution {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.5;
}
.prob-card-link {
  font-size: 0.78rem;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.prob-card-link:hover { opacity: 1; }

/* ── FEATURE OVERVIEW SECTION ── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.feature-item:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.feature-check {
  width: 24px;
  height: 24px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
}
.feature-content {}
.feature-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 4px;
}
.feature-desc {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── SOCIAL PROOF STRIP ── */
.social-proof-strip {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
  margin-top: 0;
}
.social-proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.social-proof-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(241,241,238,0.65);
  font-weight: 600;
}
.logo-strip {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.logo-placeholder {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: rgba(241,241,238,0.6);
  letter-spacing: 0.05em;
  font-style: italic;
  transition: color 0.2s;
}
.logo-placeholder:hover { color: rgba(241,241,238,0.7); }
.logo-placeholder.real {
  color: rgba(201,169,98,0.75);
  font-weight: 500;
}
.stat-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.82rem;
  color: rgba(241,241,238,0.75);
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-bar span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-bar .sep {
  color: rgba(255,255,255,0.2);
}
.proof-companies {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  width: 100%;
  margin-top: 4px;
}
.proof-company {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.proof-company .stat-bar {
  flex-direction: column;
  gap: 5px;
  font-size: 0.78rem;
}
.proof-company .stat-bar .sep {
  display: none;
}
.proof-divider {
  width: 1px;
  height: 56px;
  background: rgba(201,169,98,0.2);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .proof-companies { flex-direction: column; gap: 1.25rem; }
  .proof-divider { width: 60px; height: 1px; }
}

/* ── TESTIMONIALS SECTION ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-mid);
  margin-top: 2px;
}

/* ── FALLSTUDIEN SECTION ── */
.fallstudien-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.fallstudie-card {
  background: var(--bg-mid);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
}
.fallstudie-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.fallstudie-logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 20px;
  display: block;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,98,0.2);
  padding: 10px;
  box-sizing: border-box;
}
.fallstudie-title {
  min-height: 3rem;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}
.fallstudie-title h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-on-dark);
  margin: 0;
  line-height: 1.3;
}
.fallstudie-meta {
  min-height: 2rem;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.fallstudie-meta span {
  font-size: 0.72rem;
  color: rgba(241,241,238,0.6);
  letter-spacing: 0.05em;
}
.fallstudie-quote {
  flex-grow: 1;
  background: rgba(255,255,255,0.02);
  border-left: 2px solid var(--gold-border);
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
}
.fallstudie-quote p {
  font-family: var(--serif);
  font-size: 0.82rem;
  color: rgba(241,241,238,0.6);
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 8px 0;
}
.fallstudie-quote-attr {
  font-size: 0.68rem !important;
  color: rgba(201,169,98,0.6) !important;
  font-style: normal !important;
  font-family: var(--sans) !important;
}
.fallstudie-metrics {
  display: flex;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.metric {
  flex: 1;
  min-width: 60px;
  text-align: center;
  background: rgba(201,169,98,0.06);
  border: 1px solid rgba(201,169,98,0.12);
  border-radius: 10px;
  padding: 10px 8px;
}
.metric-val {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
}
.metric-lbl {
  font-size: 0.72rem;
  color: rgba(241,241,238,0.55);
  margin-top: 3px;
  letter-spacing: 0.03em;
}
.fallstudie-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.fallstudie-link:hover { opacity: 0.75; }
.fs-header {
  background: rgba(201,169,98,0.08);
  border-bottom: 1px solid var(--border-dark);
  padding: 24px;
}
.fs-company {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-on-dark);
  font-weight: 500;
  margin-bottom: 4px;
}
.fs-type {
  font-size: 0.72rem;
  color: rgba(241,241,238,0.6);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.fs-metrics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fs-metric-badge {
  font-size: 0.68rem;
  color: rgba(201,169,98,0.8);
  background: rgba(201,169,98,0.08);
  border: 1px solid rgba(201,169,98,0.15);
  padding: 3px 10px;
  border-radius: 100px;
}
.fs-body {
  padding: 24px;
}
.fs-section-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.fs-text {
  font-size: 0.8rem;
  color: rgba(241,241,238,0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}
.fs-results {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.fs-results li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(241,241,238,0.65);
  margin-bottom: 6px;
}
.fs-results li::before {
  content: '✓';
  color: var(--gold);
  flex-shrink: 0;
  font-weight: 600;
}
.fs-quote {
  background: rgba(255,255,255,0.02);
  border-left: 2px solid var(--gold-border);
  padding: 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
}
.fs-quote-text {
  font-family: var(--serif);
  font-size: 0.82rem;
  color: rgba(241,241,238,0.6);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 8px;
}
.fs-quote-attr {
  font-size: 0.68rem;
  color: rgba(201,169,98,0.6);
}

/* ── TRUST BADGES ── */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(241,241,238,0.5);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
}
.trust-badge::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.65rem;
}

/* ── FAQ CARD LAYOUT (for ki-loesungen) ── */
.faq-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.faq-card {
  background: #ffffff;
  border: 1px solid rgba(201,169,98,0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.faq-card-header {
  padding: 24px 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.faq-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,169,98,0.08);
  border: 1px solid rgba(201,169,98,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-card-question {
  font-family: var(--serif);
  font-size: 1.0rem;
  color: #0a0a0a;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
  padding-top: 8px;
}
.faq-card-body {
  padding: 16px 24px 24px;
  font-size: 0.85rem;
  color: #333333;
  line-height: 1.75;
}

/* ── FAQ SERVICE CARDS (ki-loesungen) ── */
.ki-service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ki-service-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}
.ki-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}
.ki-service-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ki-service-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-on-dark);
  font-weight: 500;
  margin-bottom: 12px;
}
.ki-service-text {
  font-size: 0.82rem;
  color: rgba(241,241,238,0.55);
  line-height: 1.75;
  margin-bottom: 16px;
}
.ki-service-details {
  font-size: 0.75rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 20px;
}
.ki-service-link {
  font-size: 0.8rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.ki-service-link:hover { opacity: 0.8; }

/* ── RESPONSIVE FIXES ── */
@media (max-width: 768px) {
  .prob-cards-new,
  .testimonials-grid,
  .fallstudien-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .faq-cards-grid {
    grid-template-columns: 1fr;
  }
  .ki-service-cards {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .prob-cards-new,
  .testimonials-grid,
  .fallstudien-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   FALLSTUDIEN – Case Study Pages
   ============================================================ */

/* Overview page – card grid */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  padding: 4rem 0;
}

.case-study-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 169, 98, 0.2);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.case-study-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.5rem;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: gap 0.2s;
}
.case-study-card:hover .case-study-cta { gap: 10px; }

.case-study-logo {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}
.case-study-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px;
  border: 1px solid rgba(201, 169, 98, 0.2);
  display: block;
}

.case-study-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(201, 169, 98, 0.4);
  transform: translateY(-4px);
}

.case-label {
  display: inline-block;
  font-size: 0.8125rem;
  color: #C9A962;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.case-excerpt {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #d4d4d4;
  margin: 1.5rem 0;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.case-stats .stat-value {
  font-size: 2rem;
  font-weight: 600;
  color: #C9A962;
  font-family: 'Playfair Display', serif;
}

.case-stats .stat-label {
  font-size: 0.8125rem;
  color: rgba(212, 212, 212, 0.7);
  margin-top: 0.25rem;
}

/* Hero section for detail pages */
.case-hero {
  padding: 8rem 0 4rem;
  text-align: center;
}

.case-breadcrumb {
  margin-bottom: 1.5rem;
}

.case-breadcrumb a {
  color: #C9A962;
  text-decoration: none;
  font-size: 0.9375rem;
}

.case-breadcrumb a:hover {
  text-decoration: underline;
}

.case-stats-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(201, 169, 98, 0.05);
  border-radius: 12px;
}

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

.stat-hero .stat-value {
  font-size: 2.5rem;
  font-weight: 600;
  color: #C9A962;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.stat-hero .stat-label {
  font-size: 0.875rem;
  color: rgba(212, 212, 212, 0.7);
  margin-top: 0.5rem;
}

/* Client info block */
.client-info {
  padding: 3rem 0;
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
  margin: 3rem 0;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.client-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A962, #8B7355);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  color: #0a0a0a;
  flex-shrink: 0;
}

.client-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fafaf8;
}

.client-title {
  font-size: 0.9375rem;
  color: rgba(212, 212, 212, 0.7);
  margin-top: 0.25rem;
}

.client-quote {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #d4d4d4;
  font-style: italic;
}

.quote-attribution {
  margin-top: 1rem;
  font-size: 1rem;
  font-style: normal;
  color: #C9A962;
}

.client-profile-company {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.company-logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: rgba(201, 169, 98, 0.1);
  border: 2px solid rgba(201, 169, 98, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-initial {
  font-size: 2.5rem;
  font-weight: 600;
  color: #C9A962;
  font-family: 'Playfair Display', serif;
}

/* Content sections */
.case-section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.1);
}

.case-section:last-of-type {
  border-bottom: none;
}

.case-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.case-section h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 1.5rem 0;
}

.case-section p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.005em;
  color: rgba(241, 241, 238, 0.65);
  margin-bottom: 1rem;
}

/* Problem list */
.problem-list {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.problem-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border-left: 3px solid rgba(239, 68, 68, 0.5);
}

.problem-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-content h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #fafaf8;
}

.problem-content p {
  color: rgba(212, 212, 212, 0.8);
  line-height: 1.6;
  margin-bottom: 0;
}

.impact-box {
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
}

.impact-box h4 {
  color: #fafaf8;
  margin-bottom: 0.75rem;
}

.impact-box p {
  margin-bottom: 0;
}

/* Solution modules */
.solution-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.module-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 169, 98, 0.2);
  border-radius: 12px;
}

.module-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.module-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #fafaf8;
}

.module-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-card li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: rgba(212, 212, 212, 0.8);
  line-height: 1.5;
}

.module-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #C9A962;
  font-weight: 600;
}

/* Timeline */
.timeline {
  margin: 3rem 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-left: 2px solid rgba(201, 169, 98, 0.3);
  margin-left: 60px;
  position: relative;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: -8px;
  top: 2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #C9A962;
  border: 3px solid #0a0a0a;
}

.timeline-marker {
  font-size: 0.9375rem;
  color: #C9A962;
  font-weight: 600;
  padding-left: 2rem;
}

.timeline-content h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #fafaf8;
}

.timeline-content p {
  color: rgba(212, 212, 212, 0.8);
  margin-bottom: 0;
}

/* Results grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.result-card {
  padding: 2rem;
  background: rgba(201, 169, 98, 0.05);
  border: 1px solid rgba(201, 169, 98, 0.2);
  border-radius: 12px;
  text-align: center;
}

.result-value {
  font-size: 2.5rem;
  font-weight: 600;
  color: #C9A962;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.result-label {
  font-size: 0.9375rem;
  color: rgba(212, 212, 212, 0.7);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(212, 212, 212, 0.8);
  margin-bottom: 0;
}

/* Final quote */
.case-quote-final {
  background: rgba(201, 169, 98, 0.05);
}

.quote-box {
  max-width: 800px;
  margin: 0 auto;
}

.quote-text {
  font-size: 1.5rem;
  line-height: 1.7;
  font-style: italic;
  color: #fafaf8;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A962, #8B7355);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0a0a0a;
  flex-shrink: 0;
}

.author-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fafaf8;
}

.author-title {
  font-size: 0.9375rem;
  color: rgba(212, 212, 212, 0.7);
  margin-top: 0.25rem;
}

/* CTA section */
.case-cta {
  padding: 6rem 0;
  text-align: center;
  background: rgba(201, 169, 98, 0.03);
}

.case-cta h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.case-cta p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Fallstudien overview hero */
.fallstudien-hero {
  padding: 10rem 0 5rem;
  text-align: center;
}

.fallstudien-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 500;
  color: var(--text-on-dark);
  letter-spacing: -0.04em;
  line-height: 1.07;
  margin-bottom: 1.5rem;
}

.fallstudien-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.fallstudien-hero .hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* Detail case page hero h1 */
.case-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  color: var(--text-on-dark);
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 820px;
  margin: 0 auto 1.5rem;
}

.case-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.case-hero .hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* Case study card h2 */
.case-study-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }

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

  .solution-modules {
    grid-template-columns: 1fr;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
    margin-left: 30px;
    gap: 0.5rem;
  }

  .timeline-marker {
    padding-left: 1rem;
  }

  .case-section h2 {
    font-size: 1.875rem;
  }

  .quote-text {
    font-size: 1.25rem;
  }
}

/* ============================================================
   BLOG — Overview & Article Styles
   ============================================================ */

/* ── BLOG HERO ── */
.blog-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
  border-bottom: 1px solid rgba(201,169,98,0.12);
}
.blog-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--text-on-dark);
  margin-bottom: 20px;
}
.blog-hero h1 em { font-style: italic; color: var(--gold); }
.blog-hero .hero-subtitle {
  font-size: 1.05rem;
  color: rgba(241,241,238,0.55);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── BLOG OVERVIEW GRID ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── BLOG CARD ── */
.blog-card {
  background: #f5f5f3;
  border: 1px solid rgba(201,169,98,0.15);
  border-radius: 16px;
  padding: 2rem 2rem 1.5rem;
  display: block;
  text-decoration: none;
  color: #181818;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.blog-card:hover {
  background: #fafaf8;
  border-color: rgba(201,169,98,0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.blog-card-category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.blog-card h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #0a0a0a;
  margin-bottom: 12px;
  line-height: 1.2;
}
.blog-card-excerpt {
  font-size: 0.88rem;
  color: rgba(10,10,10,0.55);
  line-height: 1.75;
  margin-bottom: 20px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(10,10,10,0.08);
  padding-top: 16px;
  margin-top: auto;
}
.blog-card-readtime {
  font-size: 0.75rem;
  color: rgba(10,10,10,0.45);
  letter-spacing: 0.03em;
}
.blog-card-cta {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold);
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.blog-card:hover .blog-card-cta { gap: 8px; }

/* ── BLOG ARTICLE PAGE ── */
.blog-article-hero {
  padding: 160px 0 60px;
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
  border-bottom: 1px solid rgba(201,169,98,0.12);
}
.blog-article-hero .wrap { max-width: 760px; }
.blog-breadcrumb {
  font-size: 0.78rem;
  color: rgba(241,241,238,0.55);
  margin-bottom: 24px;
}
.blog-breadcrumb a {
  color: rgba(241,241,238,0.55);
  transition: color 0.2s;
}
.blog-breadcrumb a:hover { color: var(--gold); }
.blog-article-category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.blog-article-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--text-on-dark);
  margin-bottom: 20px;
  line-height: 1.1;
}
.blog-article-hero h1 em { font-style: italic; color: var(--gold); }
.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(241,241,238,0.55);
  margin-top: 24px;
}
.blog-meta-author { color: rgba(241,241,238,0.6); font-weight: 500; }
.blog-meta-sep { opacity: 0.25; }

/* ── ARTICLE BODY ── */
.blog-article-body {
  padding: 64px 0 80px;
}
.blog-article-body .wrap {
  max-width: 760px;
}
.blog-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(241,241,238,0.82);
  margin-bottom: 1.5rem;
}
.blog-content h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-on-dark);
  margin: 2.5rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}
.blog-content h3 {
  font-size: 1.15rem;
  color: var(--text-on-dark);
  margin: 1.75rem 0 0.75rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}
.blog-content ul {
  list-style: none;
  margin-bottom: 1.5rem;
}
.blog-content ul li {
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(241,241,238,0.75);
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.4rem;
}
.blog-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.9rem;
}

/* ── PULL QUOTE ── */
.blog-pullquote {
  text-align: center;
  padding: 2.5rem 2rem;
  margin: 2.5rem 0;
  border-top: 1px solid rgba(201,169,98,0.2);
  border-bottom: 1px solid rgba(201,169,98,0.2);
}
.blog-pullquote p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem) !important;
  font-style: italic;
  color: var(--gold) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* ── HIGHLIGHT BOX ── */
.blog-highlight {
  background: rgba(201,169,98,0.06);
  border: 1px solid rgba(201,169,98,0.2);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.blog-highlight p {
  margin-bottom: 0 !important;
  color: rgba(241,241,238,0.88) !important;
}
.blog-highlight strong { color: var(--gold); }

/* ── STAT ROW (inline stats) ── */
.blog-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 2rem 0;
}
.blog-stat-item {
  background: #0a0a0a;
  border: 1px solid rgba(201,169,98,0.15);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}
.blog-stat-value {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.blog-stat-label {
  font-size: 0.75rem;
  color: rgba(241,241,238,0.55);
  letter-spacing: 0.03em;
}
@media (max-width: 520px) {
  .blog-stats-row { grid-template-columns: 1fr; }
}

/* ── BLOG ARTICLE CTA ── */
.blog-article-cta {
  padding: 5rem 0;
  text-align: center;
  background: rgba(201,169,98,0.03);
  border-top: 1px solid rgba(201,169,98,0.12);
}
.blog-article-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text-on-dark);
  margin-bottom: 16px;
}
.blog-article-cta p {
  color: rgba(241,241,238,0.5);
  margin-bottom: 32px;
  font-size: 1rem;
}
.blog-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── UNIFIED CTA SECTION ── */
.article-cta, .case-cta, .blog-article-cta, .cta-section {
  padding: 5rem 0;
  text-align: center;
}
.article-cta h2, .cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.article-cta p, .cta-section p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 520px;
  margin: 0 auto 2rem;
}
.article-cta .cta-btns, .case-cta .cta-btns, .blog-article-cta .cta-btns, .cta-section .cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── MORE ARTICLES SECTION ── */
.blog-more-articles {
  padding: 5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.blog-more-articles h2 {
  font-size: 1.6rem;
  color: var(--text-on-dark);
  margin-bottom: 32px;
}
.blog-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .blog-more-grid { grid-template-columns: 1fr; }
}
.blog-more-card {
  background: #0a0a0a;
  border: 1px solid rgba(201,169,98,0.12);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: block;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s;
}
.blog-more-card:hover {
  border-color: rgba(201,169,98,0.35);
  transform: translateY(-3px);
}
.blog-more-category {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.blog-more-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text-on-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-more-readtime {
  font-size: 0.72rem;
  color: rgba(241,241,238,0.6);
}

/* ── RELATED ARTICLES (alias for blog-more-articles with enhanced hover) ── */
.related-articles { border-top: 1px solid rgba(201,169,98,0.2); }
.related-articles .blog-more-card {
  background: rgba(201,169,98,0.04);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.related-articles .blog-more-card:hover {
  background: rgba(201,169,98,0.08);
  box-shadow: 0 6px 24px rgba(201,169,98,0.15);
}

/* ── GDPR CONSENT CHECKBOX ── */
.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.6;
}
.consent-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--gold);
}
.consent-text {
  color: #333333;
}
.consent-text a {
  color: var(--gold);
  text-decoration: underline;
}
.consent-text a:hover {
  color: #d4b878;
}

/* ── PRICING CARDS ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 780px;
  margin: 0 auto 48px;
}
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-icon {
  display: block;
  margin-bottom: 4px;
}
.pricing-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: #181818;
  margin: 0;
}
.pricing-card p {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ── INTEGRATION CARDS ── */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .integration-grid { grid-template-columns: 1fr; }
}
.integration-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.integration-card:hover {
  background: rgba(201,169,98,0.05);
  border-color: var(--gold-border);
}
.integration-icon {
  display: block;
  margin-bottom: 4px;
}
.integration-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #e0e0e0;
  margin: 0;
}
.integration-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0;
  letter-spacing: 0.01em;
}
.integration-description {
  font-size: 0.8rem;
  color: rgba(224,224,224,0.55);
  margin: 0;
  line-height: 1.5;
}

/* ── MEGA-MENU ── */
.nav-mega { position: static; }

/* Bridge: invisible element covers gap between trigger text and dropdown */
.nav-mega > a.dropdown-trigger {
  position: relative;
}
.nav-mega > a.dropdown-trigger::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -30px;
  right: -30px;
  height: 32px;
}

.nav-mega .mega-menu-content {
  position: absolute;
  top: 100%;
  left: 50%;
  /* Negative margin eliminates any gap between nav bottom and dropdown */
  margin-top: -8px;
  padding-top: calc(2.5rem + 8px);
  transform: translateX(-50%) translateY(8px);
  width: 600px;
  max-width: 90vw;
  background: #0a0a0a;
  border: 1px solid rgba(201,169,98,0.3);
  border-radius: 8px;
  padding-right: 2.5rem;
  padding-bottom: 2.5rem;
  padding-left: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transition-delay: 400ms; /* close delay — user has time to reach dropdown */
  z-index: 1000;
}
.nav-mega:hover .mega-menu-content,
.nav-mega:focus-within .mega-menu-content,
.nav-mega .mega-menu-content.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0ms; /* open instantly */
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mega-menu-column { display: flex; flex-direction: column; gap: 4px; }
.mega-menu-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.mega-menu-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.mega-menu-link:hover { background: rgba(201,169,98,0.1); }
.mega-menu-link strong {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  font-weight: 600;
}
.mega-menu-link span {
  font-size: 0.75rem;
  color: rgba(241,241,238,0.7);
}
.dd-chevron {
  width: 10px;
  height: 6px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  transition: transform 0.2s ease;
}
.nav-mega:hover .dd-chevron,
.nav-mega.open .dd-chevron { transform: rotate(180deg); }
@media (max-width: 768px) {
  .nav-mega .mega-menu-content {
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    transform: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .nav-mega:hover .mega-menu-content,
  .nav-mega:focus-within .mega-menu-content,
  .nav-mega .mega-menu-content.open {
    transform: none;
  }
  .mega-menu-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   MODULE PAGES — PREMIUM MOCKUPS & LAYOUT
   (modul-loesungen, module-solutions-en, modul-rjesenja-hr)
   ============================================================ */
.mod-split { display:flex; align-items:flex-start; gap:64px; flex-wrap:wrap; }
.mod-split--rev { flex-direction:row-reverse; }
.mod-content { flex:1 1 340px; }
.mod-visual  { flex:1 1 400px; }

.mod-eyebrow { font-size:0.68rem; font-weight:600; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold); margin-bottom:14px; }
.mod-title   { font-family:var(--serif); font-size:clamp(1.5rem,2.8vw,2.1rem); font-weight:500; line-height:1.18; letter-spacing:-0.03em; color:#181818; margin-bottom:18px; }
.mod-title.on-dark { color:var(--text-on-dark); }
.mod-body    { font-size:0.93rem; line-height:1.8; color:#555; margin-bottom:28px; }
.mod-body.on-dark { color:var(--text-muted); }

.mod-features { display:flex; flex-direction:column; gap:10px; margin-bottom:32px; }
.mod-feature  { display:flex; align-items:flex-start; gap:12px; }
.mod-feat-dot { width:6px; height:6px; border-radius:50%; background:var(--gold); margin-top:8px; flex-shrink:0; }
.mod-feat-text { font-size:0.88rem; color:#444; line-height:1.6; }
.mod-feat-text.on-dark { color:rgba(241,241,238,0.65); }

.mod-link { display:inline-flex; align-items:center; gap:8px; color:var(--gold); font-size:0.84rem; font-weight:500; letter-spacing:0.01em; transition:gap 0.2s; }
.mod-link:hover { gap:13px; }
.mod-link svg { width:14px; height:14px; stroke:currentColor; fill:none; flex-shrink:0; }

/* Mockup shell */
.mockup {
  background: linear-gradient(150deg,#1a1a18 0%,#1e1e1c 100%);
  border: 1px solid rgba(201,169,98,0.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
}
.mockup-bar {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mockup-dots { display:flex; gap:6px; }
.mockup-dot { width:9px; height:9px; border-radius:50%; }
.mockup-dot:nth-child(1) { background:#ff5f57; }
.mockup-dot:nth-child(2) { background:#febc2e; }
.mockup-dot:nth-child(3) { background:#28c840; }
.mockup-title { font-size:0.72rem; font-weight:500; color:rgba(255,255,255,0.35); letter-spacing:0.08em; text-transform:uppercase; }
.mockup-body { padding:20px; }

/* Stat row */
.mk-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:16px; }
.mk-stat { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.06); border-radius:10px; padding:12px 10px; text-align:center; }
.mk-stat-val { font-size:1.2rem; font-weight:600; color:var(--gold); display:block; line-height:1; margin-bottom:4px; }
.mk-stat-label { font-size:0.65rem; color:rgba(255,255,255,0.35); letter-spacing:0.05em; text-transform:uppercase; }
.mk-stat.mk-warn .mk-stat-val { color:#fbbf24; }
.mk-stat.mk-alert .mk-stat-val { color:#f87171; }
.mk-stat.mk-ok .mk-stat-val { color:#4ade80; }

/* Toolbar */
.mk-toolbar { display:flex; align-items:center; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.mk-search { flex:1; min-width:120px; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08); border-radius:8px; padding:7px 12px; font-size:0.73rem; color:rgba(255,255,255,0.35); display:flex; align-items:center; gap:7px; }
.mk-filter-group { display:flex; gap:5px; }
.mk-filter { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08); border-radius:20px; padding:5px 10px; font-size:0.67rem; color:rgba(255,255,255,0.4); cursor:default; white-space:nowrap; }
.mk-filter.active { background:rgba(201,169,98,0.15); border-color:rgba(201,169,98,0.4); color:var(--gold); }
.mk-filter.warn { border-color:rgba(251,191,36,0.3); color:#fbbf24; }
.mk-btn { background:var(--gold); color:#0a0a0a; border-radius:8px; padding:6px 12px; font-size:0.68rem; font-weight:600; cursor:default; white-space:nowrap; }

/* Table */
.mk-table { width:100%; border-collapse:collapse; font-size:0.72rem; }
.mk-table th { color:rgba(255,255,255,0.28); font-weight:500; letter-spacing:0.06em; text-transform:uppercase; font-size:0.63rem; padding:6px 10px; border-bottom:1px solid rgba(255,255,255,0.06); text-align:left; }
.mk-table td { padding:9px 10px; color:rgba(255,255,255,0.65); border-bottom:1px solid rgba(255,255,255,0.04); }
.mk-table tr:last-child td { border-bottom:none; }
.mk-table tr:hover td { background:rgba(255,255,255,0.02); }
.mk-badge { display:inline-flex; align-items:center; gap:4px; padding:3px 8px; border-radius:20px; font-size:0.63rem; font-weight:500; white-space:nowrap; }
.mk-badge.active { background:rgba(74,222,128,0.12); color:#4ade80; }
.mk-badge.paused { background:rgba(255,255,255,0.06); color:rgba(255,255,255,0.4); }
.mk-badge.alert  { background:rgba(248,113,113,0.12); color:#f87171; }
.mk-badge.warn   { background:rgba(251,191,36,0.12); color:#fbbf24; }
.mk-badge.paid   { color:#4ade80; }
.mk-badge.open   { color:#fbbf24; }

/* Calendar mockup */
.mk-cal-header { display:grid; grid-template-columns:56px repeat(7,1fr); gap:2px; margin-bottom:4px; }
.mk-cal-day { font-size:0.63rem; text-align:center; color:rgba(255,255,255,0.3); padding:4px 0; }
.mk-cal-day.today { color:var(--gold); font-weight:600; }
.mk-cal-grid { display:grid; grid-template-columns:56px repeat(7,1fr); gap:2px; }
.mk-cal-time { font-size:0.62rem; color:rgba(255,255,255,0.25); padding:4px 6px 4px 0; text-align:right; line-height:1; align-self:start; padding-top:6px; }
.mk-cal-slot { height:34px; border-radius:5px; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.04); position:relative; overflow:hidden; }
.mk-event { position:absolute; inset:2px; border-radius:3px; padding:3px 5px; font-size:0.6rem; font-weight:500; overflow:hidden; white-space:nowrap; }
.mk-event.yoga    { background:rgba(201,169,98,0.25); color:var(--gold); }
.mk-event.pilates { background:rgba(139,92,246,0.25); color:#a78bfa; }
.mk-event.kraft   { background:rgba(59,130,246,0.25); color:#60a5fa; }
.mk-event.cardio  { background:rgba(16,185,129,0.2); color:#34d399; }
.mk-event.hiit    { background:rgba(239,68,68,0.2); color:#f87171; }
.mk-cap { font-size:0.6rem; color:rgba(255,255,255,0.3); }

/* Shift grid */
.mk-shift-grid { display:grid; gap:3px; }
.mk-shift-row { display:grid; grid-template-columns:80px repeat(7,1fr); gap:3px; }
.mk-shift-name { font-size:0.7rem; color:rgba(255,255,255,0.55); padding:6px 8px; display:flex; align-items:center; }
.mk-shift-cell { border-radius:5px; padding:5px 4px; text-align:center; font-size:0.62rem; font-weight:600; }
.mk-shift-cell.on      { background:rgba(201,169,98,0.2); color:var(--gold); }
.mk-shift-cell.off     { background:rgba(255,255,255,0.03); color:rgba(255,255,255,0.2); }
.mk-shift-cell.conflict { background:rgba(248,113,113,0.15); color:#f87171; border:1px solid rgba(248,113,113,0.3); }
.mk-shift-cell.pending { background:rgba(251,191,36,0.12); color:#fbbf24; }
.mk-shift-header { font-size:0.6rem; color:rgba(255,255,255,0.25); text-align:center; padding:3px; text-transform:uppercase; letter-spacing:0.05em; }

/* Check-in feed */
.mk-checkin-feed { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.mk-checkin-item { display:flex; align-items:center; gap:10px; padding:8px 10px; background:rgba(255,255,255,0.03); border-radius:8px; border:1px solid rgba(255,255,255,0.05); }
.mk-checkin-avatar { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:0.65rem; font-weight:600; flex-shrink:0; }
.mk-checkin-name { font-size:0.75rem; color:rgba(255,255,255,0.7); font-weight:500; }
.mk-checkin-time { font-size:0.65rem; color:rgba(255,255,255,0.3); margin-top:1px; }
.mk-checkin-status { margin-left:auto; flex-shrink:0; }
.mk-occ-bar { background:rgba(255,255,255,0.05); border-radius:6px; height:6px; overflow:hidden; margin-bottom:5px; }
.mk-occ-fill { height:100%; border-radius:6px; background:linear-gradient(90deg,var(--gold),rgba(201,169,98,0.6)); }

/* Invoice mockup */
.mk-revenue-chart { display:flex; align-items:flex-end; gap:6px; height:56px; margin-bottom:12px; padding-bottom:4px; border-bottom:1px solid rgba(255,255,255,0.06); }
.mk-bar { flex:1; border-radius:3px 3px 0 0; background:rgba(201,169,98,0.25); min-height:8px; position:relative; }
.mk-bar.peak { background:var(--gold); }
.mk-bar-label { position:absolute; bottom:-16px; left:50%; transform:translateX(-50%); font-size:0.55rem; color:rgba(255,255,255,0.25); white-space:nowrap; }
.mk-inv-row { display:flex; justify-content:space-between; align-items:center; padding:7px 0; border-bottom:1px solid rgba(255,255,255,0.05); font-size:0.72rem; }
.mk-inv-row:last-child { border-bottom:none; }
.mk-inv-name { color:rgba(255,255,255,0.65); }
.mk-inv-amt  { font-weight:600; }
.mk-inv-amt.paid   { color:#4ade80; }
.mk-inv-amt.open   { color:#fbbf24; }
.mk-inv-amt.overdue { color:#f87171; }

/* KI chat mockup */
.mk-call-log { display:flex; flex-direction:column; gap:6px; }
.mk-call-item { display:flex; gap:10px; align-items:flex-start; padding:8px 10px; background:rgba(255,255,255,0.03); border-radius:8px; border:1px solid rgba(255,255,255,0.05); }
.mk-call-ico { width:24px; height:24px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:0.7rem; flex-shrink:0; margin-top:1px; }
.mk-call-ico.in  { background:rgba(74,222,128,0.15); color:#4ade80; }
.mk-call-ico.out { background:rgba(201,169,98,0.15); color:var(--gold); }
.mk-call-meta { flex:1; min-width:0; }
.mk-call-num  { font-size:0.73rem; font-weight:600; color:rgba(255,255,255,0.7); }
.mk-call-sum  { font-size:0.67rem; color:rgba(255,255,255,0.35); margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mk-call-time { font-size:0.63rem; color:rgba(255,255,255,0.25); flex-shrink:0; }
.mk-ai-badge  { display:inline-flex; align-items:center; gap:4px; padding:3px 8px; background:rgba(201,169,98,0.1); border:1px solid rgba(201,169,98,0.2); border-radius:20px; font-size:0.62rem; color:var(--gold); margin-top:4px; }

/* Module grid cards */
.modules-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:16px; }
.module-card {
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:16px;
  padding:24px;
  transition:box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
  text-decoration:none;
  display:block;
}
.module-card:hover { box-shadow:var(--shadow-md); transform:translateY(-3px); border-color:rgba(201,169,98,0.4); }
.module-card.coming { opacity:0.65; cursor:default; pointer-events:none; }
.module-card-icon { margin-bottom:14px; }
.module-card-title { font-size:0.92rem; font-weight:600; color:#181818; margin-bottom:6px; line-height:1.3; }
.module-card-desc  { font-size:0.8rem; color:#777; line-height:1.55; }
.module-card-badge { display:inline-flex; align-items:center; gap:4px; margin-top:12px; padding:3px 10px; border-radius:20px; font-size:0.65rem; font-weight:600; letter-spacing:0.04em; }
.module-card-badge.available   { background:rgba(74,222,128,0.1); color:#16a34a; }
.module-card-badge.coming-soon { background:rgba(201,169,98,0.1); color:var(--gold); }
.module-card-badge.ki-powered  { background:rgba(139,92,246,0.1); color:#7c3aed; }

/* Module page section backgrounds */
.bg-alt   { background:#f8f8f6; }
.bg-white { background:#fff; }
.bg-dark  { background:linear-gradient(180deg,#0a0a0a 0%,#111 100%); }

/* Pricing note */
.mod-pricing-note {
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 16px;
  background:rgba(201,169,98,0.06);
  border:1px solid rgba(201,169,98,0.2);
  border-radius:8px;
  font-size:0.78rem; color:#6b4e12;
  margin-bottom:28px;
}
.mod-pricing-note .dot { width:6px; height:6px; border-radius:50%; background:var(--gold); flex-shrink:0; }

/* Update badge */
.update-badge {
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 20px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:100px;
  font-size:0.8rem; color:rgba(255,255,255,0.55);
}
.update-badge span { color:var(--gold); }

/* Heat map */
.mk-heat { display:grid; grid-template-columns:repeat(7,1fr); gap:3px; }
.mk-heat-cell { height:22px; border-radius:3px; }
.mk-heat-label { font-size:0.58rem; color:rgba(255,255,255,0.25); text-align:center; margin-top:3px; }

/* ============================================================
   LANGUAGE DISCLAIMER — Legal pages multi-language notice
   ============================================================ */
.language-disclaimer {
  background: rgba(201, 169, 98, 0.1);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}
.language-disclaimer p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(212, 212, 212, 0.9);
}

/* ============================================================
   WCAG 2.1 AA — SKIP-TO-CONTENT LINK (2.4.1)
   ============================================================ */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 10000;
  background: #C9A962; color: #0a0a0a; padding: 12px 24px;
  border-radius: 4px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid #0a0a0a;
  transition: top 0.2s;
}
.skip-link:focus,
.skip-link:focus-visible { top: 16px; outline: 3px solid #0a0a0a; outline-offset: 2px; }

/* ============================================================
   WCAG 2.1 AA — FOCUS STATES (2.4.7)
   ============================================================ */
/* Universal visible focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #C9A962;
  outline-offset: 2px;
  border-radius: 2px;
}
/* Gold buttons — white outline so it contrasts on gold background */
.btn-gold:focus-visible {
  outline: 3px solid #fafaf8;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(201,169,98,0.4);
}
/* Ghost / dark / outline buttons */
.btn-ghost:focus-visible,
.btn-dark:focus-visible,
.btn-outline:focus-visible {
  outline: 3px solid #C9A962;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(201,169,98,0.2);
}
/* Nav + footer links */
.n-link:focus-visible,
.f-links a:focus-visible,
.n-cta:focus-visible { outline: 2px solid #C9A962; outline-offset: 3px; border-radius: 2px; }
/* Language dropdown */
.lang-dropdown-toggle:focus-visible,
.lang-option:focus-visible { outline: 2px solid #C9A962; outline-offset: 2px; }
/* Form inputs (enhance existing) */
.cf-input:focus-visible,
.cf-textarea:focus-visible {
  outline: 2px solid #C9A962;
  border-color: #C9A962;
  box-shadow: 0 0 0 4px rgba(201,169,98,0.15);
}
/* Cookie banner buttons */
.btn-small:focus-visible { outline: 3px solid #fafaf8; outline-offset: 2px; }
/* Fallback for browsers without :focus-visible */
@supports not selector(:focus-visible) {
  a:focus, button:focus, input:focus, textarea:focus, [tabindex]:focus {
    outline: 3px solid #C9A962; outline-offset: 2px;
  }
}

/* ============================================================
   WCAG 2.1 AA — REDUCED MOTION (2.3.3)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto !important; }
  .card:hover, .blog-more-card:hover, .related-card:hover { transform: none !important; }
}

/* ============================================================
   BLOCK 7 — MOBILE PERFECTION
   ============================================================ */

/* Cat 2: Micro-breakpoint 375px */
@media (max-width: 375px) {
  .wrap { padding: 0 16px; }
  .sect-pad { padding: 64px 0; }
  .hero-centered { padding: 130px 16px 64px; }
  .btn-gold, .btn-outline { font-size: 0.8rem; padding: 13px 24px; }
  h1, .h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  h2, .h2 { font-size: clamp(1.3rem, 7vw, 1.8rem); }
}

/* Cat 5: Mobile typography — prevent iOS zoom + label legibility */
@media (max-width: 768px) {
  .cf-input, .cf-textarea {
    font-size: 1rem;
    min-height: 48px;
  }
  .cf-label { font-size: 0.875rem; }
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="search"], textarea, select {
    font-size: 16px;
  }
}

/* Cat 8: db-kpis responsive grid */
@media (max-width: 768px) {
  .db-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .db-kpis { grid-template-columns: 1fr; }
}

/* Cat 9: Back-to-top button */
.btt-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 44px; height: 44px;
  background: var(--gold); color: #0a0a0a;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  transform: translateY(8px);
}
.btt-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.btt-btn:hover { transform: translateY(-2px); }
@media (max-width: 768px) {
  .btt-btn { bottom: 16px; right: 16px; }
}

/* Cat 10: Disable 3D dashboard transform on mobile */
@media (max-width: 768px) {
  .db-wrap, .dashboard-visual, [class*="dashboard"] {
    transform: none !important;
    perspective: none !important;
  }
}

/* Cat 9: Inline contact tel/mailto line */
.cf-mobile-contact {
  font-size: 0.82rem; color: var(--text-soft);
  margin-bottom: 20px; text-align: center;
}
.cf-mobile-contact a { color: var(--gold); text-decoration: none; }
.cf-mobile-contact a:hover { text-decoration: underline; }


/* ============================================================
   BLOCK 8 — CONTENT & CONVERSION
   ============================================================ */

/* Cat 1: Rating widget in hero */
.hero-trust-band {
  display: flex; align-items: center; gap: 32px;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid rgba(201,169,98,0.2);
  flex-wrap: wrap;
}
.rating-widget { display: flex; align-items: center; gap: 10px; }
.rating-widget .stars { color: #C9A962; font-size: 1.2rem; letter-spacing: 2px; }
.rating-value { font-size: 1.5rem; font-weight: 700; color: var(--text-on-dark); }
.rating-count { font-size: 0.8rem; color: var(--text-muted); }
.trust-logos { display: flex; gap: 20px; align-items: center; }
.trust-logos img { filter: grayscale(100%) brightness(2); opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s; height: 28px; width: auto; }
.trust-logos img:hover { filter: grayscale(0%); opacity: 1; }

/* Cat 6: Urgency banner */
.urgency-banner {
  display: flex; align-items: center; gap: 10px;
  background: rgba(201,169,98,0.08);
  border: 1px solid rgba(201,169,98,0.25);
  border-radius: 8px; padding: 12px 16px; margin-bottom: 16px;
  font-size: 0.84rem; color: var(--text-dark);
}
.urgency-icon { flex-shrink: 0; }
.urgency-banner strong { color: #C9A962; font-weight: 700; }

/* Cat 6: Sticky CTA */
.sticky-cta {
  position: fixed; bottom: -100px; left: 0; right: 0; z-index: 850;
  background: linear-gradient(135deg, #0a0a0a 0%, #181818 100%);
  padding: 16px 0; border-top: 1px solid rgba(201,169,98,0.2);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  transition: bottom 0.3s var(--ease);
}
.sticky-cta.visible { bottom: 0; }
.sticky-cta-content {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.sticky-cta-text { display: flex; flex-direction: column; }
.sticky-cta-text strong { font-size: 1rem; color: var(--text-on-dark); }
.sticky-cta-text span { font-size: 0.8rem; color: var(--text-muted); }
.btn-sticky { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 640px) {
  .sticky-cta-content { flex-direction: column; text-align: center; gap: 12px; }
  .btn-sticky { width: 100%; justify-content: center; }
}

/* Cat 5: Pricing / testimonials / legal pages */
.testimonials-hero { text-align: center; padding: 80px 0 40px; }
.rating-display { display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.rating-display .stars { color: #C9A962; font-size: 2rem; letter-spacing: 4px; }
.rating-display .rating-text { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px; padding: 40px 0; }
.testimonial-card-full { background: #fafaf8; padding: 32px; border-radius: 12px;
  border: 1px solid rgba(201,169,98,0.2); }
.testimonial-card-full blockquote { font-style: italic; color: var(--text-mid);
  line-height: 1.7; margin: 0 0 20px; border-left: 3px solid var(--gold); padding-left: 16px; }
.testimonial-metrics-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.testimonial-metrics-row span { background: rgba(201,169,98,0.1); color: #C9A962;
  padding: 4px 10px; border-radius: 4px; font-size: 0.78rem; font-weight: 500; }

.pricing-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; padding: 56px 0; }
.pricing-card { background: #fafaf8; border: 2px solid rgba(201,169,98,0.2);
  border-radius: 16px; padding: 36px 32px; position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: #C9A962; border-width: 3px; }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #C9A962; color: #0a0a0a; padding: 5px 18px;
  border-radius: 20px; font-weight: 600; font-size: 0.78rem; white-space: nowrap; }
.pricing-amount { font-family: var(--serif); font-size: 2.8rem; font-weight: 500;
  color: #C9A962; display: block; line-height: 1; margin: 16px 0 4px; }
.pricing-period { font-size: 0.9rem; color: var(--text-soft); }
.pricing-features { list-style: none; padding: 0; margin: 24px 0 32px; }
.pricing-features li { padding: 10px 0; border-bottom: 1px solid rgba(201,169,98,0.1);
  color: var(--text-dark); font-size: 0.88rem; }
.pricing-features li:last-child { border-bottom: none; }

.comparison-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 40px 0; }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 14px 20px; text-align: left;
  border-bottom: 1px solid var(--border-light); font-size: 0.88rem; }
.comparison-table th { font-weight: 600; background: #f8f8f6; }
.comparison-table .budisync-col { color: #C9A962; background: rgba(201,169,98,0.04); }
.comparison-table .check { color: #2e7d32; font-weight: 500; }
.comparison-table .cross { color: #c62828; }
.comparison-table .partial { color: #e65100; }

.article-toc { background: rgba(201,169,98,0.05); border-left: 4px solid #C9A962;
  padding: 20px 24px; margin: 32px 0; border-radius: 0 8px 8px 0; }
.article-toc h2 { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.article-toc ol { list-style: decimal; padding-left: 20px; }
.article-toc li { padding: 4px 0; }
.article-toc a { color: var(--text-mid); text-decoration: none; font-size: 0.88rem; }
.article-toc a:hover { color: #C9A962; }

.blog-article-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.blog-article-meta time { font-size: 0.8rem; color: var(--text-soft); }
.cat-label-link { background: rgba(201,169,98,0.12); color: #C9A962;
  padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 500; text-decoration: none; }

.legal-content { max-width: 760px; margin: 0 auto; padding: 40px 0; }
.legal-section { margin-bottom: 40px; }
.legal-section h2 { font-family: var(--serif); font-size: 1.2rem; color: var(--text-dark);
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border-light); }
.legal-section p, .legal-section li { font-size: 0.9rem; color: var(--text-mid);
  line-height: 1.8; margin-bottom: 8px; }

.faq-hub-categories { display: flex; flex-direction: column; gap: 48px; padding: 40px 0; }
.faq-category-block h2 { font-family: var(--serif); font-size: 1.4rem; color: var(--text-dark); margin-bottom: 20px; }
.resources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; padding: 40px 0; }
.resource-card { background: #fafaf8; border: 1px solid var(--border-light);
  border-radius: 12px; padding: 28px; }
.resource-type { display: inline-block; background: rgba(201,169,98,0.1); color: #C9A962;
  font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.resource-card h3 { font-family: var(--serif); font-size: 1rem; color: var(--text-dark); margin-bottom: 8px; }
.resource-card p { font-size: 0.84rem; color: var(--text-soft); margin-bottom: 20px; }
.resource-coming { opacity: 0.6; border-style: dashed; }

/* ============================================================
   BLOCKS 4-6: DESIGN + UX + ACCESSIBILITY
   ============================================================ */

/* Cat 7B: Blog cards on dark pages retain light #fafaf8 base (no override needed) */
.blog-card h2 { color: #0a0a0a; }


/* TEIL 10: Testimonials section - already light (#f8f8f6), enhance cards */
.testimonial-card {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(201,169,98,0.15);
}
.testimonial-text { color: #181818; }
.testimonial-name { color: #181818; font-weight: 600; }
.testimonial-role { color: rgba(24,24,24,0.55); }

/* BLOCK 4: Scroll progress indicator */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #C9A962, #d4b878);
  transform-origin: left; transform: scaleX(0);
  z-index: 10000; transition: transform 0.1s linear;
  pointer-events: none;
}

/* BLOCK 4: Button ripple base */
.btn-gold, .btn-ghost, .btn-outline {
  position: relative; overflow: hidden;
}
.btn-ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0);
  animation: ripple-anim 0.5s linear;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* BLOCK 4: Form input valid state */
.cf-input.is-valid, .cf-textarea.is-valid {
  border-color: #2e7d32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%232e7d32' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 40px;
}
.cf-input.is-valid:focus { border-color: #2e7d32; outline-color: #2e7d32; }

/* BLOCK 5: Article reading progress */
.article-progress {
  position: sticky; top: 0; z-index: 100;
  height: 3px; background: rgba(201,169,98,0.15);
}
.article-progress-fill {
  height: 100%; background: var(--gold);
  width: 0%; transition: width 0.1s linear;
}

/* BLOCK 6: Enhanced focus trap visual for mobile menu */
.n-links.open:focus-within .n-links-close-hint {
  display: block;
}
.n-links-close-hint {
  display: none; position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: rgba(201,169,98,0.15); border: 1px solid var(--gold-border);
  padding: 8px 16px; border-radius: 20px; font-size: 0.75rem;
  color: var(--text-muted); z-index: 900;
}

/* BLOCK 6: Enhanced form error announcements */
.cf-error[role='alert'] {
  animation: error-appear 0.2s ease;
}
@keyframes error-appear {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* BLOCK 4: Link hover underline animation */
.blog-more-card-title, .mega-menu-link strong {
  background-image: linear-gradient(#C9A962, #C9A962);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease;
}
.blog-more-card:hover .blog-more-card-title,
.mega-menu-link:hover strong {
  background-size: 100% 1px;
}

/* TEIL 6: Fallstudien – Lösung-Section light bg, dark solution cards */
.case-section.case-solution {
  background: #fafaf8;
}
.case-section.case-solution h2,
.case-section.case-solution h3,
.case-section.case-solution > .wrap > p {
  color: #0a0a0a;
}
.case-section.case-solution .module-card {
  background: #0a0a0a;
  color: var(--fg);
  border: 1px solid rgba(201,169,98,0.2);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.case-section.case-solution .module-card:hover {
  border-color: rgba(201,169,98,0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(201,169,98,0.15);
}
.case-section.case-solution .module-card h4 {
  color: var(--gold);
}
.case-section.case-solution .module-card ul li {
  color: rgba(241,241,238,0.75);
}

/* ── Keyboard Accessibility – Focus Styles ──────────────────────────────── */
*:focus-visible {
  outline: 2px solid #C9A962;
  outline-offset: 2px;
}
