/* =====================================================================
   HELSE SYSTEMENTWICKLUNG – DESIGN SYSTEM
   ===================================================================== */

/* =========================
   TOKENS
========================= */
:root {
  /* Brand (aus dem Logo abgeleitet) */
  --brand:         #1d5fae;
  --brand-strong:  #154b8c;
  --brand-soft:    #eaf1fa;
  --accent:        #f2b705;

  /* Neutrals */
  --ink:           #0f1c2e;
  --text:          #3a4556;
  --muted:         #6b7686;
  --line:          #e4e8ef;
  --bg:            #ffffff;
  --bg-soft:       #f5f7fa;
  --bg-dark:       #0f1c2e;

  /* Shape */
  --radius-sm:     10px;
  --radius:        16px;
  --radius-lg:     24px;

  /* Depth */
  --shadow-sm:     0 1px 2px rgba(15, 28, 46, .05), 0 1px 3px rgba(15, 28, 46, .04);
  --shadow:        0 12px 32px -14px rgba(15, 28, 46, .20);
  --shadow-lg:     0 28px 64px -24px rgba(15, 28, 46, .32);

  /* Type */
  --font-head:     'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:     'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --nav-h:         76px;
  --ease:          cubic-bezier(.2, .7, .2, 1);
}

/* =========================
   BASE
========================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-top: 0;
}

p { color: var(--text); margin-top: 0; }

strong, b { color: var(--ink); font-weight: 600; }

a { color: var(--brand); }
a:hover { color: var(--brand-strong); }

::selection { background: var(--accent); color: var(--ink); }

.container {
  max-width: 1240px;
  padding-left: 24px;
  padding-right: 24px;
}

.site-main { flex: 1 0 auto; }

/* =========================
   SECTIONS & TYPO HELPERS
========================= */
.section        { padding: 104px 0; }
.section-soft   { background: var(--bg-soft); }
.section-tight  { padding: 72px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}

.section-lead {
  font-size: 1.075rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* =========================
   BUTTONS
========================= */
.btn-brand,
.btn-ghost,
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .975rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}

.btn-brand::after,
.btn-accent::after {
  content: "→";
  transition: transform .25s var(--ease);
}

.btn-brand:hover::after,
.btn-accent:hover::after { transform: translateX(4px); }

.btn-brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(29, 95, 174, .7);
}

.btn-brand:hover {
  background: var(--brand-strong);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

.btn-accent:hover {
  background: #ffc61a;
  color: var(--ink);
  transform: translateY(-1px);
}

/* =========================
   HERO (Startseite)
========================= */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(29, 95, 174, .12), transparent 60%),
    radial-gradient(700px 380px at -5% 110%, rgba(242, 183, 5, .12), transparent 60%),
    var(--bg-soft);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 28, 46, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero { padding: 80px 0 112px; }

.hero .container,
.page-hero .container { position: relative; }

.hero-title {
  font-size: clamp(2.3rem, 4.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  margin-bottom: 26px;
}

.hero-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
  padding: 0 0 22px 22px;
}

.hero-media::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 62%;
  height: 62%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand) 0%, #3d86d8 100%);
}

.hero-media::after {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 92px;
  height: 92px;
  border-radius: 20px;
  background: var(--accent);
  opacity: .9;
  z-index: 0;
}

/* =========================
   CAROUSEL
========================= */
.carousel {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.carousel-item img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  background: #fff;
}

.carousel-item img.is-contain {
  object-fit: contain;
  padding: 28px;
}

.carousel-indicators {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  margin: 0 0 18px;
  padding: 7px 12px;
  gap: 6px;
  align-items: center;
  border-radius: 999px;
  background: rgba(15, 28, 46, .38);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.carousel-indicators [data-bs-target] {
  box-sizing: border-box;
  width: 6px;
  height: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background-color: #fff;
  opacity: .5;
  transition: width .35s var(--ease), opacity .35s var(--ease);
}

.carousel-indicators .active {
  width: 22px;
  opacity: 1;
}

/* =========================
   ABOUT / STATS
========================= */
.about-text {
  font-size: 1.075rem;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.stat {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
}

.stat-value small {
  font-size: 1.4rem;
  color: var(--accent);
  margin-left: 2px;
}

.stat-label {
  margin: 12px 0 0;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--muted);
}

.stat.is-featured {
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-strong) 100%);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.stat.is-featured .stat-value  { color: #fff; }
.stat.is-featured .stat-label  { color: rgba(255, 255, 255, .78); }

.stat.is-dark {
  background: var(--bg-dark);
  border-color: transparent;
}

.stat.is-dark .stat-value { color: #fff; font-size: 1.9rem; }
.stat.is-dark .stat-label { color: rgba(255, 255, 255, .65); }

/* =========================
   SERVICE OVERVIEW TILES
========================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 220px;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.service-tile:hover {
  color: var(--ink);
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

.tile-icon svg { width: 24px; height: 24px; }

.service-tile:hover .tile-icon {
  background: var(--brand);
  color: #fff;
}

.tile-num {
  position: absolute;
  top: 26px;
  right: 24px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: #a3acb9;
}

.tile-title {
  font-family: var(--font-head);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.tile-arrow {
  margin-top: auto;
  color: var(--brand);
  font-weight: 600;
  transition: transform .3s var(--ease);
}

.service-tile:hover .tile-arrow { transform: translateX(4px); }

/* =========================
   SERVICE DETAIL ROWS
========================= */
.service-row {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.service-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-row:last-child { padding-bottom: 0; }

.service-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.service-media.is-contain { background: #fff; border: 1px solid var(--line); }
.service-media.is-contain img { object-fit: contain; padding: 28px; }

.service-row:hover .service-media img { transform: scale(1.035); }

.service-index {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
}

.service-body h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  letter-spacing: -.03em;
  margin-bottom: 22px;
}

.service-body p {
  font-size: 1rem;
  line-height: 1.78;
  margin-bottom: 18px;
  padding-left: 18px;
  border-left: 2px solid var(--line);
}

.service-body p:last-child { margin-bottom: 0; }

.service-body p strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--ink);
}

/* =========================
   PROJECT CARDS
========================= */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.project-card:hover {
  color: inherit;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

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

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 26px;
}

.project-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.project-body p {
  flex: 1;
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand);
}

.project-more::after {
  content: "→";
  transition: transform .3s var(--ease);
}

.project-card:hover .project-more::after { transform: translateX(4px); }

/* =========================
   CUSTOMER LOGO MARQUEE
========================= */
.logos {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
}

.logos::before,
.logos::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 180px;
  height: 100%;
  pointer-events: none;
}

.logos::before { left: 0;  background: linear-gradient(to right, var(--bg), rgba(255, 255, 255, 0)); }
.logos::after  { right: 0; background: linear-gradient(to left,  var(--bg), rgba(255, 255, 255, 0)); }

.logos-slide {
  display: inline-flex;
  align-items: center;
  animation: slide 45s linear infinite;
}

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

.logos-slide img {
  height: 50px;
  width: auto;
  margin: 0 46px;
  filter: saturate(.85);
  opacity: .8;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}

.logos-slide img:hover {
  filter: none;
  opacity: 1;
}

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* =========================
   FUNDING
========================= */
.funding {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 56px;
  margin-top: 64px;
  padding: 28px 40px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
}

.funding-label {
  margin: 0;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.funding-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
}

.funding-logos img {
  max-height: 64px;
  width: auto;
  border-radius: 6px;
  transition: transform .3s var(--ease);
}

.funding-logos a:hover img { transform: translateY(-2px); }

/* =========================
   CTA PANEL
========================= */
.cta-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 64px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 300px at 100% 0%, rgba(242, 183, 5, .22), transparent 60%),
    linear-gradient(135deg, #17457e 0%, var(--bg-dark) 70%);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.cta-panel p {
  margin: 0;
  max-width: 560px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .75);
}

/* =========================
   SUBPAGES – PAGE HERO
========================= */
.page-hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0;
}

.page-hero .page-lead {
  max-width: 640px;
  margin: 18px 0 0;
  font-size: 1.1rem;
  color: var(--muted);
}

.page-body { padding: 72px 0 104px; }

.content-card {
  padding: 52px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.prose {
  max-width: 800px;
}

.prose p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.2em;
}

.prose p:last-child { margin-bottom: 0; }

/* =========================
   COMPANY – TIMELINE
========================= */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 127px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand) 0%, var(--line) 100%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 48px;
  padding-bottom: 32px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 121px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
}

.timeline-item:last-child::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(242, 183, 5, .2);
}

.timeline-year {
  padding-top: 0;
  text-align: right;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--brand);
  line-height: 1.2;
}

.timeline-content {
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.timeline-content:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.timeline-content p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
}

/* =========================
   CONTACT
========================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-card {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

.contact-card:hover .contact-icon {
  background: var(--brand);
  color: #fff;
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-card h4 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card p,
.contact-card a {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card a:hover { color: var(--brand); }

.map-block { margin-top: 64px; }

.map-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.map {
  position: relative;
  height: 0;
  padding-bottom: 42%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   CUSTOMERS PAGE
========================= */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}

.customer-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  padding: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.customer-item:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.customer-item img {
  --scale: 1.1;
  max-width: 170px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(var(--scale));
  filter: saturate(.85);
  opacity: .85;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}

.customer-item:hover img {
  filter: none;
  opacity: 1;
}

.logo-lasos          { scale: .8; }
.logo-itp            { scale: .99; }
.logo-asclepion      { scale: 1.1; }
.logo-estino         { scale: .9; }
.logo-rup            { scale: .85; }
.logo-acd            { scale: .8; }
.logo-optimalSystems { scale: 1.7; }
.logo-liebherr       { scale: .9; }
.logo-jabil          { scale: 1.4; }
.logo-vattenfall     { scale: 1.1; }

/* =========================
   IMPRINT / LEGAL
========================= */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.legal-block {
  padding: 34px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.legal-block h3 {
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.legal-block p {
  margin-bottom: 14px;
  line-height: 1.8;
}

.legal-block p:last-child { margin-bottom: 0; }

.highlight { font-weight: 600; color: var(--ink); }

.source {
  margin: 32px 0 0;
  font-size: .9rem;
  color: var(--muted);
}

.source a { color: var(--brand); font-weight: 500; }

/* =========================
   JOBS
========================= */
.jobs-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.jobs-card .jobs-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 28px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
}

.jobs-card .jobs-icon svg { width: 28px; height: 28px; }

.jobs-card p strong {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 1.2rem;
}

.job-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.job-card .tile-icon { margin-bottom: 24px; }

.job-card h3 {
  margin-bottom: 28px;
  font-size: 1.35rem;
}

.job-card .btn-brand { margin-top: auto; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1199.98px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .section       { padding: 80px 0; }
  .hero          { padding: 56px 0 88px; }
  .hero-media    { margin-top: 16px; }
  .service-row   { padding: 56px 0; }
  .cta-panel     { padding: 48px 40px; }
  .legal-grid    { grid-template-columns: 1fr; }
  .map           { padding-bottom: 60%; }
}

@media (max-width: 767.98px) {
  .section        { padding: 64px 0; }
  .section-head   { margin-bottom: 40px; }
  .service-grid   { grid-template-columns: repeat(2, 1fr); }
  .carousel-item img { height: 320px; }
  .content-card   { padding: 32px 26px; }
  .page-hero      { padding: 52px 0 44px; }
  .page-body      { padding: 48px 0 72px; }
  .logos::before,
  .logos::after   { width: 70px; }
  .logos-slide img { margin: 0 28px; }

  /* Timeline vertikal */
  .timeline::before { left: 6px; }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 36px;
  }
  .timeline-item::before { left: 0; top: 4px; }
  .timeline-year { text-align: left; }
}

@media (max-width: 575.98px) {
  .container      { padding-left: 18px; padding-right: 18px; }
  .service-grid   { grid-template-columns: 1fr; }
  .service-tile   { min-height: 0; }
  .stats          { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .customer-grid  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .customer-item  { height: 110px; padding: 16px; }
  .customer-item img { max-height: 40px; }
  .cta-panel      { padding: 40px 26px; }
  .hero-media     { padding: 0 0 14px 14px; }
  .hero-media::after { display: none; }
  .funding        { padding: 24px; }
  .legal-block    { padding: 26px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .logos-slide { animation: none; }
}
