/* Mantella.nl — Dienst-detail: Automatisering */

/* ---- Hero ---- */
.auto-hero { padding: 64px var(--pad-x) 8px; }
.auto-hero__inner { position: relative; max-width: 864px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }

.auto-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  border: 1px solid rgba(243, 146, 0, 0.4);
  border-radius: var(--r-pill);
  padding: 7px 18px;
  color: #f5b661;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.auto-badge .material-symbols-outlined { font-size: 17px; color: var(--c-orange); }

.auto-hero__title { font-weight: 900; font-size: 50px; line-height: 1.08; text-wrap: balance; }
.auto-hero__lead { font-size: 20px; line-height: 1.65; color: #a9a9a9; text-wrap: pretty; }
.auto-hero__actions { display: flex; align-items: center; gap: 16px; margin-top: 4px; }

/* ---- Hero-mock: takenlijst 's nachts ---- */
.auto-mock { position: relative; margin-top: 16px; }
.auto-mock::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 26px;
  background: radial-gradient(circle at 25% 20%, rgba(228, 0, 58, 0.16), transparent 60%);
  filter: blur(28px);
}
.auto-mock__card {
  position: relative;
  background: rgba(19, 19, 19, 0.92);
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  padding: 28px 40px 32px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auto-mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.auto-mock__label { font-family: monospace; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #8a8175; }
.auto-mock__time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: monospace;
  font-size: 13px;
  font-weight: 600;
  color: #f5b661;
  border: 1px solid rgba(243, 146, 0, 0.35);
  border-radius: var(--r-pill);
  padding: 6px 14px;
}
.auto-mock__time .material-symbols-outlined { font-size: 16px; color: var(--c-orange); }
.auto-mock__row { display: flex; align-items: center; gap: 14px; padding: 15px 2px; border-top: 1px solid #1e1e1e; }
.auto-mock__row:first-of-type { border-top-color: #262626; }
.auto-mock__check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(53, 184, 105, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.auto-mock__check .material-symbols-outlined { font-size: 17px; color: #35b869; }
.auto-mock__task { font-size: 15.5px; color: #ddd; font-weight: 500; }
.auto-mock__status { margin-left: auto; font-family: monospace; font-size: 13px; color: #7ee0a1; }

/* ---- Nummering en koppen (01 t/m 04) ---- */
.auto-num { font-family: monospace; font-size: 20px; font-weight: 600; color: var(--c-red); }
.auto-h2 { font-weight: 800; font-size: 30px; }

/* ---- 01 · Herkenning ---- */
.auto-recognize { padding: 56px var(--pad-x) 8px; }
.auto-recognize__inner { max-width: 864px; margin: 0 auto; }
.auto-recognize__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.auto-recognize__head .auto-num { color: var(--c-orange); }
.auto-recognize__lead { font-size: 18px; line-height: 1.7; color: #a9a9a9; margin: 0 0 22px; text-wrap: pretty; }
.auto-recognize__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.auto-recognize__card { padding: 24px 28px; display: flex; gap: 16px; align-items: flex-start; }
.auto-recognize__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(243, 146, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auto-recognize__icon .material-symbols-outlined { font-size: 22px; color: var(--c-orange); }
.auto-recognize__text { font-size: 16px; line-height: 1.65; color: #c9c9c9; }

/* ---- 02/03/04 · detailsecties (licht) ---- */
.auto-detail { margin-top: 56px; padding: 72px var(--pad-x); }
.auto-detail__inner { max-width: 864px; margin: 0 auto; display: flex; flex-direction: column; gap: 64px; }
.auto-detail__block { display: flex; flex-direction: column; gap: 18px; }
.auto-detail__block--aanpak { gap: 26px; }
.auto-detail__block--divider { border-top: 1px solid #e8e2d8; padding-top: 56px; }
.auto-detail__head { display: flex; align-items: baseline; gap: 16px; }
.auto-detail__lead { font-size: 18px; line-height: 1.8; color: #4a453e; margin: 0; text-wrap: pretty; }

/* Checklijst met groen vinkje (02 en 03) */
.auto-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 4px; }
.auto-checks__row { display: flex; gap: 12px; align-items: flex-start; }
.auto-checks__row .material-symbols-outlined { font-size: 20px; color: #2e7d4f; margin-top: 1px; flex: 0 0 auto; }
.auto-checks__row span:last-child { font-size: 16px; line-height: 1.6; color: #3a332c; }

/* ---- 03 · AI-automatisering (speerpunt) ---- */
.auto-ai__frame {
  position: relative;
  border-radius: 20px;
  padding: 1.5px;
  background: var(--grad);
  box-shadow: 0 24px 60px rgba(228, 0, 58, 0.15);
}
.auto-ai__card { background: #fff; border-radius: 18.5px; padding: 40px 44px; display: flex; flex-direction: column; gap: 18px; }
.auto-ai__head { display: flex; align-items: center; gap: 14px; }
.auto-ai__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b3763a;
  background: rgba(243, 146, 0, 0.1);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-left: auto;
}
.auto-ai__badge .material-symbols-outlined { font-size: 15px; color: var(--c-orange); }

/* ---- 04 · aanpak verkort ---- */
.auto-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
/* Lijn loopt exact van het midden van bolletje 1 (18px padding + 22px halve bol) tot het midden van bolletje 4 */
.auto-steps::before { content: ""; position: absolute; top: 21px; left: 40px; right: calc(25% - 40px); height: 1.5px; background: linear-gradient(90deg, #e4003a, #f39200); }
.auto-step { display: flex; flex-direction: column; gap: 12px; padding: 0 18px; position: relative; }
.auto-step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: monospace;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(228, 0, 58, 0.3);
}
.auto-step__title { font-weight: 800; font-size: 19px; }
.auto-step__desc { font-size: 14.5px; line-height: 1.65; color: #6b6157; margin: 0; }

/* ---- Caseblokken (donker) ---- */
.auto-cases { padding: 64px var(--pad-x); }
.auto-cases__grid { max-width: 864px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.auto-case {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 32px;
  text-decoration: none;
  color: inherit;
}
.auto-case__mark { position: absolute; top: -60px; right: -20px; font-size: 210px; line-height: 1; color: rgba(255, 255, 255, 0.03); pointer-events: none; }
.auto-case__kicker { font-family: monospace; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #8a8175; }
.auto-case__title { font-weight: 800; font-size: 21px; line-height: 1.25; color: #fff; text-wrap: balance; }
.auto-case__desc { margin: 0; font-size: 14.5px; color: #a9a9a9; line-height: 1.6; flex: 1; }
.auto-case__link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 14px; font-weight: 700; color: var(--c-orange); margin-top: 4px;
  padding-bottom: 3px; border-bottom: 1.5px solid transparent; transition: border-color 0.25s ease;
}
.auto-case__link .material-symbols-outlined { font-size: 17px; }
/* Hover op het hele caseblok: één doorlopende lijn onder tekst én pijl, zonder hoogtesprong */
.auto-case:hover .auto-case__link { border-bottom-color: var(--c-orange); }

/* Footer-eyebrow boven de titel: pagina-specifieke tekst, niet in de sitewide footer */

/* =================== Tablet (834) =================== */
@media (max-width: 1080px) {
  .auto-hero__title { font-size: 38px; }
  .auto-hero__lead { font-size: 18px; }

  .auto-recognize__lead { font-size: 17px; }

  .auto-h2 { font-size: 26px; }
  .auto-detail__lead { font-size: 17px; }

  .auto-ai__card { padding: 32px 34px; }
  .auto-ai__head { flex-wrap: wrap; }

  .auto-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
  .auto-steps::before { display: none; }
  .auto-step { padding: 0; }
}

/* =================== Mobiel (390) =================== */
@media (max-width: 700px) {
  .auto-hero { padding: 42px var(--pad-x) 8px; }
  .auto-hero__title { font-size: 28px; }
  .auto-hero__lead { font-size: 16.5px; }
  .auto-hero__actions { flex-direction: column; align-items: stretch; }

  .auto-mock__card { padding: 22px 20px 24px; }
  .auto-mock__task { font-size: 15px; }

  .auto-recognize { padding-top: 40px; }
  .auto-recognize__lead { font-size: 16px; }
  .auto-recognize__grid { grid-template-columns: 1fr; }
  .auto-recognize__card { padding: 20px 22px; }

  .auto-detail { margin-top: 32px; padding-top: 54px; padding-bottom: 54px; }
  .auto-detail__inner { gap: 40px; }
  .auto-detail__block--divider { padding-top: 40px; }
  .auto-h2 { font-size: 23px; }
  .auto-detail__lead { font-size: 16px; }

  .auto-checks { grid-template-columns: 1fr; }

  .auto-ai__card { padding: 26px 22px; }
  .auto-ai__head { gap: 10px; }
  .auto-ai__badge { margin-left: 0; }

  .auto-steps { grid-template-columns: 1fr; gap: 24px; }

  .auto-cases { padding-top: 54px; padding-bottom: 54px; }
  .auto-cases__grid { grid-template-columns: 1fr; }
  .auto-case { padding: 26px 24px; }
}
