/* ── Local Karla font-face declarations ── */
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-ExtraLightItalic.ttf') format('truetype'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-LightItalic.ttf') format('truetype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-MediumItalic.ttf') format('truetype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-SemiBoldItalic.ttf') format('truetype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-BoldItalic.ttf') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../FONTS/Karla-ExtraBoldItalic.ttf') format('truetype'); font-weight: 800; font-style: italic; font-display: swap; }

/* ═══════════════════════════════════════════════════
   YIELT GmbH — Website Stylesheet
   Font: Karla | Colors: #0042F1 #00A7F8 #EDF1FA #081123
   ═══════════════════════════════════════════════════ */

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

:root {
  --blue:       #0042F1;
  --blue-dark:  #0030B8;
  --blue-accent:#00A7F8;
  --blue-light: #EDF1FA;
  --black:      #081123;
  --white:      #FFFFFF;
  --off-white:  #EDF1FA;
  --gray-light: #F0F3FA;
  --text-1:     #081123;
  --text-2:     #3A4460;
  --text-3:     #7A85A0;
  --border:     rgba(0,66,241,0.1);
  --font:       'Karla', sans-serif;
  --max:        1120px;
  --pad:        48px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text-1);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── LANGUAGE SYSTEM ─────────────────────────────────
   .lang-en shown by default, .lang-de hidden.
   body.de flips them. Explicit display values per
   element type so form layout is never affected.
   ──────────────────────────────────────────────────── */

/* Hide all DE content by default */
.lang-de { display: none !important; }

/* When German active — hide EN, show DE */
body.de .lang-en { display: none !important; }

/* Restore DE elements with correct display per type */
body.de p.lang-de,
body.de h1.lang-de,
body.de h2.lang-de,
body.de h3.lang-de,
body.de div.lang-de,
body.de li.lang-de,
body.de label.lang-de { display: block !important; }

body.de span.lang-de { display: inline !important; }

body.de a.lang-de { display: inline !important; }

/* Eyebrows are flex */
body.de .eyebrow.lang-de,
body.de .eyebrow-hero.lang-de { display: flex !important; }

/* ── NAVIGATION ──────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--pad);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,60,210,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,30,120,0.22), 0 1px 0 rgba(255,255,255,0.06) inset;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-brand:hover .footer-logo-img { opacity: 1; }

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  background: var(--white);
  border: none;
  border-radius: 24px;
  padding: 9px 22px;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-cta:hover { background: rgba(255,255,255,0.88); transform: translateY(-1px); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 3px;
  margin-left: 8px;
}

.lang-btn {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: transparent;
  border: none;
  border-radius: 16px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active { background: var(--white); color: var(--blue); }
.lang-btn:hover:not(.active) { color: var(--white); }

/* ── HERO ──────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #040D1C 0%, #081123 40%, #0042F1 100%);
}

.hero-img {
  position: absolute;
  inset: 0;
  background-image: url('../IMG/Yielt_Hero_Image_01.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  opacity: 0.12;
  mix-blend-mode: luminosity;
  animation: none;
}

.hero-accent {
  position: absolute;
  top: 20%; right: 8%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,167,248,0.15) 0%, rgba(0,66,241,0.05) 60%, transparent 80%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  flex-shrink: 0;
  border-radius: 1px;
}

.eyebrow-hero {
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-hero::before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  background: var(--blue-accent);
  opacity: 0.8;
  flex-shrink: 0;
  border-radius: 1px;
}

.eyebrow { color: var(--blue); }
.eyebrow::before { background: var(--blue); }

h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  max-width: 660px;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

h1 em { font-style: italic; font-weight: 300; color: var(--blue-accent); }

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,1);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 14px; align-items: center; }

.btn-primary {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  border: none;
  border-radius: 28px;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-ghost {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 28px;
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ── SECTIONS ──────────────────────────────────────── */
.section { padding: 96px 0; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.section-lead {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 540px;
}

.divider { width: 100%; height: 1px; background: var(--border); margin: 48px 0; }

.section-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(0,66,241,0.08);
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  cursor: pointer;
  margin-top: 32px;
  transition: all 0.2s;
  text-decoration: none;
}

.section-cta:hover { background: var(--blue); color: var(--white); }

.section-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  background: #FF9F1C;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  cursor: pointer;
  margin-top: 32px;
  transition: all 0.2s;
  text-decoration: none;
}

.section-cta-white:hover { background: #e88e0e; color: var(--black); }

/* ── PROBLEM ───────────────────────────────────────── */
#problem { background: var(--white); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

.problem-left p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-1);
  line-height: 1.85;
  margin-top: 20px;
}

.problem-cards { display: flex; flex-direction: column; }

.problem-card {
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-bottom: none;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.problem-card:first-child { border-radius: 12px 12px 0 0; }
.problem-card:last-child  { border-bottom: 1px solid var(--border); border-radius: 0 0 12px 12px; background: var(--blue); }
.problem-card:last-child .pc-label { color: var(--white); }
.problem-card:last-child .pc-text  { color: var(--white); font-weight: 500; }

.pc-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  min-width: 96px;
  padding-top: 2px;
}

.pc-text { font-size: 14px; font-weight: 400; color: var(--text-2); line-height: 1.6; }

/* ── IMAGE BREAKS ──────────────────────────────────── */
.image-break {
  height: 460px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ib-bg   { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; animation: none; }
.ib-over {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,17,35,0.92) 0%, rgba(8,17,35,0.6) 55%, rgba(8,17,35,0.15) 100%);
}

.ib-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}

.ib-quote {
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  max-width: 580px;
  line-height: 1.45;
  margin-bottom: 32px;
}

.ib-quote span { color: var(--blue-accent); font-style: normal; font-weight: 600; }

/* ── CORE ──────────────────────────────────────────── */
#core { background: var(--off-white); }

.core-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 56px;
}

.promise-pills { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }

.pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(0,66,241,0.08);
  border-radius: 20px;
  padding: 5px 14px;
}

.note-italic {
  font-size: 11px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-3);
  margin-top: 10px;
}

.dim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dim-card:first-child {
  grid-column: 1 / -1;
  background: rgba(0,66,241,0.03);
  border-color: rgba(0,66,241,0.15);
}

.dim-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(0,66,241,0.06);
}

.dim-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: none; }

.dim-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 7px;
}

.dim-name { font-size: 13px; font-weight: 600; color: var(--text-1); margin-bottom: 6px; }
.dim-desc { font-size: 12px; font-weight: 300; color: var(--text-1); line-height: 1.6; }

.phases { display: flex; flex-direction: column; }

.phase {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.phase:last-child { border-bottom: none; }

.phase-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--blue-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.phase-name    { font-size: 15px; font-weight: 600; color: var(--text-1); margin-bottom: 2px; }
.phase-sub     { font-size: 12px; font-weight: 400; color: var(--text-1); }
.phase-desc    { font-size: 14px; font-weight: 300; color: var(--text-1); line-height: 1.8; padding-top: 4px; }

.outputs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.output-card { background: var(--blue); border-radius: 10px; padding: 20px; }
.output-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.output-desc { font-size: 12px; font-weight: 300; color: rgba(255,255,255,1); line-height: 1.6; }

/* ── FLEX ──────────────────────────────────────────── */
#flex { background: var(--white); }

.product-intro {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 48px;
}

.delivery-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
  background: var(--gray-light);
  border-radius: 20px;
  padding: 6px 14px;
  margin-top: 18px;
}

.delivery-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-accent); flex-shrink: 0; }

.who-sidebar { background: var(--off-white); border-radius: 14px; padding: 24px; }
.who-label   { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-1); margin-bottom: 14px; }

.who-card {
  padding: 14px 16px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,66,241,0.05);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.who-card:hover { box-shadow: none; border-color: rgba(0,66,241,0.2); }

.who-card:last-child   { margin-bottom: 0; }
.who-card-title        { font-size: 13px; font-weight: 600; color: var(--text-1); margin-bottom: 4px; }
.who-card-desc         { font-size: 14px; font-weight: 300; color: var(--text-1); line-height: 1.6; }

.flex-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.flex-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(0,66,241,0.06);
}

.flex-card:hover { border-color: var(--blue); box-shadow: none; }

.flex-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flex-card-title::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-accent);
  flex-shrink: 0;
  border-radius: 1px;
}

.flex-item {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-1);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
  margin-bottom: 5px;
}

.flex-item::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-size: 8px;
  top: 3px;
}

/* ── PRIME ─────────────────────────────────────────── */
#prime { background: var(--black); }

.prime-eyebrow { color: #FF9F1C; }
.prime-eyebrow::before { background: #FF9F1C; opacity: 1; }

.prime-lead {
  font-size: 16px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.8;
  max-width: 540px;
}

.prime-delivery {
  font-size: 12px;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 6px 14px;
  display: inline-block;
  margin-top: 18px;
}

.prime-sidebar { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 24px; }
.prime-who-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 14px; }
.prime-who-label span { color: var(--white); }

.prime-who-card { padding: 12px 16px; background: #FF9F1C; border-radius: 8px; margin-bottom: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.12); transition: box-shadow 0.2s; }
.prime-who-card:hover { box-shadow: none; }
.prime-who-card:last-child { margin-bottom: 0; }
.prime-who-title { font-size: 14px; font-weight: 600; color: var(--black); margin-bottom: 3px; }
.prime-who-desc  { font-size: 14px; font-weight: 300; color: rgba(0,0,0,0.75); line-height: 1.55; }

/* ── ABOUT ─────────────────────────────────────────── */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 40px;
}

.about-p { font-size: 15px; font-weight: 300; color: var(--text-2); line-height: 1.9; margin-top: 16px; }
.about-p:first-child { margin-top: 0; }

.about-stats { display: flex; flex-direction: column; gap: 12px; }

.about-stat {
  background: var(--off-white);
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,66,241,0.06);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.about-stat:hover { box-shadow: none; border-color: rgba(0,66,241,0.2); }

.about-stat-num   { font-size: 28px; font-weight: 700; color: var(--blue); letter-spacing: -0.02em; margin-bottom: 4px; }
.about-stat-label { font-size: 13px; font-weight: 400; color: var(--text-2); line-height: 1.5; }

/* Expertise grid — flex-wrap with min-width for responsive */
.expertise-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.exp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  flex: 1 1 200px;
  box-shadow: 0 2px 10px rgba(0,66,241,0.06);
}

.exp-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: none; }

.exp-icon {
  width: 40px; height: 40px;
  background: rgba(0,66,241,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.exp-name { font-size: 13px; font-weight: 600; color: var(--text-1); line-height: 1.4; margin-bottom: 8px; }
.exp-desc { font-size: 14px; font-weight: 300; color: var(--text-1); line-height: 1.6; }

/* ── ENGAGE ────────────────────────────────────────── */
#engage { background: var(--off-white); }

.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.engage-card { border: 1px solid var(--border); border-radius: 14px; padding: 30px 26px; transition: border-color 0.2s, box-shadow 0.2s; background: var(--white); box-shadow: 0 2px 10px rgba(0,66,241,0.06); }
.engage-card:hover { border-color: var(--blue); box-shadow: none; }
.engage-step { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-1); margin-bottom: 10px; }
.engage-name { font-size: 22px; font-weight: 700; color: var(--text-1); margin-bottom: 12px; letter-spacing: -0.01em; }
.engage-desc { font-size: 14px; font-weight: 300; color: var(--text-2); line-height: 1.8; }

.engage-note {
  margin-top: 36px;
  padding: 18px 22px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
  text-align: center;
}

/* ── CONTACT ───────────────────────────────────────── */
#contact { background: var(--black); padding: 96px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form-col { display: block; width: 100%; }

.contact-eyebrow { color: var(--white); }
.contact-eyebrow::before { background: var(--white); opacity: 1; }

.contact-left p {
  font-size: 15px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.8;
  margin-top: 20px;
  max-width: 380px;
}

.contact-detail { margin-top: 36px; display: flex; flex-direction: column; gap: 6px; }
.contact-detail span   { font-size: 13px; color: var(--white); }
.contact-detail strong { font-size: 14px; font-weight: 600; color: var(--white); }

/* ── FORM ──────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }

.form-label {
  display: block;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

/* Form labels with lang classes — ensure only one shows at a time */
label.form-label.lang-de { display: none !important; }
body.de label.form-label.lang-en { display: none !important; }
body.de label.form-label.lang-de { display: block !important; }

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font);
  font-size: 14px;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 11px 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(0,66,241,0.5);
  background: rgba(255,255,255,0.07);
}

.form-select option { background: #081123; color: var(--white); }
.form-textarea { resize: none; height: 96px; }

.form-submit {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  border: none;
  border-radius: 28px;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  margin-top: 4px;
}

.form-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-success {
  display: none;
  margin-top: 12px;
  padding: 14px 18px;
  background: rgba(0,167,248,0.1);
  border: 1px solid rgba(0,167,248,0.25);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--blue-accent);
  line-height: 1.6;
}

.form-error {
  display: none;
  margin-top: 12px;
  padding: 14px 18px;
  background: rgba(220,50,50,0.08);
  border: 1px solid rgba(220,50,50,0.2);
  border-radius: 8px;
  font-size: 14px;
  color: #ff7070;
  line-height: 1.6;
}

/* ── FOOTER ────────────────────────────────────────── */
footer {
  background: #040A16;
  padding: 24px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-left  { display: flex; align-items: center; gap: 24px; }

.footer-brand {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-brand:hover { color: var(--white); }
.footer-tagline { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.25); }
.footer-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-meta  { font-size: 12px; color: rgba(255,255,255,0.2); }

.footer-link {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-link:hover { color: rgba(255,255,255,0.7); }
.footer-sep { width: 1px; height: 12px; background: rgba(255,255,255,0.15); }

/* ── MODALS ────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,17,35,0.7);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.modal h3 { font-size: 22px; font-weight: 700; color: var(--text-1); margin-bottom: 20px; }
.modal h4 { font-size: 14px; font-weight: 700; color: var(--text-1); margin-top: 24px; margin-bottom: 8px; }
.modal p  { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.8; margin-bottom: 10px; }
.modal ul { margin: 0 0 10px 20px; }
.modal ul li { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.8; }
.modal .modal-section { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.modal .modal-section:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 22px;
  font-weight: 300;
  color: var(--text-3);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--text-1); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Mobile first breakpoints
   ═══════════════════════════════════════════════════ */

/* ── Mobile hamburger button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Tablet: ≤ 900px ── */
@media (max-width: 900px) {
  :root { --pad: 28px; }

/* ── Mobile parallax alternative ──────────────────────
   background-attachment:fixed breaks on iOS Safari.
   Instead we scale up slightly and use a slow drift
   animation to preserve the sense of depth and motion.
   ──────────────────────────────────────────────────── */
@keyframes slowDrift {
  0%   { transform: scale(1.08) translateY(0); }
  50%  { transform: scale(1.08) translateY(-3%); }
  100% { transform: scale(1.08) translateY(0); }
}

  /* Parallax doesn't work on iOS — disable fixed attachment */
  .hero-img,
  .ib-bg {
    background-attachment: scroll;
    animation: slowDrift 14s ease-in-out infinite;
  }

  /* Nav: hide links, show hamburger */
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(0,30,120,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0 24px;
    list-style: none;
    z-index: 99;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 14px var(--pad);
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links .nav-cta {
    margin: 16px var(--pad) 0;
    width: calc(100% - calc(var(--pad) * 2));
    text-align: center;
  }

  /* Hero */
  .hero-content { padding: 0 var(--pad); }
  .hero-sub { max-width: 100%; }

  /* Sections */
  .section { padding: 64px 0; }
  .section-inner { padding: 0 var(--pad); }

  /* Problem: stack */
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Core: stack intro */
  .core-intro { grid-template-columns: 1fr; gap: 36px; }

  /* Outputs: 2 col */
  .outputs { grid-template-columns: 1fr 1fr; }

  /* Flex: stack */
  .product-intro { grid-template-columns: 1fr; gap: 32px; }

  /* Prime: stack */
  #prime .product-intro { grid-template-columns: 1fr; gap: 32px; }

  /* About: stack */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }

  /* Engage: stack */
  .engage-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Contact: stack */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Footer: stack */
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px var(--pad);
  }

  .footer-right { flex-wrap: wrap; gap: 12px; }

  /* Image breaks: shorter on mobile */
  .image-break { height: 320px; }
}

/* ── Mobile: ≤ 600px ── */
@media (max-width: 600px) {
  :root { --pad: 20px; }

  h1 { font-size: clamp(32px, 9vw, 48px); }
  h2 { font-size: clamp(22px, 6vw, 32px); }

  /* Dim cards: stack */
  .dim-grid { grid-template-columns: 1fr; }

  /* Outputs: 1 col */
  .outputs { grid-template-columns: 1fr; }

  /* Flex cards: 1 col */
  .flex-cards { grid-template-columns: 1fr; }

  /* Expertise: single column */
  .expertise-grid { display: flex; flex-direction: column; }
  .exp-card { min-width: unset; flex: none; }

  /* Phases: remove 2-col layout */
  .phase {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Form row: stack */
  .form-row { grid-template-columns: 1fr; }

  /* About stats: make more compact */
  .about-stat-num { font-size: 22px; }

  /* Image breaks */
  .image-break { height: 280px; }
  .ib-quote { font-size: clamp(16px, 4.5vw, 22px); }

  /* Hero actions: stack */
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }

  /* Nav */
  nav { padding: 0 var(--pad); }
}