/* =============================================================
   LEONAVIS – Bold Dark Style (v2)
   Sans-Bold + Gradient-Wort, Deep-Black BG, Side-Rails
   ============================================================= */

/* -------------------- Tokens -------------------- */
:root {
  --bg:         #0a0f1a;
  --bg-elev-1:  #111827;
  --bg-elev-2:  #172035;
  --bg-band:    #0d1322;

  --text:       #e8ecf5;
  --text-dim:   #8a96b3;
  --text-mute:  #5b6684;

  --border:     rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --accent-1:   #3b82f6;   /* blue   */
  --accent-2:   #22d3ee;   /* cyan   */
  --success:    #10b981;
  --warn:       #f59e0b;

  --gradient:   linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
  --gradient-soft: linear-gradient(135deg, rgba(59, 130, 246, 0.18) 0%, rgba(34, 211, 238, 0.14) 100%);
  --gradient-hero: radial-gradient(ellipse at 20% 10%, rgba(59, 130, 246, 0.22) 0%, transparent 55%),
                   radial-gradient(ellipse at 90% 80%, rgba(34, 211, 238, 0.18) 0%, transparent 55%);

  --nav-height: 88px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 6rem;

  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 20px;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------------------- Typography helpers -------------------- */
.gradient-text {
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.section-kicker {
  display: block;
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn--gradient {
  background: var(--gradient);
  color: #0a0f1a;
  font-weight: 700;
  box-shadow: 0 6px 24px -8px rgba(59, 130, 246, 0.55);
  position: relative;
  overflow: hidden;
}
.btn--gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}
.btn--gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -8px rgba(59, 130, 246, 0.75), 0 0 30px -5px rgba(34, 211, 238, 0.5);
}
.btn--gradient:hover::after {
  transform: translateX(120%);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.03);
}
.btn--lg { padding: 1.05rem 1.75rem; font-size: 1rem; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-link:hover { color: #67e8f9; }

/* -------------------- NAV -------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: rgba(10, 15, 26, 0.75);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 0.25rem 0.75rem;
}
.nav__brand::before {
  content: "";
  position: absolute;
  inset: -4px -8px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.22) 0%, rgba(34, 211, 238, 0.14) 40%, transparent 70%);
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease), transform 0.35s var(--ease);
}
.nav__brand:hover::before {
  opacity: 1;
  filter: blur(20px);
  transform: scale(1.15);
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.55) 0%, rgba(34, 211, 238, 0.32) 40%, transparent 70%);
}
.nav__brand img {
  height: 68px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.35));
  transition: filter 0.35s var(--ease);
}
.nav__brand:hover img {
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.55))
          drop-shadow(0 0 24px rgba(59, 130, 246, 0.4));
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}
.nav__link:hover, .nav__link.is-active {
  color: var(--text);
}
.nav__link.is-active::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.nav__cta {
  margin-left: 0.35rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
}

/* -------------------- Language switcher -------------------- */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.lang__btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}
.lang__flag { font-size: 1rem; line-height: 1; }
.lang__code { letter-spacing: 0.08em; }
.lang__caret { font-size: 0.7rem; opacity: 0.7; transition: transform 0.2s; }
.lang.is-open .lang__caret { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 130px;
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.35rem;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  z-index: 60;
  list-style: none;
  margin: 0;
}
.lang.is-open .lang__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang__menu li { padding: 0; }
.lang__menu button,
.lang__menu a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  box-sizing: border-box;
}
.lang__menu button:hover,
.lang__menu a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.lang__menu button.is-active,
.lang__menu a.is-active {
  background: var(--gradient-soft);
  color: var(--text);
}
.lang__menu button[aria-selected="false"]:not(.is-active) {
  cursor: not-allowed;
  opacity: 0.7;
}
.lang__menu a { cursor: pointer; opacity: 1; }
.lang__soon {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--warn);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav__burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------------------- Side rails -------------------- */
.side-rail {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  writing-mode: vertical-rl;
  transform-origin: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-mute);
  pointer-events: none;
  user-select: none;
}
.side-rail--left  { left: 1.25rem;  transform: translateY(-50%) rotate(180deg); }
.side-rail--right { right: 1.25rem; }
.side-rail span {
  display: inline-block;
  padding: 0.5rem 0;
}

/* -------------------- HERO -------------------- */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
  background: var(--bg);
  background-image: var(--gradient-hero);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 80%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero__content { position: relative; }
.hero__title {
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 1.5rem 0 1.25rem;
  letter-spacing: -0.03em;
}
.hero__title .gradient-text { display: inline-block; }
.hero__sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 56ch;
  margin-bottom: 2rem;
  line-height: 1.55;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Floating cards in hero visual */
.hero__visual {
  position: relative;
  height: 480px;
}
.hero__card {
  position: absolute;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  min-width: 160px;
  animation: floatY 6s ease-in-out infinite;
}
.hero__card--1 { top: 8%;  left: 8%;  animation-delay: 0s;   }
.hero__card--2 { top: 22%; right: 5%; animation-delay: 1.2s; }
.hero__card--3 { top: 46%; left: 22%; animation-delay: 2.4s; }
.hero__card--4 { bottom: 8%; right: 12%; animation-delay: 3.6s; }
.hero__card__kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.hero__card__value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero__card__value.gradient-text { font-weight: 800; }
.hero__card__label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* Decorative connection lines */
.hero__mesh {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.4;
  pointer-events: none;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* -------------------- LOGO MARQUEE -------------------- */
.logos {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-band);
}
.logos__heading { text-align: center; margin-bottom: 2rem; }
.logos__marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logos__track {
  display: flex;
  gap: 3.5rem;
  align-items: center;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.logos__marquee:hover .logos__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo {
  height: 44px;
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.logo:hover { opacity: 1; }
.logo img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.logo img[alt^="Stadt Bern"] { height: 90%; }
.logo img[alt^="Glencore"] { height: 60%; }

/* Dual-line logo: wordmark + latin caption underneath */
.logo--dual {
  flex-direction: column;
  gap: 0.15rem;
  height: 44px;
  line-height: 1;
}
.logo--dual img {
  height: 28px !important;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.logo__caption {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-mute);
  font-style: normal;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.logos__note {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-mute);
  font-size: 0.8rem;
}

/* -------------------- Section base -------------------- */
.section {
  padding: var(--space-xl) 0;
  position: relative;
}
.section--alt { background: var(--bg-elev-1); }
.section__header {
  max-width: 780px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.section__title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  margin: 1rem 0 1rem;
  letter-spacing: -0.025em;
}
.section__lead {
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* -------------------- MANIFEST (big statement) -------------------- */
.manifest {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
}
.manifest__inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: left;
}
.manifest__statement {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 1.5rem 0 2rem;
  overflow-wrap: break-word;
}
.manifest__body {
  color: var(--text-dim);
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: none;
}
.manifest__body + .manifest__body { margin-top: 1.25rem; }
.manifest__body strong { color: var(--text); font-weight: 600; }

/* -------------------- Cards / grid -------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 211, 238, 0.4);
  background: var(--bg-elev-2);
  box-shadow: 0 24px 60px -20px rgba(59, 130, 246, 0.35), 0 0 0 1px rgba(34, 211, 238, 0.1);
}
.card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gradient-soft);
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.card__number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-mute);
  margin-bottom: 0.6rem;
  display: block;
}
.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.card__body {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}
.card__meta {
  font-size: 0.8rem;
  color: var(--text-mute);
  margin: 0.35rem 0 0.75rem;
}
.card__result {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  color: var(--text-dim);
  font-size: 0.9rem;
}
.card__result strong { color: var(--accent-2); font-weight: 600; }
.card__cta {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 600;
}
.tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--accent-2);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* Process cards (numbered) */
.card--process { padding: 2rem 1.75rem 1.75rem; }
.card--process .card__number-lg {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

/* Contact cards */
.card--contact { text-align: left; display: block; }
.card--contact:hover { transform: translateY(-4px); }
.contact--centered {
  max-width: 720px;
  margin: 0 auto;
}

/* -------------------- KPI Big Block -------------------- */
.kpi {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-band);
}
.kpi__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.kpi__cell {
  padding: 2rem 1.5rem;
  text-align: left;
  border-left: 1px solid var(--border);
}
.kpi__cell:first-child { border-left: none; }
.kpi__num {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.kpi__label {
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* -------------------- ABOUT -------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about h3 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.about h3:first-child { margin-top: 0; }
.about p { color: var(--text-dim); margin-bottom: 1rem; }
.about strong { color: var(--text); font-weight: 600; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; }
.checklist li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  background: var(--gradient);
  border-radius: 50%;
}
.certs li {
  color: var(--text-dim);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.certs li:last-child { border-bottom: none; }
.about__quote {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--gradient-soft);
  border-left: 3px solid var(--accent-1);
  border-radius: var(--radius-sm);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
}

/* -------------------- FIT / NO-FIT -------------------- */
.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.fit--single {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
}
.fit__col {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev-1);
}
.fit__col--yes { border-color: rgba(34, 211, 238, 0.25); }
.fit__col--no  { opacity: 0.85; }
.fit__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--text-dim);
}
.fit__col--yes .fit__title { color: var(--accent-2); }
.fit ul li {
  padding: 1rem 0 1rem 2rem;
  position: relative;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  line-height: 1.55;
}
.fit ul li:first-child { border-top: none; padding-top: 0; }
.fit__col--yes ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--accent-2);
  font-size: 1.2rem;
}
.fit__col--no ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-mute);
  font-weight: 700;
}

/* -------------------- CTA BAND -------------------- */
.cta-band {
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-elev-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.6;
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-band__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.cta-band__sub { color: var(--text-dim); max-width: 52ch; }

/* -------------------- FOOTER -------------------- */
.footer {
  background: #060912;
  padding: 4rem 0 0;
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer__logo {
  height: 48px;
  mix-blend-mode: lighten;
  margin-bottom: 1rem;
}
.footer__tag { color: var(--text-dim); font-size: 0.9rem; max-width: 32ch; }
.footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}
.footer ul li { padding: 0.3rem 0; }
.footer ul li a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer ul li a:hover { color: var(--accent-2); }
.footer__bar {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  background: transparent;
}
.footer__bar-inner {
  display: flex;
  justify-content: space-between;
  color: var(--text-mute);
  font-size: 0.85rem;
}

/* -------------------- Scroll reveal -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- BRIEFING (Calendly + Form) -------------------- */
.briefing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.briefing__col {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.briefing__col-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.briefing__col-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-soft);
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.briefing__col-lead {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.calendly-inline-widget {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

/* Form */
.form { display: grid; gap: 1rem; }
.form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form__field { display: grid; gap: 0.4rem; }
.form__field > span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  background: var(--bg-elev-2);
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form__field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
                    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.form__submit { margin-top: 0.5rem; justify-content: center; }
.form__submit[disabled] { opacity: 0.6; cursor: wait; }
.form__status {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form__status.is-ok {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}
.form__status.is-err {
  display: block;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--warn);
}

@media (max-width: 1023px) {
  .briefing__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 767px) {
  .briefing__col { padding: 1.25rem; }
  .form__row { grid-template-columns: 1fr; }
}

/* -------------------- Legal pages (Impressum / Datenschutz) -------------------- */
.stub-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  line-height: 1.65;
}
.stub-page h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 1rem 0 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.stub-page h2 {
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem;
  color: var(--text);
  font-weight: 700;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.stub-page h2:first-of-type { border-top: none; padding-top: 0; }
.stub-page h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
  font-weight: 600;
}
.stub-page p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}
.stub-page a { color: var(--accent-2); word-break: break-word; }
.stub-page a:hover { color: #67e8f9; }
.stub-page strong { color: var(--text); font-weight: 600; }
.stub-page ul {
  color: var(--text-dim);
  margin: 0.75rem 0 1.25rem 0;
  padding-left: 0;
  list-style: none;
}
.stub-page ul li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.5rem;
  font-size: 0.95rem;
}
.stub-page ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 6px; height: 6px;
  background: var(--gradient);
  border-radius: 50%;
}
.stub-page code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
  padding: 0.15rem 0.4rem;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--accent-2);
}
.todo {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--warn);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* -------------------- Responsive -------------------- */
@media (max-width: 1500px) {
  .side-rail { display: none; }
}
@media (max-width: 1023px) {
  .hero { padding: 4rem 0 3rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { height: 380px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .kpi__grid { grid-template-columns: repeat(2, 1fr); }
  .kpi__cell { border-left: none; border-top: 1px solid var(--border); }
  .kpi__cell:nth-child(2) { border-left: 1px solid var(--border); }
  .kpi__cell:first-child, .kpi__cell:nth-child(2) { border-top: none; }
  .about { grid-template-columns: 1fr; gap: 2rem; }
  .fit { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  :root { --nav-height: 72px; }
  .nav__brand img { height: 44px; }
  .nav__burger { display: inline-flex; }
  .nav__menu {
    position: absolute;
    top: var(--nav-height); left: 0; right: 0;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav__menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__link { padding: 0.75rem 0; font-size: 1rem; }
  .nav__cta { margin-top: 0.5rem; justify-content: center; }
  .hero__visual { height: 320px; }
  .hero__card { min-width: 130px; padding: 0.75rem 1rem; }
  .hero__card__value { font-size: 1.2rem; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .kpi__grid { grid-template-columns: 1fr; }
  .kpi__cell { border-left: none !important; border-top: 1px solid var(--border); }
  .kpi__cell:first-child { border-top: none; }
  .checklist { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .manifest { padding: 4rem 0; }
}

/* -------------------- Motion reduction -------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* -------------------- Polish v3.6: SVG-Icons -------------------- */
.card__icon svg { width: 24px; height: 24px; display: block; }
.card__icon {
  border: 1px solid rgba(34, 211, 238, 0.18);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); background: var(--gradient); color: #0a0f1a; }

/* -------------------- Showcase / Bildstrecke -------------------- */
.showcase { padding: var(--space-lg) 0 var(--space-xl); }
.showcase__stage {
  position: relative;
  display: grid;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev-1);
}
.showcase__slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.showcase__slide.is-active { opacity: 1; visibility: visible; }
.showcase__text {
  padding: 3rem 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--gradient-soft), var(--bg-elev-2);
}
.showcase__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; color: var(--text); }
.showcase__rule { display: block; width: 56px; height: 3px; background: var(--gradient); margin: 1.25rem 0; border-radius: 2px; }
.showcase__text p { color: var(--text-dim); font-size: 1.05rem; max-width: 34ch; }
.showcase__more { margin-top: 1.5rem; font-weight: 600; color: var(--accent-2); }
.showcase__more:hover { text-decoration: underline; }
.showcase__media { margin: 0; position: relative; min-height: 340px; }
.showcase__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,15,26,0.35), transparent 30%);
}
[dir="rtl"] .showcase__media::after { background: linear-gradient(270deg, rgba(10,15,26,0.35), transparent 30%); }
.showcase__dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.25rem; }
.showcase__dot {
  width: 12px; height: 12px; padding: 0; border-radius: 50%;
  border: 1.5px solid var(--text-dim); background: transparent;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.showcase__dot.is-active { background: var(--accent-2); border-color: var(--accent-2); transform: scale(1.2); }
@media (max-width: 767px) {
  .showcase__slide { grid-template-columns: 1fr; }
  .showcase__media { order: -1; min-height: 220px; }
  .showcase__text { padding: 1.75rem 1.5rem 2rem; }
}
@media (prefers-reduced-motion: reduce) { .showcase__slide { transition: none; } }

/* -------------------- Projekt-Karten mit Foto -------------------- */
.card__photo {
  margin: -1.75rem -1.75rem 1.4rem;
  height: 190px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--bg-elev-2);
}
.card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.85);
  transition: filter 0.6s var(--ease), transform 0.8s var(--ease);
}
.card__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(59, 130, 246,0.18), rgba(10,15,26,0.55));
  mix-blend-mode: multiply;
  transition: opacity 0.6s var(--ease);
}
.card:hover .card__photo img { filter: grayscale(0.15) contrast(1.05) brightness(0.95); transform: scale(1.05); }
.card:hover .card__photo::after { opacity: 0.35; }

/* -------------------- Projekt-Karten: Situation / Impact -------------------- */
.card:has(.card__photo) { display: flex; flex-direction: column; }
.card:has(.card__photo) .tag {
  display: block; align-self: stretch;
  padding: 0 0 0.85rem; margin-bottom: 1.1rem;
  background: none; border: 0; border-bottom: 1px solid var(--border);
  border-radius: 0; color: var(--text-mute);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.card:has(.card__photo) .card__title { font-size: 1.3rem; }
.card:has(.card__photo) .card__meta { margin-bottom: 1.1rem; }
.case__label {
  display: block; margin: 0.4rem 0 0.4rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text);
}
.case__label--impact {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border);
  color: var(--accent-2);
}
.card:has(.card__photo) .card__body { margin-bottom: 1.1rem; }
.card:has(.card__photo) .card__result { margin: 0; padding: 0; border: 0; color: var(--text); }

/* -------------------- Clean-Core-Schichtenbild -------------------- */
.cleancore { margin: 3rem auto 0; max-width: 760px; }
.cc {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.1rem 1.1rem;
  text-align: center;
}
.cc > span {
  display: block; margin-bottom: 0.7rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim);
}
.cc--4 { background: rgba(255,255,255,0.02); border-style: dashed; }
.cc--3 { background: rgba(34,211,238,0.05); border-color: rgba(34,211,238,0.28); }
.cc--2 { background: rgba(59, 130, 246,0.08); border-color: rgba(59, 130, 246,0.35); }
.cc--3 > span { color: var(--accent-2); }
.cc--2 > span { color: #a597ff; }
.cc--1 {
  background: var(--gradient); border: 0; padding: 1.6rem 1rem;
  box-shadow: 0 18px 50px -18px rgba(59, 130, 246,0.6);
}
.cc--1 strong { display: block; font-size: 1.25rem; color: #0a0f1a; letter-spacing: -0.01em; }
.cc--1 small { display: block; margin-top: 0.3rem; font-size: 0.85rem; color: rgba(10,15,26,0.75); font-weight: 600; }
.cleancore figcaption { margin-top: 1rem; text-align: center; font-size: 0.85rem; color: var(--text-mute); }
@media (max-width: 767px) {
  .cc { padding: 0.75rem 0.7rem 0.9rem; }
  .cc > span { font-size: 0.62rem; letter-spacing: 0.06em; }
}

/* -------------------- Navigation: einzeilig -------------------- */
.nav > .container { max-width: 1360px; }
.nav__inner { gap: 1.25rem; }
.nav__menu { gap: clamp(0.9rem, 1.5vw, 1.75rem); flex-wrap: nowrap; }
.nav__link, .nav__cta { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1180px) {
  .nav__brand img { height: 54px; }
  .nav__link { font-size: 0.84rem; }
  .nav__cta { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
}

/* KPI-Zelle mit Wort statt Zahl */
.kpi__num--word {
  display: flex; align-items: center;
  height: clamp(2.5rem, 5vw, 4rem);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  white-space: nowrap;
  letter-spacing: -0.03em;
}
@media (max-width: 1023px) { .kpi__num--word { font-size: 1.9rem; height: 3rem; } }

/* =============================================================
   Typografie v4: Instrument Serif fuer Ueberschriften, Inter fuer Text
   ============================================================= */
@font-face {
  font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root { --font-display: "Instrument Serif", Georgia, "Times New Roman", serif; }

.hero__title, .section__title, .manifest__statement, .cta-band__title, .showcase__title,
.card__title, .kpi__num, .hero__card__value, .hero__card__value.gradient-text, .about h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.08;
}
.hero__title { font-size: clamp(2.9rem, 5.9vw, 5.1rem); }
.section__title { font-size: clamp(2.25rem, 4.1vw, 3.4rem); }
.manifest__statement { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.cta-band__title { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.showcase__title { font-size: clamp(1.9rem, 3.1vw, 2.7rem); }
.card__title { font-size: 1.45rem; line-height: 1.2; }
.card:has(.card__photo) .card__title { font-size: 1.5rem; }
.kpi__num { font-size: clamp(2.85rem, 5.7vw, 4.55rem); }
.kpi__num--word { font-size: clamp(1.75rem, 2.8vw, 2.3rem); }
.hero__card__value { font-size: 1.7rem; }
.about h3 { font-size: 1.05rem; letter-spacing: 0.06em; }  /* bleibt Kopfzeile in Grotesk */
.about h3 { font-family: var(--font-sans); font-weight: 600; }
.gradient-text { font-style: italic; }
strong, b { font-weight: 600; }
.btn, .nav__link, .nav__cta, .eyebrow, .section-kicker, .tag { font-weight: 500; }
.case__label { font-weight: 600; }

/* Arabisch und Chinesisch: eigene Schrift behalten, nur leichter */
html[lang="ar"] :is(.hero__title, .section__title, .manifest__statement, .cta-band__title, .showcase__title, .card__title, .kpi__num, .hero__card__value),
html[lang|="zh"] :is(.hero__title, .section__title, .manifest__statement, .cta-band__title, .showcase__title, .card__title, .kpi__num, .hero__card__value) {
  font-family: inherit; font-weight: 600; letter-spacing: 0; line-height: 1.2;
}
html[lang="ar"] .gradient-text, html[lang|="zh"] .gradient-text { font-style: normal; }
html[lang="ar"] .hero__title { font-size: clamp(2.4rem, 5vw, 4rem); }
html[lang|="zh"] .hero__title { font-size: clamp(2.4rem, 5vw, 4rem); }
html[lang="ar"] .section__title, html[lang|="zh"] .section__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
html[lang="ar"] .manifest__statement, html[lang|="zh"] .manifest__statement { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
html[lang="ar"] .kpi__num, html[lang|="zh"] .kpi__num { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
html[lang="ar"] .card__title, html[lang|="zh"] .card__title { font-size: 1.2rem; }
html[lang="ar"] .card:has(.card__photo) .card__title, html[lang|="zh"] .card:has(.card__photo) .card__title { font-size: 1.25rem; }
html[lang="ar"] .hero__card__value, html[lang|="zh"] .hero__card__value { font-size: 1.45rem; }
.hero__card__value.gradient-text { font-style: normal; }


/* -------------------- Branchen-Raster (ersetzt Logo-Marquee) -------------------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-elev-1); }
.ind { position: relative; min-height: 160px; padding: 1.2rem 1.4rem 1.35rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; border-inline-end: 1px solid var(--border); border-block-end: 1px solid var(--border); overflow: hidden; transition: background 0.4s var(--ease); }
.ind:nth-child(4n) { border-inline-end: none; }
.ind:nth-child(n+5) { border-block-end: none; }
.ind::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
html[dir="rtl"] .ind::after { transform-origin: right; }
.ind:hover { background: var(--bg-elev-2); }
.ind:hover::after { transform: scaleX(1); }
.ind__top { display: flex; justify-content: flex-end; align-items: flex-start; }
.ind__icon svg { width: 26px; height: 26px; display: block; fill: none; stroke: var(--accent-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); }
.ind:hover .ind__icon svg { opacity: 1; transform: translateY(-3px) scale(1.08); }
.ind__label { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.12; color: var(--text); }
html[lang="ar"] .ind__label, html[lang|="zh"] .ind__label { font-family: inherit; font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
.ind--note, .ind--note:hover { background: var(--gradient-soft); }
.ind--note::after { display: none; }
.ind__note-text { color: var(--text-dim); font-size: 0.92rem; line-height: 1.5; }
.ind__link { color: var(--accent-2); font-weight: 600; font-size: 0.9rem; }
.ind__link:hover { color: #67e8f9; }
@media (max-width: 1023px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind:nth-child(4n) { border-inline-end: 1px solid var(--border); }
  .ind:nth-child(2n) { border-inline-end: none; }
  .ind:nth-child(n+5) { border-block-end: 1px solid var(--border); }
  .ind:nth-last-child(-n+2) { border-block-end: none; }
}

/* Arabisch und Chinesisch: Serifen-Ueberschriften wie DE/EN. Lateinische Zeichen und Ziffern bleiben Instrument Serif, die Landesschrift faellt auf eine passende Serife zurueck. */
html[lang="ar"] :is(.hero__title, .section__title, .manifest__statement, .cta-band__title, .showcase__title, .card__title, .kpi__num, .hero__card__value, .ind__label) {
  font-family: "Instrument Serif", "Noto Naskh Arabic", Georgia, serif; font-weight: 500;
}
html[lang|="zh"] :is(.hero__title, .section__title, .manifest__statement, .cta-band__title, .showcase__title, .card__title, .kpi__num, .hero__card__value, .ind__label) {
  font-family: "Instrument Serif", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif; font-weight: 500;
}

/* -------------------- Projekte: Rest aufklappbar -------------------- */
.projects-more { margin-top: 1.5rem; }
.projects-more:not([hidden]) { animation: projectsIn 0.6s var(--ease) both; }
@keyframes projectsIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.projects-toggle { display: flex; justify-content: center; margin-top: var(--space-lg); }
@media (prefers-reduced-motion: reduce) { .projects-more:not([hidden]) { animation: none; } }

/* -------------------- Direktkontakt unter dem Buchungsbereich -------------------- */
.briefing__direct { text-align: center; margin: var(--space-lg) auto 0; color: var(--text-dim); font-size: 0.98rem; line-height: 1.6; }
.briefing__direct a { color: var(--accent-2); font-weight: 600; }
.briefing__direct a:hover { color: #67e8f9; }

/* -------------------- Zusammenarbeit: Kriterienliste zweispaltig unter den Phasen -------------------- */
.fit--wide { grid-template-columns: minmax(0, 1100px); margin-top: var(--space-lg); }
.fit--wide ul { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
.fit--wide ul li:nth-child(2) { border-top: none; padding-top: 0; }
@media (max-width: 767px) {
  .fit--wide ul { grid-template-columns: 1fr; }
  .fit--wide ul li:nth-child(2) { border-top: 1px solid var(--border); padding-top: 1rem; }
}
/* Theme: dunkle Teile weicher, Inhaltsabschnitte hell, weiche Uebergaenge */
    /* dunkle Teile: Ton aus Entwurf A */
    :root { --bg:#111c33; --bg-elev-1:#182742; --bg-elev-2:#1f3050; --bg-band:#142139; --text:#eef2fa; --text-dim:#a9b4cd; --text-mute:#7c89a8; --border:rgba(255,255,255,.10); --border-strong:rgba(255,255,255,.20); }
    .nav { background: rgba(17,28,51,.95); }
    .footer { background:#0d1730; }
    .hero__card { background: rgba(24,39,66,.78); }
    .lang__menu { background: rgba(24,39,66,.98); }
    /* helle Abschnitte */
    .theme-light { --bg:#eef2f9; --bg-elev-1:#ffffff; --bg-elev-2:#e6ecf6; --bg-band:#e4eaf5; --text:#0e1a30; --text-dim:#485776; --text-mute:#7a86a4; --border:rgba(14,26,48,.10); --border-strong:rgba(14,26,48,.18); --accent-1:#2563eb; --accent-2:#0b7fa8; --gradient:linear-gradient(135deg,#2563eb 0%,#0b9bbf 100%); --gradient-soft:linear-gradient(135deg,rgba(37,99,235,.10) 0%,rgba(11,155,191,.10) 100%); background:var(--bg); color:var(--text); }
    .theme-light.section--alt { background: var(--bg-elev-1); }
    .theme-light .eyebrow { background: rgba(14,26,48,.03); }
    .theme-light .card:hover { background: var(--bg-elev-1); box-shadow: 0 24px 50px -24px rgba(37,99,235,.35), 0 0 0 1px rgba(11,155,191,.18); }
    .theme-light .card__icon { border-color: rgba(11,127,168,.25); }
    .theme-light .card:hover .card__icon { color:#fff; }
    .theme-light .btn--ghost { color:var(--text); border-color:var(--border-strong); }
    .theme-light .ind:hover { background: var(--bg-elev-2); }
    .theme-light .fit__col { background: var(--bg-elev-1); }
    .theme-light .about__quote { color: var(--text); }
    .theme-light .tag { color:#0b6f96; }
    /* weiche Uebergaenge: Verlauf liegt im leeren Rand des Abschnitts */
    .fade-to-light, section.fade-to-dark, section.fade-to-band { position:relative; padding-bottom:11rem; }
    .fade-to-light::after, section.fade-to-dark::after, section.fade-to-band::after { content:""; position:absolute; left:0; right:0; bottom:0; height:11rem; pointer-events:none; }
    .fade-to-light::after { background: linear-gradient(to bottom, rgba(238,242,249,0) 0%, rgba(238,242,249,0.02) 12%, rgba(238,242,249,0.07) 24%, rgba(238,242,249,0.16) 36%, rgba(238,242,249,0.3) 48%, rgba(238,242,249,0.48) 60%, rgba(238,242,249,0.68) 72%, rgba(238,242,249,0.86) 84%, rgba(238,242,249,0.96) 93%, rgba(238,242,249,1) 100%); }
    section.fade-to-dark::after { background: linear-gradient(to bottom, rgba(24,39,66,0) 0%, rgba(24,39,66,0.02) 12%, rgba(24,39,66,0.07) 24%, rgba(24,39,66,0.16) 36%, rgba(24,39,66,0.3) 48%, rgba(24,39,66,0.48) 60%, rgba(24,39,66,0.68) 72%, rgba(24,39,66,0.86) 84%, rgba(24,39,66,0.96) 93%, rgba(24,39,66,1) 100%); }
    section.fade-to-band::after { background: linear-gradient(to bottom, rgba(20,33,57,0) 0%, rgba(20,33,57,0.02) 12%, rgba(20,33,57,0.07) 24%, rgba(20,33,57,0.16) 36%, rgba(20,33,57,0.3) 48%, rgba(20,33,57,0.48) 60%, rgba(20,33,57,0.68) 72%, rgba(20,33,57,0.86) 84%, rgba(20,33,57,0.96) 93%, rgba(20,33,57,1) 100%); }
    .kpi.fade-to-light { border-top:none; border-bottom:none; }
    .lang__flagimg { display:block; width:20px; height:14px; object-fit:cover; border-radius:2px; box-shadow:0 0 0 1px rgba(255,255,255,.18); flex:none; }
    .lang__btn { gap:.5rem; }
    .lang__menu a, .lang__menu button { justify-content:flex-start; }

/* keine Fettschrift im Fliesstext */
strong, b,
.hero__sub strong, .manifest__body strong, .card__result strong, .about strong, .stub-page strong { font-weight: 400; }

/* Prozess-Karten: hochwertigere Darstellung */
:is(#prozesse, #processes) .card--process { padding: 2.25rem 1.75rem 1.9rem; }
:is(#prozesse, #processes) .card__number-lg { font-family: var(--font-display); font-weight: 400; font-size: 3.4rem; letter-spacing: 0.01em; margin-bottom: 1rem; padding-bottom: 1.1rem; position: relative; }
:is(#prozesse, #processes) .card__number-lg::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.5rem; height: 1px; background: var(--gradient); }
html[dir="rtl"] :is(#prozesse, #processes) .card__number-lg::after { left: auto; right: 0; }
:is(#prozesse, #processes) .card--process .card__title { font-family: var(--font-sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.9rem; }

/* Hero-Karten: auf Tablet/Handy als 2x2-Raster, damit nichts ueberlappt */
@media (max-width: 1023px) {
  .hero__visual { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero__mesh { display: none; }
  .hero__card { position: static; min-width: 0; padding: 0.9rem 1rem; animation: none; }
  .hero__card__value { font-size: 1.35rem; }
}

/* Sprachwechsler: Flagge links vom Kuerzel, auch in RTL-Seiten (Arabisch) */
html[dir="rtl"] .lang__btn, html[dir="rtl"] .lang__menu { direction: ltr; }

/* Button 'Weitere Projekte anzeigen': wie 'Erstgespraech vereinbaren' (Kopfzeile) */
.projects-more-btn {
  --gradient: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
}
